View Single Post
Old July 23rd, 2005, 12:21 PM   #3 (permalink)
imported_Rob Locke
Member
Verified Customer
 
Join Date: Jan 2005
Posts: 50
Re: Layout and Spacing of Gallery/Links Home

Hi Brian,

The problem I am having is how to get the space between the categories and the 'Suggest a Category' row to repeat at the end of each separate category block.

In vBulletin this is easy, because the childforumbits, as far as I can tell, are doing the job of your adv_gallery_categorybit_level2, so they populate between the table properties of forumhome_forumbit_level1_nopost where I add the spacer and extra row.

However, adv_gallery_categorybit_main is responsible for the collapsible header. Hence, by copying the thead code from ADV_GALLERY, I can get the table headings (Category/Description, Last Upload, Last Post, Images, Replies, Moderator) to repeat underneath the collapsible header without any problems. But, I see no way to close the table, other than keeping it in ADV_GALLERY. Because categoybits includes the sum of adv_gallery_categorybit_level2 and adv_gallery_categorybit_main, I just can't separate the category blocks. I hope you understand what I am driving at.

Is there a 'childcategorybits' variable that just includes the contents of adv_gallery_categorybit_level2? Or, am I missing something and just need to jiggle the contents of adv_gallery_categorybit_level1, adv_gallery_categorybit_level2 and adv_gallery_categorybit_main?

As it's only a little bit of changing around, please can I request you post the code and template alterations here? I am sure there are many others who use separated forum categories in vBulletin and would like to know how they can replicate the effect in Gallery and Links.

Enormous thanks as always,

Rob.
imported_Rob Locke is offline   Reply With Quote