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: Link album directly to intermediate page  (Read 2869 times)

0 Members and 1 Guest are viewing this topic.

ampm24

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Link album directly to intermediate page
« on: February 07, 2008, 04:29:57 pm »

I've searched and read a ton on this forum, and just need to be poined in the right direction.  I see there are mods to skip the intermediate page to go directly to a full size image, but I want to skip the main album page.  Just go directly to the intermediate page when you click on the album name or main thumbnail on the album list page.  I'm not sure if i'm explaining it right, so the page with the URL in my case that ends with /index.php?cat=10003 to go directly to the URL that ends with \displayimage.php?album=5&pos=0.  Basically just skip the page that shows all the thumbnails for photos in the album.  Any way to do this easly.  I'm guessing it's just changing a href tag somewhere right?  I'm not super keen on php.

thanx,
pete
« Last Edit: February 07, 2008, 11:08:02 pm by Nibbler »
Logged

Nibbler

  • Guest
Re: Link album directly to intermediate page
« Reply #1 on: February 07, 2008, 05:46:55 pm »

Copy the functions theme_display_album_list() and theme_display_album_list_cat() from the sample theme.php into your custom theme.php and change

Code: [Select]
'{ALB_LINK_TGT}' => "thumbnails.php?album={$album['aid']}",

to

Code: [Select]
'{ALB_LINK_TGT}' => "displayimage.php?album={$album['aid']}&pos=0",

in both the functions.
Logged

ampm24

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Link album directly to intermediate page
« Reply #2 on: February 07, 2008, 09:54:53 pm »

Perfect.  It works like a charm.  Thank you very much.
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 19 queries.