PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Classifieds How do I...? (http://www.photopost.com/forum/classifieds-how-do-i/)
-   -   how to edit (http://www.photopost.com/forum/classifieds-how-do-i/138585-how-edit.html)

gamefowls November 27th, 2008 07:13 PM

how to edit
 
I i want to edit the Menu what file should i edit?


thanks!

Chuck S November 27th, 2008 08:43 PM

I assume you mean menubar?

You can add links to the menubar template via admin edit templates.

gamefowls November 27th, 2008 09:35 PM

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">
&nbsp;$menu2
</td>
<td class="" width="50%" align="right" valign="middle">
$menu&nbsp;
</td>
</tr>
</table>
</td>
</tr>
$ppclose<br />
<!-- END TEMPLATE: menubar.tmpl -->
PPPRINT;

?>

Chuck S November 28th, 2008 08:26 AM

Add any html link you wish near the $menu or $menu2 variables.

gamefowls January 5th, 2009 02:47 PM

if i need to edit the variables $menu,$menu2 what file should i open?

Chuck S January 5th, 2009 02:54 PM

The pp-inc.php file under the function topmenu.

gamefowls January 5th, 2009 03:18 PM

thanks chuck!

Chuck S January 5th, 2009 03:21 PM

Have a good day.

ClayGP April 23rd, 2011 02:16 PM

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)

Chuck S April 23rd, 2011 03:04 PM

The menu code is all defined in that function topmenu as described.

ClayGP April 23rd, 2011 03:05 PM

Right, but if we modify that, it will be over-written when we do an upgrade, correct?

Chuck S April 23rd, 2011 03:19 PM

Yes any file edits you do would be gone thats correct.

ClayGP April 23rd, 2011 03:21 PM

OK. Thank you!

Chuck S April 23rd, 2011 09:19 PM

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


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97