Support Forums

Display New Listings On Hompage

This is a discussion on Display New Listings On Hompage within the Technical Support forums, part of the Technical Support Forums category; Hello everyone, I appreciate all the help I've been receiving. Hopefully as I get the hang of things, I'll be ...


Go Back   68 Classifieds Forums > Technical Support Forums > Technical Support

This topic is resolved.

If you have a similar issue that this thread does not address, open a new related support topic.

 
Thread Tools Display Modes
Old 05-28-2008, 02:24 PM   #1
Senior Member
 
outlook's Avatar
 
Join Date: May 2008
Location: California
Posts: 120
Rep Power: 16
outlook is on a distinguished road
Default Display New Listings On Hompage

Hello everyone,

I appreciate all the help I've been receiving. Hopefully as I get the hang of things, I'll be able to provide the same support to someone else.

Anyway, I was wondering if v4 automatically displays new listings on the main page, or do I have to add something to the code? If I have to add to the code, can someone please tell me what and where to add?

Thanks.
outlook is offline  
Old 05-29-2008, 01:29 PM   #2
Senior Member
 
outlook's Avatar
 
Join Date: May 2008
Location: California
Posts: 120
Rep Power: 16
outlook is on a distinguished road
Default

Hi again, I found this similar question but I don't understand what to do next. ..Newest Listing Featured on front Page?

Sorry if this is a "Duh" question, but I honestly don't know what to do with that plugin to achieve my goal. Meaning how do I enable it.

Thanks.
outlook is offline  
Old 05-30-2008, 02:34 AM   #3
Senior Member
 
outlook's Avatar
 
Join Date: May 2008
Location: California
Posts: 120
Rep Power: 16
outlook is on a distinguished road
Default

Pretty please?
outlook is offline  
Old 05-30-2008, 07:59 AM   #4
68 Classifieds Staff
 
Eric Barnes's Avatar
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,489
Rep Power: 135
Eric Barnes is just really nice Eric Barnes is just really nice
Default

You should be able to add this to your template:
{new_listings number=4 cols=3 rows=4}
__________________
Eric Barnes
68 Classifieds Developer
Customer Area | Issue Tracker | Documentation | 68C Mods | 68 @ Twitter | My Modules
Eric Barnes is offline  
Old 05-30-2008, 01:33 PM   #5
Senior Member
 
outlook's Avatar
 
Join Date: May 2008
Location: California
Posts: 120
Rep Power: 16
outlook is on a distinguished road
Default

Oh thank you for the reply, but can you tell me which template?

I tried in the home.tpl right above the "Featured" code, and the layout.tpl in the "content" area but it just displays little tiny boxes. I told you I was a noob with this stuff.

Thanks
outlook is offline  
Old 05-30-2008, 02:15 PM   #6
Senior Member
 
cwp's Avatar
 
Join Date: Jun 2007
Posts: 296
Rep Power: 25
cwp is a jewel in the rough
Default

Quote:
Originally Posted by outlook
Oh thank you for the reply, but can you tell me which template?

I tried in the home.tpl right above the "Featured" code, and the layout.tpl in the "content" area but it just displays little tiny boxes. I told you I was a noob with this stuff.

Thanks
Does your classified database currently have listings?
__________________
Version 4.0.3 Developer
cwp is offline  
Old 05-30-2008, 02:24 PM   #7
Senior Member
 
outlook's Avatar
 
Join Date: May 2008
Location: California
Posts: 120
Rep Power: 16
outlook is on a distinguished road
Default

Hi, Yes...test ones that I created. One is featured and one is regular.

Thanks
outlook is offline  
Old 05-31-2008, 06:11 AM   #8
Customer
 
Join Date: May 2008
Location: Lanzarote/spain
Posts: 71
Rep Power: 15
canariasdata is on a distinguished road
Default

I tried the code...:

{new_listings number=8 table_attr='width="100%"' td_attr='valign="middle" align="left"' img_break="
"}

...that I found somewhere on the forum but the latest entered listing is always missing until a next listing gets entered (than the second newest listing shows top in the list but the latest never shows even if it is active)

Any solution for this bug/behaviour???

And another general question: Is there a list where I can see all the possible features (codes that can be used on the templates). It is very hard to search/browse all the forum threads to find out the possibilities (possible includes/codes) that 68C offers.

king regards,
GregorH
__________________
4.0.3 Developer
canariasdata is offline  
Old 05-31-2008, 09:06 AM   #9
Senior Member
 
cwp's Avatar
 
Join Date: Jun 2007
Posts: 296
Rep Power: 25
cwp is a jewel in the rough
Default

I tried the code...:

{new_listings number=8 table_attr='width="100%"' td_attr='valign="middle" align="left"' img_break="
"}

...that I found somewhere on the forum but the latest entered listing is always missing until a next listing gets entered (than the second newest listing shows top in the list but the latest never shows even if it is active)

Any solution for this bug/behaviour???

There is no solution to the bug.

And another general question: Is there a list where I can see all the possible features (codes that can be used on the templates). It is very hard to search/browse all the forum threads to find out the possibilities (possible includes/codes) that 68C offers.

Put {debug} in your layout.tpl file. It'll give you all of the variables that are pulled on that page.

king regards,
GregorH
__________________
Version 4.0.3 Developer
cwp is offline  
Old 05-31-2008, 10:00 AM   #10
Customer
 
Join Date: May 2008
Location: Lanzarote/spain
Posts: 71
Rep Power: 15
canariasdata is on a distinguished road
Default

Hello cwp,

first thank you for your reply!!

Quote:
Put {debug} in your layout.tpl file. It'll give you all of the variables that are pulled on that page.

hmmm.... but that would mean I already have this variable in my template.

I am more looking for the variable that I COULD use (but don't know they exist!!)

I can't find any of the usable variables/plugins/features in the documentation and if a new user don't browse some of the forum threads they use half of the possible features because we dont know the are there


Quote:
There is no solution to the bug.
This is very frustrating!! What sense does a "Latest ads" module make if the "latest ad" is not shown?? Why shouldn't it be possible to see and show the latest ad from the database? Im not a programmer but to say "this is not possible" I don't think it is correct. Did ever someone try to solve this BUG??
__________________
4.0.3 Developer
canariasdata is offline  
Closed Thread

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Make featured listings display first all the time cwp Modules / Plugins / Modifications 0 05-08-2008 11:51 PM


All times are GMT -4. The time now is 04:27 PM.


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