Album list not showing in the main page. Album list not showing in the main page.
 

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

Main Menu

Album list not showing in the main page.

Started by morgue, April 06, 2007, 04:05:06 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

morgue

The content of the main page seems to be fine, it says
breadcrumb/catlist/alblist/random,2/lastup,2

When I tried alblist by itself, nothing was showing... any clue?

Joachim Müller

As suggested in the documentation, you need alblist and catlist:
QuoteUnless you really know what you are doing you should always keep catlist and alblist in "the content of the main page", as they make up the core parts of the index page or any gallery site, for that matter.

morgue

Quote from: GauGau on April 06, 2007, 12:35:19 PM
As suggested in the documentation, you need alblist and catlist:

Yeah they are both there right now and it's not showing the album list. What I meant was that I tried alblist by itself to see if it would show because it wasn't showing any albums, and nothing came up.

Right now it has the whole default thing breadcrumb/catlist/alblist/random,2/lastup,2, and everything is showing up fine but the alblist

Joachim Müller



morgue


morgue

I found out that it shows the albums that are -not- inside categories, like I just did right now.

Joachim Müller

It seems that you don't have categories set up. All your albums appear to reside within the root category. Are you 100% sure that you actually have categories?

morgue

Not right now, I had to delete the categories in order to be able to show all the albums, I am creating now so next time you visit the site you can see no albums show below it (and they should)

morgue

Did you see? I think it's related to the theme because I installed from scratch and as soon as I installed the theme I'm using, the album list stopped showing

Joachim Müller

Works as expected for me: there is a category (being displayed on the gallery's start page) that contains an album

Did you read the announcement thread for the theme "i-feel-dirty" that you are using? There are some settings in the theme that override config setting. If you don't want the theme to override your default settings, remove the corresponding lines in themes/i-feel-dirty/theme.php:
Quote from: Gizmo on November 03, 2006, 09:16:28 PM
$CONFIG['max_film_strip_items'] = 4; //overrides the number of thumbnails.
$CONFIG['thumbcols'] = 4; //overrides the number of columns for thumbnails.
$CONFIG['main_table_width'] = '100%'; //overrides the Width of the main table (pixels or %).
$CONFIG['picture_table_width'] = '100%'; //overrides the Width of the table for file display (pixels or %).
$CONFIG['album_list_cols'] = 3; // sets "Number of columns for the album list = 3"
$CONFIG['first_level'] = 0; //sets "Show first level album thumbnails in categories = no".

morgue

Thanks man, I changed this line from
$CONFIG['first_level'] = 0; //sets "Show first level album thumbnails in categories = no".

to
$CONFIG['first_level'] = 1; //sets "Show first level album thumbnails in categories = no".

and it worked fine, it seems to be like it didn't brake anything on the theme, if something happens I'll update this thread for future reference.

:D

Joachim Müller

You could as well have deleted that line. If you do, the config setting isn't being overridden and the setting from the config is being taken into account.