template cos - mod menu changes to vertical instant of rectangular horizontal template cos - mod menu changes to vertical instant of rectangular horizontal
 

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

template cos - mod menu changes to vertical instant of rectangular horizontal

Started by GH, October 03, 2008, 10:15:33 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

GH

it was working fine for a little while, the template cos modified by me, and with my horizontal menu buttons (see attached images and www.hoffmann07.fr/g ), but now I recall the site on remote and it changed for the 2nd time.
(First time I installed instead of the cos modified theme (cos-galerie) the original cos and things became normal)

When I clic on the modified buttons now, the template change from cos-galerie to classic template.

Is there any problem to change the template folder name?

If not, the only difference to before is that I installed EnlargeIt and imageflow and slider. Is there any idea??

GH

in the moment were I added the saved and formerly right working cos template, the menu in the incorrect working cos-galerie template was also working so  as before, what can be the reason of this not from me performed correction? Also, the login was not working well when the template was wrong, it was recognizing my name, bu did not open the next step to me ???

GH

Now I have link adress modifications on theme.php so I presume that there is from coppermine some interaction to these adresses.
Is the way I made these modifications not the right one and how to do correctly?

Here is the code I have to modify into theme.php:


[code// 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="{ALB_LIST_TGT}" 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="./thumbnails.php?album=10" title="Contact">Contact</a></li>
    <li class="syslvl"><a href="{SEARCH_TGT}" title="{SEARCH_LNK}">{SEARCH_LNK}</a></li>
  </ul>

EOT;


on the remote host before there was - and no more good - these adresses:

// 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="{ALB_LIST_TGT}" title="Auteurs A-Z ">Auteurs A-Z</a></li>
<!-- END album_list -->
    <li class="syslvl"><a href="./thumbnails.php?album=12" title="Expositions actuelle">Expositions actuelle</a></li>
    <li class="syslvl"><a href="./index.php?cat=5" title="Expositions A-Z">Expositions A-Z</a></li>
    <li class="syslvl"><a href="./index.php?file=minicms/cms&conid=6&type=1" title="Qui sommes-nous">Qui sommes-nous</a></li>
    <li class="syslvl"><a href="./index.php?file=minicms/cms&conid=7&type=1" title="Common acheter">Common acheter</a></li>
    <li class="syslvl"><a href="./index.php?file=minicms/cms&id=27" title="Contact">Contact</a></li>
    <li class="syslvl"><a href="{SEARCH_TGT}" title="{SEARCH_LNK}">{SEARCH_LNK}</a></li>
  </ul>

EOT;


I see that from minicms there comes for the contact sheet which is only a text link and not associated to an image, once the adresse ="./index.php?file=minicms/cms&id=27" and before there came
href="./thumbnails.php?album=10"

????  any explanations and advices how to do better to avoid this ?????[/

GH