Log in

View Full Version : adding a link to navbar for photopost


tgunn
05-22-2006, 06:00 PM
cant seem to get this to work and am confused on setting this up
i n the plugins i added this to global start

ob_start();
include('/home/virtual/site2/fst/var/www/html/photopost/index.php');
$includedphp = ob_get_contents();
ob_end_clean();

then i add to the navbar $includedphp right after the calender.

when i actived the plugin my forshow a blank page?
un actived it come back

and i want to call it Photo Gallery where do i put that? or does it take it from the plugin tittle?

Thanks

Tommy

Ntfu2
05-22-2006, 06:33 PM
you dont use hooks to put links in your navbar

If you simply want a link in your nav bar you'll want to add something like

<td class="vbmenu_control"><a href="photopost/index.php" accesskey="9">Photopost Gallery</a></td>


you may need to edit the location of photopost/index.php to meet your needs.

tgunn
05-22-2006, 07:00 PM
dont want to move the index.php that would mess up my photo galley.
i just wantto be able to add external links to the navbar.

Tommy

wow your right i didny have ot move the index.php i just added a ../

<td class="vbmenu_control"><a href="../photopost/index.php" accesskey="9">Photopost Gallery</a></td>

it works!!

thanks so much

Tommy