![]() |
how to edit I i want to edit the Menu what file should i edit? thanks! |
I assume you mean menubar? You can add links to the menubar template via admin edit templates. |
How ? this is the code via edit templates <?php echo <<<PPPRINT <!-- BEGIN TEMPLATE: menubar.tmpl --> $ppopen <tr> <td class="{$Style['menubar']}" width="100%" colspan="2"> <table width="100%" cellpadding="0" cellspacing="0"> <tr> <td class="" width="50%" align="left" valign="middle"> $menu2 </td> <td class="" width="50%" align="right" valign="middle"> $menu </td> </tr> </table> </td> </tr> $ppclose<br /> <!-- END TEMPLATE: menubar.tmpl --> PPPRINT; ?> |
Add any html link you wish near the $menu or $menu2 variables. |
if i need to edit the variables $menu,$menu2 what file should i open? |
The pp-inc.php file under the function topmenu. |
thanks chuck! |
Have a good day. |
Is there an easier way to modify the menubar in 4.2 without modifying the code? The items seem out of order, and the "Forum" link should not be there with vb integration (there is already a tab right above it) |
The menu code is all defined in that function topmenu as described. |
Right, but if we modify that, it will be over-written when we do an upgrade, correct? |
Yes any file edits you do would be gone thats correct. |
OK. Thank you! |
Your welcome enjoy your weekend. |
| All times are GMT -5. The time now is 03:08 AM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0