Support Forums

New listings and featured on home page .. How ?

This is a discussion on New listings and featured on home page .. How ? within the Templates, HTML, CSS, and Design Help forums, part of the General category; hello firstly sory for bad english. I want to show New listings and featured on home page. (with images and ...


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

Reply
 
Thread Tools Display Modes
Old 01-26-2010, 10:58 AM   #1
Member
 
Fatih67's Avatar
 
Join Date: Jun 2008
Location: TURKEY
Posts: 58
Rep Power: 15
Fatih67 is on a distinguished road
Cool New listings and featured on home page .. How ?

hello

firstly sory for bad english.

I want to show New listings and featured on home page. (with images and just title name )

but I want to use Jquerry example because it makes it good to view.
what a bad english

Thank you everybody.
__________________
� 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 01-26-2010, 11:05 AM   #2
curmudgeon
 
Join Date: Mar 2006
Posts: 5,413
Rep Power: 138
Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light
Default

There are default plugins to do this as outlined in the documentation...

Template Plugins - 68 Classifieds

If you insist on jquery (no idea why) then you will have to create your own plugins, you should be able to use the existing ones as examplesto get your started.
__________________
Larry

Knowledge learned is more valuable than knowledge given.
Lhotch is offline   Reply With Quote
Old 01-26-2010, 11:20 AM   #3
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 3,342
Rep Power: 84
seymourjames is a jewel in the rough
Default

Are you talking about the css horizontal listings that we offer?

I include the following so it is clear what you can do with them. Examples of using the horizontal listings plugin as used the on home page (see demo site) to produce listings in a horizontal row.


{css_listings_horizontal type="featured" number="5" category="2"} - 5 featured adverts from category number 2

{css_categories_list number="5"} - 5 random adverts from all categories

{css_listings_horizontal number=3 type="featured" category=$categoryid} - 3 featured adverts from the current category when the variable available.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68C, Version 4 Templates & Modules
Get the Best U.S Hosting, Best U.K Hosting

Last edited by seymourjames; 01-26-2010 at 03:46 PM. Reason: missed that his template is the default
seymourjames is offline   Reply With Quote
Old 01-26-2010, 03:24 PM   #4
Member
 
Fatih67's Avatar
 
Join Date: Jun 2008
Location: TURKEY
Posts: 58
Rep Power: 15
Fatih67 is on a distinguished road
Default

Quote:
Originally Posted by Lhotch
There are default plugins to do this as outlined in the documentation...

Template Plugins - 68 Classifieds

If you insist on jquery (no idea why) then you will have to create your own plugins, you should be able to use the existing ones as examplesto get your started.
I read here. but this is not working. I want to show new listings with ADS photos
__________________
� 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 01-26-2010, 03:30 PM   #5
Member
 
Fatih67's Avatar
 
Join Date: Jun 2008
Location: TURKEY
Posts: 58
Rep Power: 15
Fatih67 is on a distinguished road
Default

@ seymourjames

I read your post but I didint understand.

I dont know where I put these code ? if home.tpl , it doesnt work


I dont understand why it is so hard? I just want to put new listings on my home page with photos.
featured works goods. you can see my site in my signature.

I just want to new listings LIKE featured listings...

sorry for bad english
__________________
� 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 01-26-2010, 03:45 PM   #6
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 3,342
Rep Power: 84
seymourjames is a jewel in the rough
Default

Sorry for confusing the issue with too much information. If you are using our templates then you put this in your template file (home.tpl) {css_listings_horizontal type="new" number="5"}

If you are using another template then there is a standard plugin you can use and described in the link already given.

I did not see your site in the post to check which template you were using. You definitely need this link.

Template Plugins - 68 Classifieds
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68C, Version 4 Templates & Modules
Get the Best U.S Hosting, Best U.K Hosting
seymourjames is offline   Reply With Quote
Old 01-26-2010, 04:28 PM   #7
Member
 
Fatih67's Avatar
 
Join Date: Jun 2008
Location: TURKEY
Posts: 58
Rep Power: 15
Fatih67 is on a distinguished road
Default

Quote:
Originally Posted by seymourjames
Sorry for confusing the issue with too much information. If you are using our templates then you put this in your template file (home.tpl) {css_listings_horizontal type="new" number="5"}

If you are using another template then there is a standard plugin you can use and described in the link already given.

I did not see your site in the post to check which template you were using. You definitely need this link.

Template Plugins - 68 Classifieds
I just added this

{css_listings_horizontal type="new" number="5"}

on my home page.

but I get this error

Fatal error: Smarty error: [in home.tpl line 49]: syntax error: unrecognized tag 'css_listings_horizontal' (Smarty_Compiler.class.php, line 590) in /home/...../public_html/includes/classes/smarty/Smarty.class.php on line 1095

my site is iKiNCi EL KAMYONLAR
thanks seymourjames
__________________
� 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 01-26-2010, 04:32 PM   #8
Customer
 
Join Date: Jan 2010
Posts: 70
Rep Power: 8
metrony is on a distinguished road
Default

Do you know of the syntax that will show a featured listing only if there is at least 1 featured listing available? I'm assuming I would need to wrap an if statement around the following:

{css_listings_horizontal number=5 type="featured" category=$categoryid}

Thanks in advance.
metrony is offline   Reply With Quote
Old 01-26-2010, 05:36 PM   #9
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 3,342
Rep Power: 84
seymourjames is a jewel in the rough
Default

Faith - NO - you do not have this plugin. It is part of the templatecodes system. You need to use the standard plugin which is described in the link which Larry posted and I repeated.

Metrony - {css_listings_horizontal number=5 type="featured" category=$categoryid}

This will only show featured listings if they exist. So if there is one or more it will show. If there are none then it will display a message. This message is defined in the module/templatecodes/language/english.php

If you want it to do nothing (no message) then you will probably be best editing the output in the modules/custom_plugins /plugins/function.css_listings_horizontal.php file to display nothing.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68C, Version 4 Templates & Modules
Get the Best U.S Hosting, Best U.K Hosting
seymourjames is offline   Reply With Quote
Old 01-27-2010, 06:10 AM   #10
Member
 
Fatih67's Avatar
 
Join Date: Jun 2008
Location: TURKEY
Posts: 58
Rep Power: 15
Fatih67 is on a distinguished road
Default

I want to display my new listings like this

I dont want to buy extra modules,
can we write simple code just for new listings like this picture ?


__________________
� 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
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
V4.1.x Carousel for Home Page Featured Items JP2 Designs Modules / Plugins / Modifications 7 06-21-2010 05:12 AM
Modify display of Featured Listings only on home page industrialpost Templates, HTML, CSS, and Design Help 6 06-12-2009 07:33 PM
featured ads home page darkqueen Technical Support 7 06-12-2009 02:13 PM
Having trouble putting Featured Listings on my Home Page michael Templates, HTML, CSS, and Design Help 16 10-17-2008 03:24 PM


All times are GMT -4. The time now is 03:42 PM.


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