![]() |
Yeah, the function is called render_navbar_template. You'll need that code. Put it into your file only rename it (render_navbar_template2 perhaps) and then change your other line:
PHP Code:
|
Eek. Still can't figure it out. Getting this error:
Parse error: syntax error, unexpected T_VARIABLE, expecting '( in "mywebsitestructure" on line 39. Here is the code: Code:
<?php |
You didn't create a new function. You need to copy the *whole* function and then change the name of it.
|
Lynn, thanks for your help. I got it working, miraculously!
|
Glad you did. :)
|
Lynne,
Thanks for the help! Okay so I created a new template navbar2, then I need to place the rendering code INTO that new template? :/ Sorry, again, I am not a coder :( |
You put all your html into the new template. The rendering code is going to go into a plugin - most likely some global_* hook location (or into the page if it is a custom page).
|
All times are GMT. The time now is 03:04 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|