K
|
karmacomposer author 12/20/2010 |
This should be a simple one. I want to put a graphic button on a list page with a URL link (to go to a website-based main menu). I have tried putting one all over the place on a list page and it NEVER shows up in the database. I do not want it in the header or footer since it will be different for every list page. What can I do to make this happen? Mike
|
K
|
karmacomposer author 12/20/2010 |
Anyone? I need to figure out the code part - not how to import a graphic - that's easy. Right now, I have it as a custom button in the LIST pages in the visual editor. The button's server code is as follows: //** Redirect to another page **** header("Location: http://www.website.com/documents/webpage.html"); exit(); However, it does not do that. It just hangs on "Connecting to Server . . ." which is the Client Before section of the custom button. I assume, therefore, that the code does not go there. I do know that the code works, because I am using it, as is, in several sections of the visual editor, in the AFTER RECORD ADDED section of certain sections of the database. So, why cannot I use that as a custom button? Is it because it's js code and not php code? I tried it in the js sections of the button (Client Before and Client After) and it does nothing but sit there. Thanks for any help. I really need to get this working. Mike
|