Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: alblist in footer  (Read 6113 times)

0 Members and 1 Guest are viewing this topic.

rwhmur

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
alblist in footer
« on: August 08, 2011, 04:22:05 pm »

Is it possible to move the alblist into the footer?
Logged

rwhmur

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
Re: alblist in footer
« Reply #1 on: August 09, 2011, 05:58:26 am »

I'm using the "curve" theme at http://weestyles.com/gallery
Logged

nickelas

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 114
Re: alblist in footer
« Reply #2 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)?
Logged
Human

profili

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 113
Re: alblist in footer
« Reply #3 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
Logged

rwhmur

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
Re: alblist in footer
« Reply #4 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
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.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: alblist in footer
« Reply #5 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.
Logged

rwhmur

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
Re: alblist in footer
« Reply #6 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.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: alblist in footer
« Reply #7 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?
Logged

rwhmur

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
Re: alblist in footer
« Reply #8 on: August 11, 2011, 06:23:21 pm »

I would prefer it above the Powered by...
Logged

rwhmur

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
Re: alblist in footer
« Reply #9 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.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: alblist in footer
« Reply #10 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.
Logged

rwhmur

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
Re: alblist in footer
« Reply #11 on: August 12, 2011, 04:33:09 pm »

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

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: alblist in footer
« Reply #12 on: August 12, 2011, 04:47:57 pm »

As I said, not without some coding effort.
Logged

artistsinhawaii

  • VIP
  • Coppermine addict
  • ***
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 856
    • evj art and photography
Re: alblist in footer
« Reply #13 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.
Logged
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é

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: alblist in footer
« Reply #14 on: August 13, 2011, 01:02:33 am »

That would be an option, but it was obviously too easy 8)
Logged
Pages: [1]   Go Up
 

Page created in 0.025 seconds with 20 queries.