Quote:
|
I just get the following when I navigate to http://www.mysite.com/test.php
'test')); eval('$navbar = "' . fetch_template('navbar') . '";'); // spit out template eval('print_output("' . fetch_template('test') . '");'); ?> Any Ideas? |
You've done something wrong. I suggest you redo it all and make sure you are using a plain text editor when creating the php file. like notepad.
|
Quote:
Another question if you don't mind... Please forgive me if my terminology is not perfect. I see that I can set values in the // ###### YOUR CUSTOM CODE GOES HERE ##### area and the register them for use by the template in the // ###### NOW YOUR TEMPLATE IS BEING RENDERED ###### area. However, I want to display the output from some php code. Is there a way to add the code and set it's value for template use? Or I guess, in other words, is there a way to run a php script and display it's output within the template? |
Quote:
|
Worked beautifully. Thank you Lynne :)
|
Excellent. I was able to make a very nice Privacy Statement rather than the pdf file I had before.
|
Hello,
Can anyone tell me how we view the page we have created, we followed all instructions but have no idea how to view the page. Please help?? |
Quote:
|
Hello Lynne,
Thanks for response, tried that this is what I get, sorry I am a technical idiot Mark Parse error: syntax error, unexpected T_STRING in /var/www/clients/client11/web26/web/custom.php on line 3 |
All times are GMT. The time now is 08:51 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|