Support Forum
Next Question.
My sub forums are showing in this position;
Cars
Sub-Forum: Toyota Sub-Forum: Honda Sub-Forum: Anything
Can I change them to look like this;
Cars
Toyota
Honda
Next Sub Category
Need your help!!!
is that group view? no, its meant to just be a hint... on the parent forum page, they will show up at the top like you ask...
that will be possible with themes in v5.0...
Visit Cruise Talk Central and Mr Papa's World
no it's not a group view actually it's a parent forum on the top and then all other are like sub forums.
Like
Cars (Parent Forum)
Sub-Forum: Honda (Child Forum)
Sub-Forum: Toyota (Child Forum)
Any idea how can i do it?
currently, child forums are shown at the top... and then the topics for the current forum are listed...
so not sure what you mean... the only place forums are listed is the group view...
Visit Cruise Talk Central and Mr Papa's World
yes, that is the group view as I suspected...
and that is the proper way for subforums to be displayed... If you displayed them just like a regular forum, what would the point in them being a subforum??
anyways, to do so, you would need to edit the core code...
Visit Cruise Talk Central and Mr Papa's World
Thanks for answering.
I want them to look more manageable like many forums have.
If i can get the instruction on how to change the core code and where i need to make that change then that should be a very good for me to complete my work as soon as possible..
'like many forums'? all the ones I am familiar with dont show sub forums at same level as the parent… not sure why you dont just have all parents then... but that really doesnt matter – its your preference…
start off with simple-forum/forum/sf-group-view.php and the sf-render-group() function at the top… you will have to trace down it to where subforums are displayed and change it up as you want… you should be able to use existing routines.
cannot be very specific since we have never done… but give it a try and come on back with questions, we can keep pointing you in the right direction…
Visit Cruise Talk Central and Mr Papa's World
Having absolutely no experience of programming that what I can see on my sf-group-view.php file, but i'm not confirm what changing I need to make so I can display my subforums where i want.
function sf_render_group()
{
global $sfvars, $current_user, $sfglobals, $session_groups, $subforums, $subforumids;
Your help much be appreciated in this regard.
we arent going to be able to write it for you... too much going on and you are the only one to ask for it...
you have the correct code... the subforum rendering is this code
# Display current forum row if not a subform if (!$forum['parent']) { # if a new forum then there will be no stats if (isset($stats[$forum['forum_id']])) { $forumstats = $stats[$forum['forum_id']]; } else { $forumstats['topic_count'] = 0; $forumstats['post_count'] = 0; } $out.= sf_render_forum_entry_row($forum, $forumstats, $alt); } # show subs if any to show if($showsubs) { $out.= sf_render_sub_forum_entry_row($subforums, $alt); }
Visit Cruise Talk Central and Mr Papa's World
1 Guest(s)