forum.coppermine-gallery.net
Support => cpg1.5.x Support => cpg1.5 themes (visuals) => Topic started by: rwhmur on August 08, 2011, 04:22:05 pm
-
Is it possible to move the alblist into the footer?
-
I'm using the "curve" theme at http://weestyles.com/gallery
-
Maybe you can move the {SUB_MENU} token in the template.html? As in http://documentation.coppermine-gallery.net/en/theme_template.htm#theme_template_sub_menu (http://documentation.coppermine-gallery.net/en/theme_template.htm#theme_template_sub_menu)
I like your theme! A modified curve-theme? I am thinking about updating to the curve-theme but would prefer it without curves - with normal corners - like you have. Any chance of contributing the theme (not necessarily with graphics)?
-
Not sure what you mean, but try this:
Config-->The content of the main page--> breadcrumb/catlist/lastup,1/lastcom,1/alblist/
For more information about "The content of the main page" http://documentation.coppermine-gallery.net/en/configuration.htm#admin_album_list_content
This is how I played with this CPG feature http://www.galsh.com/index-43.html
-
Config-->The content of the main page--> breadcrumb/catlist/lastup,1/lastcom,1/alblist/
Profili, I have already put alblist at the end like you suggested, but I want the background of the bottom album list to be a different color and I want it to show up on every page like a normal footer.
Maybe you can move the {SUB_MENU} token in the template.html? As in http://documentation.coppermine-gallery.net/en/theme_template.htm#theme_template_sub_menu (http://documentation.coppermine-gallery.net/en/theme_template.htm#theme_template_sub_menu)
I like your theme! A modified curve-theme? I am thinking about updating to the curve-theme but would prefer it without curves - with normal corners - like you have. Any chance of contributing the theme (not necessarily with graphics)?
Thanks, Nickelas, but won't this move all of the albums? I just want the bottom part that says 45 images... and the different albums to be in the footer. And, yes, once I'm done, I have no problem sharing the theme.
-
If you haven't found the solution yet, please attach a screen-shot with explanations what exactly you want to move to which location.
-
Hopefully this will be clearer. I am hoping to have that little portion show up in the footer of every page.
-
Should be quite easy by using the code from index.php (the list_albums function). If you want to display it below the "Powered by Coppermine" text, you could use it as custom footer. If you want to display it above it, we need to modify e.g. the theme_credits function.
What's your preferred location?
-
I would prefer it above the Powered by...
-
Hey, I think I'm a moron, but I wasn't able to add that function anywhere.
-
It seems that we cannot use that function as-is, unfortunately. It seems that you have to create the code from scratch, as it's not possible out of the box.
-
Oy, so...not possible for a novice like me?
-
As I said, not without some coding effort.
-
Why not hard code something like the following links into a custom footer file?
<tr>
<td>COLLAGE
<p>
<a href="thumbnails.php?album=3" class="albums"><img src="albums/userpics/10001/thumb_westonDino.jpg" class="image" width="50" height="50" border="0" alt="westonDino.jpg"><br></a>
</p>
</td>
<td>
CRAYON
<p>
<a href="thumbnails.php?album=6" class="albums"><img src="albums/userpics/10003/thumb_joelm.jpg" class="image" width="50" height="50" border="0" alt="joelm.jpg"><br></a>
</p>
</td>
<td>
INK / PENCIL
<p>
<a href="thumbnails.php?album=2" class="albums"><img src="albums/userpics/10009/thumb_trick-or-treat-dinos.jpg" class="image" width="50" height="50" border="0" alt="trick-or-treat-dinos.jpg"><br></a>
</p>
</td>
</tr>
The {CUSTOM_FOOTER} comes before the {CREDIT} so it will appear before the "Powered by Coppermine Photo Gallery" line.
-
That would be an option, but it was obviously too easy 8)