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

Title: alblist in footer
Post by: rwhmur on August 08, 2011, 04:22:05 pm
Is it possible to move the alblist into the footer?
Title: Re: alblist in footer
Post by: rwhmur on August 09, 2011, 05:58:26 am
I'm using the "curve" theme at http://weestyles.com/gallery
Title: Re: alblist in footer
Post by: nickelas on August 09, 2011, 10:46:26 am
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)?
Title: Re: alblist in footer
Post by: profili on August 09, 2011, 12:51:40 pm
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
Title: Re: alblist in footer
Post by: rwhmur on August 09, 2011, 04:27:58 pm
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.
Title: Re: alblist in footer
Post by: Αndré on August 10, 2011, 05:50:57 pm
If you haven't found the solution yet, please attach a screen-shot with explanations what exactly you want to move to which location.
Title: Re: alblist in footer
Post by: rwhmur on August 11, 2011, 03:14:26 pm
Hopefully this will be clearer. I am hoping to have that little portion show up in the footer of every page.
Title: Re: alblist in footer
Post by: Αndré on August 11, 2011, 04:37:39 pm
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?
Title: Re: alblist in footer
Post by: rwhmur on August 11, 2011, 06:23:21 pm
I would prefer it above the Powered by...
Title: Re: alblist in footer
Post by: rwhmur on August 12, 2011, 03:22:12 pm
Hey, I think I'm a moron, but I wasn't able to add that function anywhere.
Title: Re: alblist in footer
Post by: Αndré on August 12, 2011, 04:30:43 pm
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.
Title: Re: alblist in footer
Post by: rwhmur on August 12, 2011, 04:33:09 pm
Oy, so...not possible for a novice like me?
Title: Re: alblist in footer
Post by: Αndré on August 12, 2011, 04:47:57 pm
As I said, not without some coding effort.
Title: Re: alblist in footer
Post by: artistsinhawaii on August 12, 2011, 11:27:49 pm
Why not hard code something like the following links into a custom footer file?

Code: [Select]
<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.
Title: Re: alblist in footer
Post by: Αndré on August 13, 2011, 01:02:33 am
That would be an option, but it was obviously too easy 8)