View Full Version : Category Display
Phoebes
06-29-2011, 01:26 AM
It looks like vBulletin has all of the features I need for a new project, but I need to be able to display the categories a certain way given I will have around 20 main categories with 5 sub categories each.
We found a way to list the categories in a vertical column but would like to display them in 3 or more columns similar to this: http://www.ehow.com/how-to.html
(preferably with indented subcategories under main categories)
Can anyone give me an idea of what would have to be edited to achieve this, or a code snip from someone that has done it before? Thanks in advance for any help.
Edit: Sorry. It's version 4.1.4 ... think the latest version.
Eq4bits
06-29-2011, 04:37 AM
Categories or Sections?
Phoebes
06-29-2011, 03:57 PM
Categories or Sections?
Categories, thanks.
Eq4bits
06-29-2011, 04:38 PM
vB 'Categories' don't have 'sub-categories'... Sections have 'sub-sections'... is why I was asking. The page you used as an example is a hardcoded html page.
Is this to be your 'landing'/'home' page? Sorry for all the questions, I'm curious. One of the pro-coders might be able to do this.
Phoebes
06-29-2011, 05:49 PM
vB 'Categories' don't have 'sub-categories'... Sections have 'sub-sections'... is why I was asking. The page you used as an example is a hardcoded html page.
Is this to be your 'landing'/'home' page? Sorry for all the questions, I'm curious. One of the pro-coders might be able to do this.
No, no, I appreciate the questions. Its obvious I'm just getting into this, sorry.
1. It wouldn't have to be hardcoded html and in fact it would probably be best if it wasn't because I'd like it to refresh when new categories are added. Search-engine-friendly would be a great plus though.
2. I would like it to be the landing page, but a link off of that would be fine as well.
--------------- Added 1309376315 at 1309376315 ---------------
I believe I had this worded incorrectly. I meant categories, but what I meant by the subcategories was the list of forums.
Here is a picture pointing to what I mean as categories and forums as subcategories.
http://www.fraxart.com/vb/categories.jpg
Eq4bits
06-29-2011, 06:48 PM
Not sure if it's possible (again, one of the pro-coders might be able to do it), but the first thought that comes to mind would be for the main 'content.php' to just contain the 'section' (since you are wanting 'subs' and categories don't have those) navigation widget and nothing else. But, I'm not sure that could be configured to display in 3 columns.... vB doesn't use 'tables' per se. If you don't get any other replies, I'd suggest posting a request in either (or both) the Unpaid Mod request forum (https://vborg.vbsupport.ru/forumdisplay.php?f=112) or the Paid request forum (https://vborg.vbsupport.ru/forumdisplay.php?f=30).
--------------- Added 1309381619 at 1309381619 ---------------
Oh. I see now, I thought you were talking about the CMS sections/categories. But, yes, there is a mod here somewhere I know for having sub-forums display in columns under their respective main forums, but not sure if the board as a whole can be displayed the way you want.
--------------- Added 1309382149 at 1309382149 ---------------
You *can* have the 'sub-forums' display under their respective 'forums' on FORUMHOME; it's a matter of setting the 'depth' to display in your admincp>options, and as I said I believe there is a mod to have those sub-forums display in columns. I'll look and see if I can find the mod and will post a link to it.
--------------- Added 1309382330 at 1309382330 ---------------
Here's a link to the sub-forum display mod: https://vborg.vbsupport.ru/showthread.php?t=236960
and a link to a screenshot the mod writer put up: https://vborg.vbsupport.ru/attachment.php?attachmentid=113131&d=1267216874
--------------- Added 1309382622 at 1309382622 ---------------
Here's another: https://vborg.vbsupport.ru/showthread.php?t=229148
and images: https://vborg.vbsupport.ru/attachment.php?attachmentid=106946&d=1259543824
and
https://vborg.vbsupport.ru/attachment.php?attachmentid=110284&d=1263759752
LifesGreatestGift
06-29-2011, 08:52 PM
Check my forum for proof of concept.
Eq4bits
06-29-2011, 08:59 PM
I think part of my confusion about what you meant was the site you pointed to as an example used the term 'articles' and in vB 'articles' are in the CMS (though they *can* have originally been a topic/thread in a forum/subforum).
--------------- Added 1309386088 at 1309386088 ---------------
Love your site TheWindows7Site... wish I could afford to pay for your services ;)
Phoebes
06-30-2011, 01:12 AM
Thanks a bunch! Will check it out, but it looks like it will help a lot!
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.