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: Renumber albums OR get category ID from theme.php  (Read 3060 times)

0 Members and 1 Guest are viewing this topic.

artoonie

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 66
Renumber albums OR get category ID from theme.php
« on: July 01, 2007, 02:02:35 am »

I have an itsy problem, and there's two solutions. Can you help me with either? (i only need one)

First solution-Renumber the albums
My albums are sorted alphabetically and i want the first one to be 1, the second 2, and so on.
And user galleries to be at the end of the others.



Second solution-Get category ID
This is probably a lot easier if it's possible. I need to get the category ID of a thumbnail's parent image from theme_display_thumbnails in theme.php, from inside the foreach($thumb_list as $thumb)
eg. $thumb['cat_id'] (but <--that doesnt work)
Logged
Pages: [1]   Go Up
 

Page created in 0.013 seconds with 19 queries.