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 ...
|
|||||||
|
|
LinkBack | Thread Tools | Display Modes |
|
#11
|
||||
|
||||
|
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) |
|
#12
|
||||
|
||||
|
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) |
|
#13
|
||||
|
||||
|
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 |
|
#14
|
||||
|
||||
|
You can put it in any file you want. Just rap it in
{if $body=='home.tpl'} Show {/if} Nick
__________________
Nick Bowers www.truckandmachinery.com.au www.truckyard.com.au www.factoryyard.com.au www.forestryyard.com.au www.mineyard.com.au www.constructionyard.com.au all linked using 68C 4.09 Developer www.everythingsfree.org www.nickswebhosting.com www.quick-templates.com www.quick-software.com www.biggesttemplatepack.com www.ausproxy.com.au "It's not a bug - it's an undocumented feature." |
|
#15
|
||||
|
||||
|
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 |
|
#16
|
||||
|
||||
|
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) |
|
#17
|
||||
|
||||
|
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 |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
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 |