Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Forum
Help
Search
Login
Register
News
:
November 22, 2008, 03:56:24 pm
RSGallery2 Support Forums
RSgallery2 support forums
Display and Templates
(Moderators:
Jonah
,
Tomislav Ribicic
,
Daniel Tulp
,
Ronald Smit
)
Change amount of random images
« previous
next »
Topic Tools
Search this topic
Pages
1
Author
Topic: Change amount of random images (Read 2999 times)
«
on:
November 27, 2006, 07:46:01 am »
Premier
Newbie
Posts: 4
Change amount of random images
Is there a way I can change the amount of random images to 6 instead of 3. The same for the latest image as well. I've searched with no luck. Also can I file name display above these images?
Logged
Reply #1
«
on:
November 27, 2006, 10:52:28 am »
Premier
Newbie
Posts: 4
Re: Change amount of random images
Well I figured this one out
To change it do the following:
edit config.rsgallery2.php
look for '
ORDER BY rand() limit 3");
'
Change it to
ORDER BY rand() limit 6");
Change "
ORDER BY file.date DESC limit 3");
(A few lines below)
tp '"
ORDER BY file.date DESC limit 6");
'
Anyone have a clue about how to add date, uploader and filename categories beside the thumbnail?
Logged
Pages
1
« previous
next »
Jump to:
Please select a destination:
-----------------------------
RSgallery2 support forums
-----------------------------
=> RSgallery2 bugs & problems
===> Resolved Issues
===> Known Issues
=> Features
=> Display and Templates
=> RSgallery2 modules and plugins (mambots)
-----------------------------
RSGallery2
-----------------------------
=> General discussion
=> Gallery Showcase
=> Template directory
=> Meta Forum
=> Duplicate Threads
-----------------------------
Language translations
-----------------------------
=> General language and translation questions
=> Chinese
=> Danish
=> Dutch
=> English
=> French
=> German
=> Greek
=> Polish
=> Spanish
=> Other languages
-----------------------------
Developers corner
-----------------------------
=> Developer Lobby
=> Nightly Builds for RSGallery2 in Joomla 1.5
=> J15Backport [Closed]
=> Nightly Builds for RSGallery2 Legacy, J1.5 or J1.0 - Now Reopened!
Print
Advanced search
Powered by SMF 1.1 RC3
|
SMF © 2001-2006, Lewis Media
Pn-Pn Theme by koni.
Loading...