Customizing SMF > Now Available

Displaying only one Category

<< < (8/9) > >>

manuelap:
I am trying to find a solution for the smf-joomla bridge. To show only one category on a page.... I tried the above hacks but can not make it work  :'(

By the way, I am using SMF 1.1 rc2

ShawnX:
How can we get this hack to work with 1.1 RC3 ?

shardul:
i installed the view single category mod.. i am using smf 1.1.1 with SMFone Blue theme...

when i click on the category name it do not show that single category...
instead it just collapsed...it..

Floryn:
Thank you mytreo for taking the time to show us this hack.

I used it and it works, but one small thing botheres me: It messes up my boards order :(

It shows only one category, but the boards are no longer showed in the defined order. And i don't find any logic in the way it shows them. 

For example:
In a category, I have boards 1, 2 and 3. When i don't use your hack, they appear in the defined order (1, 2, 3). After I replace my $result_boards query with yours, they appear in another order (like 2, 3, 1).  If i click to see all the categories, they appear in the correct order again. Only when i see a category coming from a link with 'catogid' it messes up the order.

I use SMF 1.1.2, but i checked the $result_boards query and is the same as in SMF 1.1.1. And i looked at the entire BoardIndex.php, but couldn't find out what's the problem :(

Any ideas?

Thanks in advance.

mytreo:

--- Quote from: Floryn on June 02, 2007, 06:24:54 PM ---It shows only one category, but the boards are no longer showed in the defined order. And i don't find any logic in the way it shows them. 

--- End quote ---

I've had a look too and can't find why that would be. Surely I'm missing something, but I can't see what.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version