Cedar
New Member
Posts: 83
inherit
209350
0
Jun 27, 2022 12:04:24 GMT -8
Cedar
83
May 2014
spruce
|
Post by Cedar on Mar 28, 2017 18:42:27 GMT -8
Forum: HereHello! I've been trying to get boards in only a few categories (namely, the ones without "Hoenn" in the title) to display side-by-side. I can't seem to figure out a way to get the category ID through the board list template, which... Is really the only way I could think to try this, haha. Any help would be much appreciated.
|
|
Kami
Forum Cat
Posts: 40,201
Mini-Profile Theme: Kami's Mini-Profile
#f35f71
156500
0
Offline
Jul 24, 2021 11:48:29 GMT -8
Kami
40,201
July 2010
kamiyakaoru
Kami's Mini-Profile
|
Post by Kami on Mar 29, 2017 9:55:01 GMT -8
I can't tell if this is asking how to target each category by ID, or how to find out what ID a category has.
If the former: {if $[board.category_id] == X} If the latter:
- highlighting a category title and inspecting the element should show something like this: <a name="category-1"></a> with "1" being the ID.
- if you hover over the category listings when you hover over the nav tree, the link that shows up when you click on a category name OR if you look at the bottom left of your browser that shows a link preview will display something like http://pkmn-catalyst.boards.net/#category-12 with "12" being the ID.
|
|
Cedar
New Member
Posts: 83
inherit
209350
0
Jun 27, 2022 12:04:24 GMT -8
Cedar
83
May 2014
spruce
|
Post by Cedar on Mar 29, 2017 10:58:04 GMT -8
Ah, sorry for the lack of clarity in my question, but yes, I was trying to figure out how to target each category by ID. Thanks for the help!
|
|
Kami
Forum Cat
Posts: 40,201
Mini-Profile Theme: Kami's Mini-Profile
#f35f71
156500
0
Offline
Jul 24, 2021 11:48:29 GMT -8
Kami
40,201
July 2010
kamiyakaoru
Kami's Mini-Profile
|
Post by Kami on Mar 29, 2017 11:04:12 GMT -8
|
|