2017-05-30, 03:58 AM
Hey guys!
I was wondering if anyone knew how to get the name, description, and last post of forums by ID? I'm using template conditionals to code my forums under forumbit_depth2_forum based on their exact forum ID, and I wanted to code the subforums to drop down accordion style.
Since there's no way to wrap the div code I want around the subforums individually, I opted to just calling the forums by ID, but I can't figure out how to do it? I need: {$forum['name']}, {$forum['description']}, and {$lastpost} for fid 13, 14, 15, and 16.
I guess I could just hard code them in, but lastpost is essential (and also something I'm not entirely sure is possible at all from what I know of lastpost).
Any ideas or input would be immensely appreciated!
I was wondering if anyone knew how to get the name, description, and last post of forums by ID? I'm using template conditionals to code my forums under forumbit_depth2_forum based on their exact forum ID, and I wanted to code the subforums to drop down accordion style.
<if $forum['fid'] == 7 then> Coding in here for individual forum </if>
Since there's no way to wrap the div code I want around the subforums individually, I opted to just calling the forums by ID, but I can't figure out how to do it? I need: {$forum['name']}, {$forum['description']}, and {$lastpost} for fid 13, 14, 15, and 16.
I guess I could just hard code them in, but lastpost is essential (and also something I'm not entirely sure is possible at all from what I know of lastpost).
Any ideas or input would be immensely appreciated!