Topic: pnForum 2.7 - How do I show the forum expanded (similar to this site!)
brandt
avatar
Freshman
Freshman
Posts: 31

Posted:
12.Jan 2007 - 21:33

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
Teb
avatar
Professional
Professional
Posts: 501

Posted:
12.Jan 2007 - 22:51

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 Zikula Community


Support questions in a Personal Message will be ignored. Use the forums at all times!
xchido
avatar
Helper
Helper
Posts: 219

Posted:
14.Mar 2008 - 03:18

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."
AmmoDump

Team Member
Team Member
Posts: 3024

Posted:
14.Mar 2008 - 18:30

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
Teb
avatar
Professional
Professional
Posts: 501

Posted:
14.Mar 2008 - 21:27

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 Zikula Community


Support questions in a Personal Message will be ignored. Use the forums at all times!
AmmoDump

Team Member
Team Member
Posts: 3024

Posted:
14.Mar 2008 - 22:09

icon_rolleyes whoops... icon_biggrin

--
David Pahl
Zikula Support Team