68 Classifieds Forums

How to show list of categories

This is a discussion on How to show list of categories within the v4 Modules / Modifications forums, part of the Help & Support category; Hi, I want to list clickable category list on the left column, check my site , I have added a ...


Go Back   68 Classifieds Forums > Help & Support > v4 Modules / Modifications

Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 10-31-2008, 09:57 AM
Junior Member
 
Join Date: May 2008
Posts: 10
Rep Power: 3
safatweb is on a distinguished road
Default How to show list of categories

Hi,

I want to list clickable category list on the left column,

check my site, I have added a header "Categories: in left column, i need the list beneath it

Reply With Quote
  #2  
Old 10-31-2008, 10:03 AM
Lhotch's Avatar
Moderator
 
Join Date: Mar 2006
Posts: 3,655
Rep Power: 90
Lhotch is just really niceLhotch is just really nice
Default

Your best bet would be to create a plugin that queries the database and builds a category list. Then you just plop the code to call the plugin into your layout template.
__________________
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

68 Classifieds Important Links
Customer Area | Issue Tracker | Knowledge Base | User Manuals
Reply With Quote
  #3  
Old 10-31-2008, 10:05 AM
Junior Member
 
Join Date: May 2008
Posts: 10
Rep Power: 3
safatweb is on a distinguished road
Default

I am not a pro, can anyone help me with this
Reply With Quote
  #4  
Old 10-31-2008, 10:37 AM
Lhotch's Avatar
Moderator
 
Join Date: Mar 2006
Posts: 3,655
Rep Power: 90
Lhotch is just really niceLhotch is just really nice
Default

Quote:
Originally Posted by safatweb View Post
I am not a pro, can anyone help me with this
Specific help can only come after specifics are given. You havent stated if you want just top cats or subcats listed as well. You didnt say how much help is needed or you skill level except your not a pro, which most people here arent.

Do you just need another push in the right direction or are you saying you need someone to make this whole thing for you?

Keep in mind that these kinds of requests could possibly take 30 minutes or more for someone to sit down and make so dont be surprised if someone doesnt do it for free and if they do it may take a couple days for them to get the finished product to you.

Fridays are notoriously slow here on the forums and since its halloween to boot I suspect it will be real quite here today.

Im currently out of state at a clients today and then have a 6 hour drive home after my full day of work so I wont be able to look into this until this weekend at best.
__________________
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

68 Classifieds Important Links
Customer Area | Issue Tracker | Knowledge Base | User Manuals
Reply With Quote
  #5  
Old 10-31-2008, 10:43 AM
Lhotch's Avatar
Moderator
 
Join Date: Mar 2006
Posts: 3,655
Rep Power: 90
Lhotch is just really niceLhotch is just really nice
Default

You could try using one of the existing plugins to see if they are what you are looking for, try dropping one of these in your layout.tpl under your new category heading.

{categories_parent}

or

{categories_js}
__________________
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

68 Classifieds Important Links
Customer Area | Issue Tracker | Knowledge Base | User Manuals
Reply With Quote
  #6  
Old 10-31-2008, 10:44 AM
Junior Member
 
Join Date: May 2008
Posts: 10
Rep Power: 3
safatweb is on a distinguished road
Default

I want only the parent category, as a clickabe link, that's all.

Like :

Accommodations

Announcements

Antiques

Automobile

Business

Etc,

Last edited by safatweb; 10-31-2008 at 11:32 AM.
Reply With Quote
  #7  
Old 10-31-2008, 01:33 PM
Mike-N-Tosh's Avatar
Moderator
 
Join Date: Jan 2007
Posts: 990
Rep Power: 30
Mike-N-Tosh is just really niceMike-N-Tosh is just really nice
Default

You could also try searching this forum as this question has been asked several times and answered.

-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, 4.1b3

Templates for sale | 68 Classifieds Customizations | My blog on 68
Web Hosting | Web Design & Development
I am not a 68C employee, just a user and try to help out
Reply With Quote
  #8  
Old 10-31-2008, 01:45 PM
Junior Member
 
Join Date: May 2008
Posts: 10
Rep Power: 3
safatweb is on a distinguished road
Default

I did search, but didn't find what i am looking for, can you send me the link for that post ?
Reply With Quote
  #9  
Old 10-31-2008, 01:49 PM
Eric Barnes's Avatar
68 Classifieds Staff
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 4,307
Rep Power: 99
Eric Barnes is a jewel in the rough
Default

Code:
{categories_parent}
{foreach from=$pcat item=entry}
<ul>
<li>{$entry.link}</li>
</ul>
{/foreach}
__________________
Eric Barnes
68 Classifieds Developer
Please do not send me a private message asking for support. Instead use these open forums or our ticket system.

Customer Area | Issue Tracker | Documentation | 68C Mods | Submit a Ticket | Twitter
Reply With Quote
  #10  
Old 10-31-2008, 01:53 PM
Junior Member
 
Join Date: May 2008
Posts: 10
Rep Power: 3
safatweb is on a distinguished road
Default

Thanks

It worked
Reply With Quote
Reply

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
How to show listings in sub-categories? ksuralta v4 Questions & Support 17 11-29-2008 12:22 PM
Show 2nd level categories on homepage? Success v4 Questions & Support 8 06-11-2008 10:16 PM
Mod request: list ad in multiple categories spark v4 Modules / Modifications 3 06-05-2008 04:55 PM
Static Categories and Sub-categories list Tim_A v4 Questions & Support 0 06-08-2007 09:41 AM
Categories to be listed in a list menu rather that in a text marketingsolutions v3.1 Modules & Modifications 21 10-15-2006 09:41 AM


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


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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22