Support Forums

Old 08-27-2008, 12:28 AM   #1
Junior Member
 
Join Date: Aug 2008
Posts: 2
Rep Power: 0
baukiki is on a distinguished road
Default Add newlisting on index page

Hi, may I know how to add the Latest 10 listing to my index page ? just below the featured listing?
baukiki is offline   Reply With Quote
Old 08-27-2008, 05:57 AM   #2
Member
 
Fatih67's Avatar
 
Join Date: Jun 2008
Location: TURKEY
Posts: 48
Rep Power: 4
Fatih67 is on a distinguished road
Default

Quote:
Originally Posted by baukiki View Post
Hi, may I know how to add the Latest 10 listing to my index page ? just below the featured listing?
Nice idea
__________________
� 2007 68 Classifieds - A division of 68 Designs, LLC - v4.0.3 Developer
Another 68C site ; ikinci el kamyonlar
Fatih67 is offline   Reply With Quote
Old 08-27-2008, 08:31 AM   #3
Moderator
 
 
Join Date: Mar 2006
Posts: 4,118
Rep Power: 101
Lhotch is just really niceLhotch is just really nice
Default

use the smarty plugin function.new_listings.php. Its just like the plugin on your home template that displays featured listings but it displays new listings.
__________________
Larry.
(Please note: I am not a 68C employee. I am a customer and volunteer who helps with questions where I can and the forums spam free)

Set your site apart from the competition with one of my modules......
Google Map Module | You Tube Module | Google Calendar Module | Event Calendar Module

68 Classifieds Important Links
Customer Area | Issue Tracker | Knowledge Base | User Manuals
Lhotch is offline   Reply With Quote
Old 08-28-2008, 12:44 AM   #4
Junior Member
 
Join Date: Aug 2008
Posts: 2
Rep Power: 0
baukiki is on a distinguished road
Default

How do I add this plug in ? Do I paste the code in the layout.tpl file?

sorry im not so familiar with PHP
baukiki is offline   Reply With Quote
Old 08-28-2008, 08:32 AM   #5
Moderator
 
 
Join Date: Mar 2006
Posts: 4,118
Rep Power: 101
Lhotch is just really niceLhotch is just really nice
Default

No, the layout.tpl.php file is the sites header, nav an footer. If you want it to appear on just the home page you would add it to just that template that makes up the body ie home.tpl.php.

look at your home.tpl.php file and at the bottom you will see this....

Code:
{* Featured Listings *}
<br />
{feature_listings_horizontal number=8 cols=3 table_attr='width="100%" style="border: 1px solid #000;"' td_attr='valign="middle" align="left"'}
in curly brackets you can see the feature_listings_horizontal smarty plugin is being called. You would add the smarty plugin function.new_listings.php to display new listings just like above.

Code:
{function.new_listings.php  number=8 cols=3 table_attr='width="100%" style="border: 1px solid #000;"' td_attr='valign="middle" align="left"'}
__________________
Larry.
(Please note: I am not a 68C employee. I am a customer and volunteer who helps with questions where I can and the forums spam free)

Set your site apart from the competition with one of my modules......
Google Map Module | You Tube Module | Google Calendar Module | Event Calendar Module

68 Classifieds Important Links
Customer Area | Issue Tracker | Knowledge Base | User Manuals
Lhotch is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sitemap Module - Index Page Not Included bowers01 v4 Questions & Support 0 08-11-2008 06:03 AM
Change Template on Index page for users Soleiltan v4 Questions & Support 10 03-15-2008 08:01 PM
index page Jessej v3.0 Questions & Support 1 01-22-2008 08:40 AM
can I run scripts in an content page? dawyatt v3.1 Questions & Support 11 06-22-2007 02:50 PM
Problem getting page title flyingpylon v3.1 Questions & Support 5 10-19-2006 01:15 PM


All times are GMT -4. The time now is 07:51 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0