This is a discussion on Add newlisting on index page within the v3.1 Modules & Modifications forums, part of the v3.1 Legacy Help & Support category; Hi, may I know how to add the Latest 10 listing to my index page ? just below the featured ...
|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Hi, may I know how to add the Latest 10 listing to my index page ? just below the featured listing?
|
|
#2
|
||||
|
||||
|
Quote:
__________________
© 2007 68 Classifieds - A division of 68 Designs, LLC - v4.0.3 Developer ![]() Another 68C site ; ikinci el kamyonlar |
|
#3
|
||||
|
||||
|
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 68 Classifieds Important Links Customer Area | Issue Tracker | Knowledge Base | User Manuals |
|
#4
|
|||
|
|||
|
How do I add this plug in ? Do I paste the code in the layout.tpl file?
sorry im not so familiar with PHP
|
|
#5
|
||||
|
||||
|
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"'}
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 68 Classifieds Important Links Customer Area | Issue Tracker | Knowledge Base | User Manuals |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Sitemap Module - Index Page Not Included | bowers01 | v4 Questions & Support | 0 | 08-11-2008 07:03 AM |
| Change Template on Index page for users | Soleiltan | v4 Questions & Support | 10 | 03-15-2008 09:01 PM |
| index page | Jessej | v3.0 Questions & Support | 1 | 01-22-2008 09:40 AM |
| can I run scripts in an content page? | dawyatt | v3.1 Questions & Support | 11 | 06-22-2007 03:50 PM |
| Problem getting page title | flyingpylon | v3.1 Questions & Support | 5 | 10-19-2006 02:15 PM |