forum.coppermine-gallery.net
Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: mtritt on June 20, 2009, 09:01:58 pm
-
Hi, everyone.
I just installed Coppermine 1.4 and bridged it with MyBB. Everything worked as planned. I'm in the process of modifying the template so it matches my main site and I want to modify the button. Everything I've read so far says to edit theme.php, but it looks like those core items were moved somewhere else and I can't find a post that says where exactly you can edit the submenu.
Also, I want to left/right justify them, remove the little separators, and space them out a little in the box. I've placed them in a box, but would like to do the rest as well. I guess as long as I can find where to edit the menus, I can do this, correct?
Here's a link to what I've done so far so you can see the menu in its own container.
http://www.southfloridacycling.net/gallery/
Thanks, everyone. Glad to be on-board with such a quality product.
-
I did some more poking around and it looks like these are now in themes.inc.php and is shared code for all templates.
-
You need to copy the code from the sample theme into your own theme.php. Don't modify include/themes.inc.php (or any core file) since this will make updating harder in the future.
For example to remove the spacer, add this to your theme.php
$template_sys_menu_spacer = "";
-
Thanks!
I was just about to post that I found the sample/template.php file and tested that it pulls from that file if copied over.
Back on track...
-
Whoop... Just noticed that you posted the bit for the separator. Nice.
If I want to encode a CR/LF into that to place them on separate lines, how would that be done?
-
Either set it to <br /> or redo the menu to use a list instead.
-
Yeah, I just tried throwing an html break in there and it worked and rushed back to post.
I think I'm going to save my posts for when I =really= have a problem.
Thanks, man! Excellent and speedy support!