Hey all..
I'm fixing up a new theme for my coppermine install and was searching about editing
the things inside {GALLERY} but as I don't understand too much the code and didn't
find what I wanted, I'm now asking Your help.
I've attached a image of the current theme I have underwork (not online/in production)
and drew three arrows to point the items I'd want to resize/edit.
I would like those three items to be equel width to the image "window" itself and the
breadcrumb to contain the navigation as modified in
http://forum.coppermine-gallery.net/index.php?topic=30221.0
but without removing links and ">".
As that post included editing the core files I did not dare to do it.. yet.
Thank You in advance.
- Sami
Zip your custom theme and attach it to your posting (using "additional options" when composing your message)
Quote from: GauGau on March 01, 2007, 07:54:10 AM
Zip your custom theme and attach it to your posting (using "additional options" when composing your message)
Here ya go.
It's basically the plusxl_20 theme with edited template.html and something small in style.css.
Haven't touched theme.php at all as I have absolutely no understanding of it's contents.
There's probably an easy solution to this as I am the one asking :)
Thanks
- Sami
I am also looking to edit some items within the {GALLERY} tag.
For one, I have no idea where to look for the php or template file that this links to. ??? ???
Any help would be appreciative :D
Thank you
James
start your own thread instead of trying to hijack this one.
Got something done by now..
I used the theme.php by Sami (BMossavari) he provided in this post :
http://forum.coppermine-gallery.net/index.php?topic=30221.msg140055#msg140055
After that I've edited the theme.php a bit to add the Info button to the
breadcrumb ja to loose the thumbnails "filmstrip frames".
Here's the edits.
Open up that theme.php.
Adding the Info button.
Find (somewhere around row 600 or so):
<td align="center" valign="middle" class="navmenu" width="48px">
<a href="{PREV_TGT}" class="navmenu_pic" title="{PREV_TITLE}"><img src="{LOCATION}images/prev.gif" border="0px" align="middle" alt="{PREV_TITLE}" /></a>
</td>
Add after that:
<td align="center" valign="middle" class="navmenu" width="48">
<a href="javascript:;" class="navmenu_pic" onclick="blocking('picinfo','yes', 'block'); return false;" title="{PIC_INFO_TITLE}"><img src="{LOCATION}images/info.gif" border="0" align="middle" alt="{PIC_INFO_TITLE}" /></a>
</td>
Removing the filmstrips from above and under the thumbails.
Find (somewhere around row 340 or so):
<tr>
<td valign="top" style="background-image: url({TILE1});"><img src="{TILE1}" alt="" border="0" /></td>
</tr>
And delete that.
some 10 rows below is:
<tr>
<td valign="top" style="background-image: url({TILE2});"><img src="{TILE2}" alt="" border="0" /></td>
</tr>
Delete that too.
and thats it's for the info button and teh filmstrip "frame".
Attached a pic of the current view (partial, so small screen and bad res).
- Sami
(can't seem to be able edit my post)
Few typos in the explanation but not in the code parts.
Everything else is now set, but the width of the breadcrumb itself I
haven't been able to fix to the width of the "image screen".
- Sami