Forums and Subforums on the subpage.
#12
Code in file basically is no different. In template there is no aesthetic appearance, I mainly depends on the action of the moment.
Template parent:
<div class="col"><strong><a href="{$forum_url}">{$forum['name']}</a></strong> <br />{$subfora}</div>
Template child - only forum name.
Destroy666 Wrote:Also, what's the result of var_dump($subforums); after the while loop?

Returns array forums + subforums.
array(2) { [4]=> string(210) "
SubForum1
SubForum2
" [2]=> string(108) "
Subforum3
" }

Reply


Messages In This Thread
Forums and Subforums on the subpage. - by Snake_ - 2015-04-23, 03:55 PM
RE: Forums and Subforums on the subpage. - by Snake_ - 2015-04-29, 04:01 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)