Having trouble putting Featured Listings on my Home Page

This is a discussion on Having trouble putting Featured Listings on my Home Page within the HTML, CSS, and Design Help forums, part of the General category; Okay I'm starting to understand now. Thing is Larry I want the featured ads to appear only on the homepage ...


Go Back   68 Classifieds Forums > General > HTML, CSS, and Design Help

 
LinkBack Thread Tools Display Modes
  #11  
Old 10-17-2008, 12:40 AM
Senior Member
 
Join Date: Jan 2007
Posts: 254
Rep Power: 13
Default

Okay I'm starting to understand now. Thing is Larry I want the featured ads to appear only on the homepage which is not a template file at all - it's just a plain old html page added, as you say, via the 68C admin.

Surely others have featured or random ads appearing only on the Home Page?

__________________
v4.09 Developer
MKClassifieds


"All truths are easy to understand once they are discovered; the point is to discover them" - Galileo Galilei (1564 - 1642)
Reply With Quote
  #12  
Old 10-17-2008, 12:48 AM
Senior Member
 
Join Date: Jan 2007
Posts: 254
Rep Power: 13
Default

It's home.tpl isn't it? Now I just have to work out how to place that code to make the ads appear on the far left by the side of the 68C added Home Page.

Is that even possible? Will Home Page (html) always be above home (.tpl)?
__________________
v4.09 Developer
MKClassifieds


"All truths are easy to understand once they are discovered; the point is to discover them" - Galileo Galilei (1564 - 1642)
Reply With Quote
  #13  
Old 10-17-2008, 06:24 AM
Moderator
 
Join Date: Mar 2008
Posts: 459
Rep Power: 13
Default

You got it.

The instructions say

The functions should be downloaded and placed in your includes/smarty/plugins directory.

Add this code to your css/style.css file

.feat_width{width:100%;}
.feat{width:116px; height:178px; float:left; padding:12px 8px 5px 8px; margin: 0px 0px 5px 3px; border:#CCCCCC 1px solid; }
.feat_img {width:100%; text-align:center;}
.feat_txt {width:100%; color:#666666; height:50px; overflow: hidden; text-align:center;}
.feat_price {width:100%; color:#185221; font-size:10px; padding-top:15px; text-align:center; }

Then you can place (in this case) the following line into your home.tpl file where you wish it to appear.

{css_feature_listings_horizontal number=6}

If my instructions are not clear enough I would appreciate some feedback. It is often difficult to be totally clear. A lot of people have been to this page.

classifieds scripts
__________________
Version 4.09 - Running A Business In France
french property for sale
french property classifieds
Reply With Quote
  #14  
Old 10-17-2008, 06:28 AM
bowers01's Avatar
Senior Member
 
Join Date: May 2008
Location: Geelong, Victoria, Australia
Posts: 410
Rep Power: 10
Default

You can put it in any file you want. Just rap it in
{if $body=='home.tpl'}
Show
{/if}

Nick
Reply With Quote
  #15  
Old 10-17-2008, 06:38 AM
Moderator
 
Join Date: Mar 2008
Posts: 459
Rep Power: 13
Default

It is best to position it explicitly in the pages (.tpl files) where you want it - much more obvious. Top of home page, middle of home page, at the bottom of the search page, at the top of showlistings, etc.
__________________
Version 4.09 - Running A Business In France
french property for sale
french property classifieds
Reply With Quote
  #16  
Old 10-17-2008, 02:06 PM
Senior Member
 
Join Date: Jan 2007
Posts: 254
Rep Power: 13
Default

Thank you all for your help. I took Seymours code, fiddled with it a bit to suit my site and it looks great! Click the link in my sig'.

For anyone else - definately use home.tpl to display your home page.
__________________
v4.09 Developer
MKClassifieds


"All truths are easy to understand once they are discovered; the point is to discover them" - Galileo Galilei (1564 - 1642)
Reply With Quote
  #17  
Old 10-17-2008, 03:24 PM
Moderator
 
Join Date: Jan 2007
Posts: 833
Rep Power: 27
Default

Tastes Great! Less Filling!

... oh wait, that's something else.

Looks good Michael. Excellent job and glad you got it working.

-Mike
__________________
Mike-N-Tosh
v3.1.10 Developer IndianaPC.org - A community website
Sandbox v4.0, 4.0.1, 4.0.4, 4.0.8

Templates for sale | 68 Classifieds Customizations
Web Hosting | Web Design & Development
I am not a 68C employee, just a user and try to help out
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
Price show up at featured home page need to be off cranko v4 Questions & Support 7 04-08-2008 08:10 AM
Flash player Featured Items on your home page LittleRascal v3.1 Modules & Modifications 3 11-12-2007 06:00 PM
How show up 12 featured listing in home page ? Marcelo HTML, CSS, and Design Help 2 05-01-2007 01:21 AM
Featured ads in home page Marcelo v3.1 Questions & Support 0 04-19-2007 08:49 PM
Featured Listings on Home Page LukeOut v3.0 Questions & Support 9 04-06-2006 04:36 PM


All times are GMT -4. The time now is 12:39 PM.


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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22