Please post your issues on the right forum, i 'll anwser you in 24h. Thanks. Please Login before Posting
- Index
- » Extensions Commercial Support
- »
- » Lof CoinSlider random item for...
Lof CoinSlider random item for sobipro item
Lof CoinSlider random item for sobipro item
Hi,
i've a question:
it's possibile to add a function in this module?
I would to view random entri of sobipro...
This is possible only if source of this module is IMAGE,
it's possible to implemente also if source if SOBIPRO?
Thank you!!
Sorry for english.
Re: Lof CoinSlider random item for sobipro item
Hi Mate,
Please try to do as following to add the random function for the module:
- Open the file "sobipro.php" in the folder "modules\mod_lofsobicoinslider\libs\source\sobipro", then find code:
Code:
$query .= " WHERE ( spo.oType ='entry' ) ".$condition ." ORDER BY baseData ASC";
Replace to:
Code:
$query .= " WHERE ( spo.oType ='entry' ) ".$condition ." ORDER BY rand()";
And you need to select all category in the "data source" tab
- Index
- » Extensions Commercial Support
- »
- » Lof CoinSlider random item for...
Board Info
- Board Stats:
- Total Topics:
- 2050
- Total Polls:
- 0
- Total Posts:
- 4480
- Posts this week:
- 7
- User Info:
- Total Users:
- 20547
- Newest User:
- robertwhal19
- Members Online:
- 1
- Guests Online:
- 413
- Most Active Users:
- hatuhn, Nimmzo, Romeo.Tran, panda, luanhna, Mackelito, stavroch, Ewoudv
- Online:
- benimjoomla
Forum Legend:
Topic
New
Locked
Sticky
Active
New/Active
New/Locked
New Sticky
Locked/Active
Active/Sticky
Sticky/Locked
Sticky/Active/Locked






























