coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: GH on October 02, 2008, 06:58:56 PM

Title: changing menu cos: 2 menu points not available when not logged in ?
Post by: GH on October 02, 2008, 06:58:56 PM
Having terminated all my mods of template cos I wonder why two of my menu points did not display when I logout, here are the modifications on theme.php, it concerns the album list points:

// HTML template for sub menu
$template_sub_menu = <<<EOT
  <ul>
<!-- BEGIN custom_link -->
  <li class="syslvl"><a href="{CUSTOM_LNK_TGT}" title="{CUSTOM_LNK_TITLE}">{CUSTOM_LNK_LNK}</a></li>
<!-- END custom_link -->
<!-- BEGIN album_list -->
    <li class="syslvl"><a href="./thumbnails.php?album=4" title="Nos photographies">Nos photographies</a></li>
    <li class="syslvl"><a href="./index.php?cat=6" title="Auteurs A-Z ">Auteurs A-Z</a></li>
<!-- END album_list -->
    <li class="syslvl"><a href="./thumbnails.php?album=3" title="Expositions actuelle">Expositions actuelle</a></li>
    <li class="syslvl"><a href="./index.php?cat=2" title="Expositions A-Z">Expositions A-Z</a></li>
    <li class="syslvl"><a href="./index.php?file=minicms/cms&conid=9&type=1" title="Qui sommes-nous">Qui sommes-nous</a></li>
    <li class="syslvl"><a href="./index.php?file=minicms/cms&conid=8&type=1" title="Common acheter">Common acheter</a></li>
    <li class="syslvl"><a href="./index.php?file=minicms/cms&conid=10&type=1" title="Contact">Contact</a></li>
    <li class="syslvl"><a href="{SEARCH_TGT}" title="{SEARCH_LNK}">{SEARCH_LNK}</a></li>
  </ul>


originally, the  list looks as this:
// HTML template for sub menu
$template_sub_menu = <<<EOT
  <ul>
<!-- BEGIN custom_link -->
  <li class="left"><a href="{CUSTOM_LNK_TGT}" title="{CUSTOM_LNK_TITLE}">{CUSTOM_LNK_LNK}</a></li>
<!-- END custom_link -->
<!-- BEGIN album_list -->
    <li class="left"><a href="{ALB_LIST_TGT}" title="{ALB_LIST_TITLE}">{ALB_LIST_LNK}</a></li>
<!-- END album_list -->
    <li class="left"><a href="{LASTUP_TGT}" title="{LASTUP_LNK}">{LASTUP_LNK}</a></li>
    <li class="left"><a href="{LASTCOM_TGT}" title="{LASTCOM_LNK}">{LASTCOM_LNK}</a></li>
    <li class="left"><a href="{TOPN_TGT}" title="{TOPN_LNK}">{TOPN_LNK}</a></li>
    <li class="left"><a href="{TOPRATED_TGT}" title="{TOPRATED_LNK}">{TOPRATED_LNK}</a></li>
    <li class="left"><a href="{FAV_TGT}" title="{FAV_LNK}">{FAV_LNK}</a></li>
    <li class="left"><a href="{SEARCH_TGT}" title="{SEARCH_LNK}">{SEARCH_LNK}</a></li>
  </ul>

EOT;


link to my site: http://hoffmann07.fr/g

I saw this issue now the first time, may be there is a relationship with the modification of the navbar (to hide the display file button) but I went back to the normal button function due to this here.

Any idea??
Title: Re: changing menu cos: 2 menu points not available when not logged in ?
Post by: GH on October 02, 2008, 07:22:13 PM
Sorry, sorry, I forgot that I had installed just befor final extract 2.3. but without configuring it, and surely the manual links and the final extract made these trouble for me, after suppression of final ectract everything was fine !!
Title: Re: changing menu cos: 2 menu points not available when not logged in ?
Post by: Joachim Müller on October 03, 2008, 07:40:09 AM
In the future, please use the bbcode buttons on this forum that are provided to make code more readable. In the future, please resolve your thread not only by replying to it with the answer, but tag your initial reply with the "solved" icon by clicking on the little checkmark button in the upper right section of your initial posting, see http://forum.coppermine-gallery.net/index.php/topic,55415.msg270631.html#msg270631
I did both things for you.
Title: Re: changing menu cos: 2 menu points not available when not logged in ?
Post by: GH on October 03, 2008, 12:02:48 PM
ok, thank you!