This question follows my other question regarding permissions here: http://forum.coppermine-gallery.net/index.php/topic,51815.0.html
Since I don't want people to register, is there a need for 'Login' to be up there, other then for me, the admin to login? I don't want people wondering why 'Login' is up there if they can't login. Maybe there is a way to hide it?
Is it okay to remove 'Last Comments' & 'Top Rated' from the top menu? Leaving only Home, Album List, Last Uploads, Most Viewed and Search, in the menu? With 'HOME' leading to my actual website, not the index page of the gallery?
have a look to the Final extract plugin (http://forum.coppermine-gallery.net/index.php/topic,36605.msg172077.html#msg172077) to do what you want.
The way I tackled this was to produce a default custom theme (with all the unwanted options missing) for general visitors to see. I then also have the Classic theme available which I invoke (..../index.php?theme=classic) when I want the Admin login options.
otherwise, if you have desable the login menu item you can go to the login page with the adress http://www.your_site.com/login.php
Afternoon all,
Brace yourself - newbie question coming. :-\
I've looked at this thread, and at the Final Extract thread, and although, I know the basics, I was hoping someone could give me an answer to a problem I have.
Basically, I wish to add a button to my menu (a link back to my homepage) Could someone tell me which file I need to open and change to achieve this?
Thanks in advance for any help any of you can give.
nothing to do with the final extract plugin and with this thread.
Search the doc for Custom menu link.
Next time open a new thread with your question but before, read the doc an search the board...
Many thanks.
I ask here, because I thought it was relevant to the thread. Didn't want to clutter up the board with another needless topic.
Thanks again.
Quote from: François Keller on April 12, 2008, 08:38:38 AM
have a look to the Final extract plugin (http://forum.coppermine-gallery.net/index.php/topic,36605.msg172077.html#msg172077) to do what you want.
That worked great. Thank you.
But now I notice that 'HOME' is all by itself on the top line with the other links on the bottom and next to home is the "::" spacer. Looks pretty bad for normal users. I assume that fixing this would be in theme.php and I think I've located the area...but I don't want to touch it because I've installed that plugin and I don't want to go messing things up. I'm thinking of just hiding the Home link as well.
Does anybody have other suggestions? Perhaps I should not use the plugin and instead remove the links through the theme.php code?
change the spacer definition in theme.php , by adding or mofifying this code
// HTML template for template sys_menu spacer
$template_sys_menu_spacer ="::";
or delete the {SPACER} token in this code (if the code doesen't exist in your theme.php file, copy/paste it from the sample/theme.php file)
// HTML template for template sys_menu buttons
$template_sys_menu_button = <<<EOT
<!-- BEGIN {BLOCK_ID} -->
<a href="{HREF_TGT}" title="{HREF_TITLE}">{HREF_LNK}</a> {SPACER}
<!-- END {BLOCK_ID} -->
EOT;
Sorry I said that wrong I think. I like the spacer, and I like having it there, I just didn't like the home link on top of all the other links because it looked bad. Its okay though, I just removed the home link.