![]() |
![]() |
![]() |
|
|||||||
| Common Questions Latest releases, patches, bugfixes and changes in eSyndiCat Directory Software free version. Feel really frustrated after having spent several hours trying to figure out what went wrong with your directory? Wait no more! Click the link above and post your issues. Right here. Right now. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Join Date: Jan 2009
Posts: 20
![]() |
Is there a way to pull random links to show in a specified location on the front page, or any page for that matter?
__________________
http://rclinks.co.cc |
|
|
|
|
|
#2 |
|
Tech Support
Join Date: Nov 2007
Location: Earth
Posts: 973
![]() |
I have delete common question.
ok. Please do following steps: 1. Edit ./includes/classes/DirListing.php file find code PHP Code:
PHP Code:
find code PHP Code:
Code:
/**Get Random Listing **/
$random_listings = $Listing->getRandom(0, 10, $gDirAccount['id']);
$gDirSmarty->assign_by_ref('random_listings', $random_listings);
3) code for template Code:
{if $random_listings}
<table cellspacing="0" cellpadding="0">
{foreach from=$random_listings item=listing}
{include file="listing-display.tpl"}
{/foreach}
</table>
{/if}
__________________
Best Regards, If you need help just send ticket to HelpDesk For you information: I disabled Private Message. I do not available... PP.S. Admin Panel 2.3 manual is available here http://www.esyndicat.com/docs/ |
|
|
|
|
|
#3 |
|
Join Date: Jan 2009
Posts: 20
![]() |
You, sir, are a genius! Thank you!
One minor change to your instructions. I do not have a file named esynListing.php in my includes/classes directory, the file I edited is named DirListing.php. Other then that it worked great! Thanks again!
__________________
http://rclinks.co.cc |
|
|
|
|
|
#4 |
|
Tech Support
Join Date: Nov 2007
Location: Earth
Posts: 973
![]() |
Oh, Yes you are right. I have inserted name of file from Pro version. I have edit...
__________________
Best Regards, If you need help just send ticket to HelpDesk For you information: I disabled Private Message. I do not available... PP.S. Admin Panel 2.3 manual is available here http://www.esyndicat.com/docs/ |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|