Support Forums

Split New Listings in 2 Columns

This is a discussion on Split New Listings in 2 Columns within the Modules / Plugins / Modifications forums, part of the Developer Forums category; Hey all, My web site is http://www.jdmtrader.com.au I'm hoping to split my New Listings Column into 2 on this page: ...


Go Back   68 Classifieds Forums > Developer Forums > Modules / Plugins / Modifications

Reply
 
Thread Tools Display Modes
Old 08-08-2011, 04:37 AM   #1
Junior Member
 
Join Date: Apr 2011
Posts: 16
Rep Power: 2
performancecentral is on a distinguished road
Default Split New Listings in 2 Columns

Hey all,

My web site is http://www.jdmtrader.com.au

I'm hoping to split my New Listings Column into 2 on this page:
Performance Central - Free Performance Parts Classified

So I would have say:



Listing 1 Listing 2
Price: $200 Price: $200
Description: In great Condition Description: In great Condition


Listing 3 Listing 4
Price: $200 Price: $200
Description: In great Condition Description: In great Condition



I was originally thinking of using a count function, which would be along the lines of this:

COUNT = 0

IF COUNT = 0
{
DISPLAY LISTING 1
ADD 1 to COUNT
}



IF COUNT IS 1
{
<TD>
DISPLAY LISTING 2
Count = 0
</TD>
}


IF COUNT = 0
{
DISPLAY LISTING 3
Count = 1
}


Etc

I am just not sure how to write up the first initial count within the TPL code.

thanks again for any help

Kind Regards
Adrian

Last edited by performancecentral; 09-01-2011 at 12:04 AM.
performancecentral is offline   Reply With Quote
Old 08-31-2011, 05:42 AM   #2
Junior Member
 
Join Date: Apr 2011
Posts: 16
Rep Power: 2
performancecentral is on a distinguished road
Default

Still hoping to figure out a way. Any advice would be fantastic. thanks heaps everyone
performancecentral is offline   Reply With Quote
Old 08-31-2011, 05:49 AM   #3
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 3,342
Rep Power: 84
seymourjames is a jewel in the rough
Default

Your site appears to be down or you are blocking countries outside of Australia via .htaccess.
__________________
"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 09-01-2011, 12:03 AM   #4
Junior Member
 
Join Date: Apr 2011
Posts: 16
Rep Power: 2
performancecentral is on a distinguished road
Default

Sorry the web site address has been updated:

JDMTrader.com.au - The Free JDM Parts Classified

Thanks for your help
performancecentral is offline   Reply With Quote
Old 09-01-2011, 12:46 PM   #5
Developer & Moderator
 
 
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 2,311
Rep Power: 69
Mike-N-Tosh is just really nice Mike-N-Tosh is just really nice
Default

Good looking site!

I would suggest that you look at the default "home.tpl" and use the smarty code that is used for the splitting the categories into columns. Change the variables appropriately, etc.. To read more about those types of smarty functions, go to the source, the smarty.net website.

I also noticed that you are using the default template, but highly modified. I DO NOT RECOMMEND THIS! You should rename your custom template. KEEP A STANDARD DEFAULT TEMPLATE folder on your site. You are asking for trouble down the road if you don't if you should have trouble in the future.
__________________
Mike-N-Tosh
IndianaPC.org - A community website (v3.1.10 Developer - heavily modified & used as the CMS)
Sandbox [localhost(v3.1.10, v4.0.9, 4.1.10,4.2,5.0)] for development and customization
Visit My blog: reviews, tips, tricks, tutorials and my store with Templates, Mods & Docs
Web Hosting | Web Design & Development | 68 Classifieds Customizations
I am not a 68C employee, just a user and try to help out
Mike-N-Tosh is offline   Reply With Quote
Old 09-02-2011, 04:09 AM   #6
Junior Member
 
Join Date: Apr 2011
Posts: 16
Rep Power: 2
performancecentral is on a distinguished road
Default

Quote:
Originally Posted by Mike-N-Tosh
Good looking site!

I would suggest that you look at the default "home.tpl" and use the smarty code that is used for the splitting the categories into columns. Change the variables appropriately, etc.. To read more about those types of smarty functions, go to the source, the smarty.net website.

I also noticed that you are using the default template, but highly modified. I DO NOT RECOMMEND THIS! You should rename your custom template. KEEP A STANDARD DEFAULT TEMPLATE folder on your site. You are asking for trouble down the road if you don't if you should have trouble in the future.
Hey there,
Wow thanks for the compliment, I had a blast working on it the last few months.

I find that an awesome compliment to say its Highly modified I will definitely rename it and copy over the Default Template (I kept a copy on my desktop). I will have a hunt around for the smarty code too, thanks very much for that

Its amazing software, I'm a happy customer. I appreciate everyones help on here too.
performancecentral is offline   Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
ads in horizontal 2 columns antonio71 Templates, HTML, CSS, and Design Help 1 11-21-2010 05:43 AM
V4.1.x Too many columns visable in Featured Listings JDShort Modules / Plugins / Modifications 2 09-25-2009 10:08 AM
Number of columns adexinc Technical Support 7 08-28-2009 06:02 PM
how can set two columns Abdulaziz Templates, HTML, CSS, and Design Help 5 02-10-2009 03:42 PM
Photos in two columns bowers01 Modules / Plugins / Modifications 3 12-15-2008 12:58 AM


All times are GMT -4. The time now is 11:36 AM.


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