Zikula: A Flexible Open Source Content Management System
home | forum | contact us

Dizkus

Bottom
pnForum 2.7 - How do I show the forum expanded (similar to this site!)
  • Posted: 12.01.2007, 21:33
     
    brandt
    rank:
    Freshman Freshman
    registered:
     January 2007
    Status:
    offline
    last visit:
    11.02.07
    Posts:
    31
    I have pnForum 2.7 running well so far at www.lesstalk.com (click on Forum)....How do I show the forum expanded by default? Right now the different categories are collapsed by default.

    So far, you guys and gals have been able to answer all of my questions...thanks!




    Edit: I just realized that I posted this in the wrong forum... I am going to move this over to the 3rd party modules forum.



    edited by: brandt, Jan 12, 2007 - 05:30 PM
  • Posted: 12.01.2007, 22:51
     
    Teb
    rank:
    Helper Helper
    registered:
     February 2005
    Status:
    offline
    last visit:
    06.05.08
    Posts:
    492
    You have to edit pnforum_user_main.html and look for

    Code

    <div id="category_<!--[ $category.cat_id ]-->" class="hidden category">



    Change that to

    Code

    <div id="category_<!--[ $category.cat_id ]-->" class="category">



    It is located at /modules/pnForum/pntemplates byt preferably you use template overrides for the pnForum module. Search the forum / documentation for this.


    --
    -- Teb
    -- Dutch PostNuke Community


    Support questions in a Personal Message will be ignored. Use the forums at all times!
  • Posted: 14.03.2008, 03:18
     
    xchido
    rank:
    Helper Helper
    registered:
     October 2002
    Status:
    offline
    last visit:
    17.09.08
    Posts:
    219
    Thank you Teb for this answer. I just tried it and it works great on my new install - .8-RC3 and pnForum-2.7.1

    Thanks

    --
    "I'm an idealist. I don't know where I'm going, but I'm on my way."
  • Posted: 14.03.2008, 18:30
     
    AmmoDump
    rank:
    Professional Professional
    registered:
     December 2003
    Status:
    offline
    last visit:
    21.11.08
    Posts:
    2973
    TIP: Instead of editing the file directly, copy it and move it to config/modules/pnForum and edit that copy. If you later upgrade your pnForum you will not replace your edits to the template.

    icon_smile

    --
    David Pahl
    Zikula Support Team
  • Posted: 14.03.2008, 21:27
     
    Teb
    rank:
    Helper Helper
    registered:
     February 2005
    Status:
    offline
    last visit:
    06.05.08
    Posts:
    492

    AmmoDump

    TIP: Instead of editing the file directly, copy it and move it to config/modules/pnForum and edit that copy. If you later upgrade your pnForum you will not replace your edits to the template.

    is the explanation of

    Teb

    preferably you use template overrides for the pnForum module. Search the forum / documentation for this.


    Docs at http://community.pos…mplateOverridng.htm

    --
    -- Teb
    -- Dutch PostNuke Community


    Support questions in a Personal Message will be ignored. Use the forums at all times!
  • Posted: 14.03.2008, 22:09
     
    AmmoDump
    rank:
    Professional Professional
    registered:
     December 2003
    Status:
    offline
    last visit:
    21.11.08
    Posts:
    2973
    icon_rolleyes whoops... icon_biggrin

    --
    David Pahl
    Zikula Support Team

Main Menu

Extensions Database

Documentation

Development

Login

Donate to Zikula