Support Forums

Old 12-04-2008, 07:00 AM   #1
Member
 
Join Date: Nov 2008
Posts: 63
Rep Power: 3
DGiscombe is on a distinguished road
Default looping categories

Hi Guys,

Culd you tell me how i can loop just a few categories into one of the tds on the homepage?

I'm going to hard code 3 columns and display a few categories in each one to squash them up below each other, hope it works
DGiscombe is offline   Reply With Quote
Old 12-04-2008, 08:20 AM   #2
Moderator
 
 
Join Date: Mar 2006
Posts: 3,926
Rep Power: 95
Lhotch is just really niceLhotch is just really nice
Default

The problem with looping through categories at the template level is that you have no control over whats displayed unless you evaluate the value of each category as you get to it in the loop. Thismeans in essence you need to check for each and every category you have.

If your going to type out all of that, then you may as well just hard code links in your main category table.

For example, mouse over a category link to see the URL and then use that URL in a new hard coded main page.
__________________
Larry.
(Please note: I am not a 68C employee. I am a customer and volunteer who helps with questions where I can and the forums spam free)

Set your site apart from the competition with one of my modules......
Google Map Module | You Tube Module | Google Calendar Module | Event Calendar Module

68 Classifieds Important Links
Customer Area | Issue Tracker | Knowledge Base | User Manuals
Lhotch is offline   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
Are we able to charge certain categories and keep other categories free? Success v4 Questions & Support 5 04-02-2008 04:49 PM
Static Categories and Sub-categories list Tim_A v4 Questions & Support 0 06-08-2007 08:41 AM
Prevent Browse Categories Table for hidden categories free2take v3.0 Questions & Support 3 05-12-2006 10:14 AM


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


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