changing menu cos: 2 menu points not available when not logged in ? changing menu cos: 2 menu points not available when not logged in ?
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

changing menu cos: 2 menu points not available when not logged in ?

Started by GH, October 02, 2008, 06:58:56 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

GH

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??

GH

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 !!

Joachim Müller

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.