Quote:
Originally Posted by mandingo
How would I add my forum's sidebar,getting kinda stuck,brain turning to spaghetti.
a nudge in the right direction may be all I need.
|
I have no idea how to add sidebars. That is a template thing and you can probably find a tutorial or mod that will show you the code to add to your template to do that.
Quote:
Originally Posted by SuperGLS
Couple questions about this one.
When I try to add any HTML code underneath the ###Your Custom Code Goes Here### section I get this error.
Parse error: syntax error, unexpected '<' in /home/elantrax/public_html/forums/cotm.php on line 41
When I just add regular text underneath the ###Your Custom Code Goes Here### section it only displays the word "text" no matter what I have typed in.
Here's the URL. Everything else seems to be working fine.
http://www.elantraxd.com/forums/cotm.php
|
You don't just add text in a php file. You need to assign it to a variable and then out put the variable in the template. Or, just put the text in the template.
Quote:
Originally Posted by simon157
Hi, could someone please, please help me as I'm struggling adding code containing php code to my template. It's driving me nuts !! The code I want to add is the following so it loads within the forum environment, but I'm completely stuck...
Hope you can help
Simon
|
You do not put php in templates. You put the php in the php page and then assign the output to a variable and put the variable in the template. Don't forget to register the variable for use in the template first.