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: Album links in index.php  (Read 5618 times)

0 Members and 1 Guest are viewing this topic.

Gaurav

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Album links in index.php
« on: October 31, 2005, 06:52:02 am »

Hi,

I am not sure if someone has done that before or not, but I would like to change the way default coppermine theme looks like.

On the index page, instead of the categories and their albums' thumbnails, I would like to show thumbnail of the first album, and text links for the rest of the 4-5 albums. It is something like "Entertainment" or "Buzz log" sections at http://www.yahoo.com

I understand that the function get_cat_list($cat_data, $statistics); handles the display in the index.php, so I created another function, which would display what I want, but it is displayed at the top of the page. Is there a document which would tell me how to port the contents from that function to a theme, so that I can replace contents from get_cat_list() to my function. I am not using the variables like CAT_TITLE etc.

Thanks for any help.
« Last Edit: January 21, 2006, 07:36:51 am by GauGau »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Album links in index.php
« Reply #1 on: October 31, 2005, 07:09:33 am »

sorry, no API/function documentation available.
Logged

Gaurav

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Album links in index.php
« Reply #2 on: October 31, 2005, 08:12:23 am »

Thanks for the reply.
Logged

Gaurav

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Change in theme and php code
« Reply #3 on: October 31, 2005, 08:16:48 am »

Hi,

I posted a topic here. I am not sure how to do it. Can you do it for me? I think $20 should be fine for this job, but if you have a different price quote, do let me know.

Thanks!
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Album links in index.php
« Reply #4 on: October 31, 2005, 10:45:03 am »

merged your threads.
Logged
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 20 queries.