albums on index.php albums on index.php
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

albums on index.php

Started by nugget, December 14, 2004, 06:11:15 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

nugget

hi!

how can i show albums from only one category on the index.php ?
sorry my english is bad :(


Casper

If you have more than 1 category, you can't.

But you can if you put these albums in 'no category', and change 'show first level albums...' to no.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

nugget

that's my problem... i have 3 categories and i want only show the albums from 1 category.

have nobody an idea ?!

Joachim Müller

Who's ever suppossed to see the files in the other two categories then? What are they good for if they should be hidden under all circumstances, why did you create them in the first place? I can not see the point in your request.

Joachim

nugget

i have 3 category's..one is for partypics..one for own galleries and one for holiday pictures.

my site is about party and events..so i want that users see the partypic albums on the index.php..the albums from the other categories are in the categories..so they are not on index.php..and they albums only show when the user klick on the category

hmmm i can't exlpain it :) can somebody german ? ;)

Tranz

You can do something like that by requiring registration, assigning users to groups, and indicating which group can view which album. Users won't be able to see albums they don't have access to. However, the category will still be listed.

nugget

i want show the pictures to all members.. BUT not on index.php. on index.php theres only the category name. when the user click on it he can see the albums.

only from one category i want to show the albums on index.php.

:D i know i'm a idiot..but please help me :D

Tranz

I guess that's possible if you write a conditional to display the particular categoryid.

nugget


Joachim Müller

If you don't know PHP at all there simply is no easy answer for you. A conditional is an if/then language construct that can be done in various ways, but usually looks like this:if ($variable == 'value we are checking') {
    // do something
}
The secret is to find out what to check and where exactly to insert the code.
In other words: what you're requesting hasn't been done yet, either code it yourself or leave things as they are.

Joachim