No announcement yet.

Additional forum depth for forumhome only

  • Filter
  • Time
  • Show
Clear All
new posts

  • [Forum] Additional forum depth for forumhome only


    With getting some help from the forum depth tip I have created an additional depth to have a level 0 category, let's call it SECTION, but I want this additional level to be only used in the forumhome but not forumdisplay.php.

    I have created/modified the templates such that;
    - forumhome_forumbit_level3 template is same as the default forumhome_forumbit_level2.
    - forumhome_forumbit_level2 template is same as the default forumhome_forumbit_level1.
    - forumhome_forumbit_level1 customized for my our purpose.

    Consider the following diagram for my forumhome:

    SECTION (L0) uses forumhome_forumbit_level1
    - Category (L1) uses forumhome_forumbit_level2
    - - Forum (L2) forumhome_forumbit_level3

    This works fine.
    The problem occurs in the forumdisplay.php that uses the level1 template which in is my case modified for sections, not categories.

    When I go to a SECTION I face the problem:

    Category(L1) uses forumhome_forumbit_level1 which is modified for SECTIONS and should not be used for a category
    - Forum (L2) forumhome_forumbit_level2

    I would like to know how can I modify forumdisplay to use forumhome_forumbit_level2 onwards ?

    I want the forumdisplay to be this way:
    Category(L1) use forumhome_forumbit_level2
    - Forum (L2) use forumhome_forumbit_level3

    Thanks a lot,
    Last edited by Farshid.T; Sat 13 Aug '11, 11:34pm. : The community of handheld users

  • #2
    forumdisplay is not the forum home, so it uses the forum display settings.

    You may be able to get around this by changing the links with sections to use forum.php?f=X instead of forumdisplay.php?f=x


    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.