blok-random Coppermine jak?

Konfiguracja pozostałych skryptów.
adaszko
Posty: 5
Rejestracja: 13 cze 2010, 11:08:44
Płeć: Niewybrana
User Agent: Internet Explorer Windows 1024x768

blok-random Coppermine jak?

Post autor: adaszko »

Czy ktoś opanuje to ?jak ustawić te bloki losowe ,chodzi mi aby dodać ich lika zamiast 1 go jak w standardowym ustawieniu w tym pliku codebase.php
jest to plugin do Copermines Random block

Dziękuje za pomoc
bosopopiasq
Płeć: Niewybrana
User Agent: Firefox Windows 1024x768

Re: blok-random Coppermine jak?

Post autor: bosopopiasq »

Kod: Zaznacz cały

// ------------------------------------------------------------------------------------------------
// Configuration Options - only modify the lines in this block
// ------------------------------------------------------------------------------------------------

   define('RANDSEL_ALBUMS','');    // '' is the default and will allow use of the config panel.
                                   // Any non-blank setting here will replace the config setting.
                                   // Use comma-separated list of AIDs (album IDs).
                                   // For example, '1,5,12' will select albums 1,5, and 12.

   define('RANDSEL_CONFIG',true);  // true: Show config button on the admin toolbar.
                                   // false: Don't show config button (if you set albums above)

// ------------------------------------------------------------------------------------------------
// End of configuration options
// ------------------------------------------------------------------------------------------------  
Ten kod powyższy zamień na :

Kod: Zaznacz cały

// ------------------------------------------------------------------------------------------------
// Configuration Options - only modify the lines in this block
// ------------------------------------------------------------------------------------------------

   define('RANDSEL_ALBUMS','1,7,15');    // '' is the default and will allow use of the config panel.
                                   // Any non-blank setting here will replace the config setting.
                                   // Use comma-separated list of AIDs (album IDs).
                                   // For example, '1,5,12' will select albums 1,5, and 12.

   define('RANDSEL_CONFIG',true);  // true: Show config button on the admin toolbar.
                                   // false: Don't show config button (if you set albums above)

// ------------------------------------------------------------------------------------------------
// End of configuration options
// ------------------------------------------------------------------------------------------------  
gdzie 1,7,15 to aid (album ID - numer albumu) i tam wstawisz id albumów nie za dużo bo bedzie sie długo ładować 3 jest OK
adaszko
Posty: 5
Rejestracja: 13 cze 2010, 11:08:44
Płeć: Niewybrana
User Agent: Internet Explorer Windows 1024x768

Re: blok-random Coppermine jak?

Post autor: adaszko »

WOW dziekie slicznie,działak jak należy
Pozdrawiam :)
ODPOWIEDZ