PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Pro Support Forums > Photopost Pro How Do I...?

Photopost Pro How Do I...? Wondering how to do things in PhotoPost?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old June 29th, 2007, 08:35 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Jun 2007
Posts: 67
How do i modify the existing menu and add a new one

The default photopost page index.php comes up with 4 menu items on the top - I would like to add a new menu item to the existing - menu that comes with the default photopost - Home Search Register and Login - I would like to add a new menu to the existing 4 - can you help explian and give me the steps on how to do such.


THANKS

Frank H. Shaw
Frank Shaw is offline   Reply With Quote
Old July 3rd, 2007, 10:14 PM   #2 (permalink)
Member
Verified Customer
 
Join Date: Jun 2007
Posts: 67
I found in the forum the following information - please explain to me if this correct in what i am trying to do

The following was found on the forums but is it really what i want to do?

edit your menubar template and on either side of the $menu or $menu2 variables add your new link via html tag.

How do i edit the below to add a new menu to the top of the page ?

default photopost - Home Search Register and Login

Change it to Home Mymenu Search Register and Login
<?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="{$Style['menubarnb']}" width="50%" align="left" valign="middle">
&nbsp;$menu2
</td>
<td class="{$Style['menubarnb']}" width="50%" align="right"valign="middle">
$menu&nbsp;
</td>
</tr>
</table>
</td>
</tr>
$ppclose<br />
<!-- END TEMPLATE: menubar.tmpl -->
PPPRINT;

?>
Frank Shaw is offline   Reply With Quote
Old July 4th, 2007, 04:36 PM   #3 (permalink)
Member
Verified Customer
 
pistebasher's Avatar
 
Join Date: Oct 2005
Posts: 240
<?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="{$Style['menubarnb']}" width="50%" align="left" valign="middle">
&nbsp;$menu2&nbsp;· <span class="medium"><a href="http://www.snowmediazone.com/the_zone/rss.php?type=rss2">RSS Feed</a></span>&nbsp;
</td>
<td class="{$Style['menubarnb']}" width="50%" align="right"valign="middle">
$menu&nbsp;
</td>
</tr>
</table>
</td>
</tr>
$ppclose<br />
<!-- END TEMPLATE: menubar.tmpl -->
PPPRINT;

?>

Gives me an "RSS Feed" option at the end of menu2 (which is the left hand menu). Does that help?
pistebasher is offline   Reply With Quote
Old July 7th, 2007, 11:56 AM   #4 (permalink)
Member
Verified Customer
 
Join Date: Jun 2007
Posts: 67
where is the 4 reguler menus that come up on the right side - that what makes this all so confusing for me - the menus are the following :

Home Search Register and Login

How is the above handle in the first place - i do not see above in your responce the Home Search Regoster and logon menu options that are displayed before a person has logon to the system.

Why and how are they done ?

Lets take this one step at a time !

THANKS

Frank H. Shaw
Frank Shaw is offline   Reply With Quote
Old July 7th, 2007, 04:38 PM   #5 (permalink)
Member
Verified Customer
 
pistebasher's Avatar
 
Join Date: Oct 2005
Posts: 240
The right hand menu is menu, the left hand is menu2 in the template code shown above.

Hence adding

<span class="medium"><a href="http://www.snowmediazone.com/the_zone/rss.php?type=rss2">RSS Feed</a></span>&nbsp;

after menu2 puts an extra option on the menu line after the standard ones. Similar should work for menu on right hand side afaik.
pistebasher is offline   Reply With Quote
Old July 7th, 2007, 09:22 PM   #6 (permalink)
Member
Verified Customer
 
Join Date: Jun 2007
Posts: 67
Ok that was what i was missing - The right hand menu is menu, the left hand is menu2 in the template code shown above.

Home Search Register and Login

Is the right hand menu so - how in the templete menu is handled and how does it deal what the admin menu when the user login as admin - so it really is not just add a menu next to the other menu there needs to be some logic around this - but with out knpwing how it os done in the first place and what files are used to do it - i just aking the correct way to do it?
Frank Shaw is offline   Reply With Quote
Old July 7th, 2007, 09:23 PM   #7 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,802
Hense why I had hinted to add an html link next to the $menu variable in your menubar template
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Add a menu item bdub Photopost Pro How Do I...? 1 April 30th, 2007 07:18 PM
Add link in menu bar redmtnex Classifieds How do I...? 1 March 20th, 2007 08:28 AM
Cannot modify header information / Unable to add cookies bongwater Photopost Pro Installation & Upgrades 1 December 18th, 2006 08:45 AM


All times are GMT -5. The time now is 02:21 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0