alblist in footer alblist in footer
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

alblist in footer

Started by rwhmur, August 08, 2011, 04:22:05 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

rwhmur

Is it possible to move the alblist into the footer?

rwhmur


nickelas

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
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)?
Human

profili

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

rwhmur

Quote from: profili on August 09, 2011, 12:51:40 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.

Quote from: 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
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.

Αndré

If you haven't found the solution yet, please attach a screen-shot with explanations what exactly you want to move to which location.

rwhmur

Hopefully this will be clearer. I am hoping to have that little portion show up in the footer of every page.

Αndré

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?

rwhmur

I would prefer it above the Powered by...

rwhmur

Hey, I think I'm a moron, but I wasn't able to add that function anywhere.

Αndré

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.

rwhmur

Oy, so...not possible for a novice like me?

Αndré

As I said, not without some coding effort.

artistsinhawaii

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.
Learn and live ... In January of 2011, after a botched stent attempt, the doctors told me I needed a multiple bypass surgery or I could die.  I told them I needed new doctors.

Αndré

That would be an option, but it was obviously too easy 8)