Hi this may seem noob question. how does the TemplateLinkButton work and how would i implament it in the to the script am making instead of using linkbutton and also styleing it with css
sorry inadvance for a noob question
TemplateLinkButton
Re: TemplateLinkButton
I have never used this routine 'yet'.
Looking at the code, if your template has a 'functions.php' file in the template directory it will allow you to call your own function:
TemplateLinkButton($id, $label, $url, $javascript, $target, $enabled);
which will allow you to override the normal link button. The code that you return is then added to the outgoing page.
Greg
Looking at the code, if your template has a 'functions.php' file in the template directory it will allow you to call your own function:
TemplateLinkButton($id, $label, $url, $javascript, $target, $enabled);
which will allow you to override the normal link button. The code that you return is then added to the outgoing page.
Greg
Running a game is like riding a bike ... well it should be!
New Worlds Engine / FunMayhem.com
Helping you get your game concept up and running. Now.
New Worlds Engine / FunMayhem.com
Helping you get your game concept up and running. Now.
- KyleMassacre
- Posts: 573
- Joined: Wed Nov 27, 2013 12:42 pm
Re: TemplateLinkButton
Correct. How the link and submit buttons work is that it checks your current template directory for a functions file and if the Template*(); functions is there it will use that, other wise It will use the default styles which is like a link type text
Re: TemplateLinkButton
right got u now still tryn to get to grips with some the functions with in the engine. thanx for the help
- a_bertrand
- Posts: 1536
- Joined: Mon Feb 25, 2013 1:46 pm
Re: TemplateLinkButton
A good start could be found here:
http://nw-engine.com/index.php?c=extract_doc
http://nw-engine.com/index.php?c=extract_doc
Creator of Dot World Maker
Mad programmer and annoying composer
Mad programmer and annoying composer