Wiccle.com in Facebook Wiccle.com in Twitter Wiccle.com in LinkedIn Wiccle.com in Youtube RSS from Wiccle.com Wiccle.com in Atom
 
 
 

Thread: How to add +Thread link on Forum Box Header

Started: August 10, 2010, 10:28 PM  ⋅  Zone: Public Forums  ⋅  Category: Install & Modification  ⋅  Posts: 3  ⋅  Views 4439
Started by: US-WebDesigner  ⋅  Description: Would like to include a +Thread link in a list of forum categories per category
Post #1
Member: US-WebDesigner  ⋅  Date: August 10, 2010, 10:28 PM  ⋅ Subject: "How to add +Thread link on Forum Box Header"

Via the default layout, if you go to Forums, to the Forum Zone tab, (with one Zone and at least one category created), you get in the left side a box titled Categories, with a list of those categories below.  I would like to somehow include a +Thread link in that list of categories, on a per category basis.  I think that would be most user friendly.  I always find it awkward to have to look to the right column to find such a function.

Ideally, it would be best if the link/function could be added right next to each category name (in the header for that sub-box).

So it would look like:

Categories

- Legal Issues    +Thread

- Training Topics   +Thread

OPTION 2

Another Option would be to make it like it is on your Wiccle forums, if you go the default page for your Fusion Forums, there is:

Updated Threads   + New Thread  |  Latest Posts

I would love to do that, and instead have it be:

Categories   + New Thread  |  Latest Posts

That would work well also.  

Is that possible? I would like to make it more streamlined for a site that will likely have one zone and where I suspect users will want to go to a list of Forum Categories and either start searching or click on the +Thread link to start a new thread.

Thanks,

Post #2
Member: Markus  ⋅  Date: August 12, 2010, 06:38 AM  ⋅ Subject: "Re: How to add +Thread link on Forum Box Header"

In the builder, you can add HTML tags to the Header field. The header on the forums' front page read as follows:

Updated Threads  - <span class="text_small"><a href="index.php?module=forums&show=add_thread&category=&parent=public_forums">+New Thread</a> | <a href="forums/page/latest_posts">Latest Posts &raquo;</a></span>

This is one way to accomplish it.

If you want to add +Thread links like you see now on the Forum Zones page for each category, open up /templates/pro/skin_category.php. When there, locate the category format you want to add this to (such as "cat_medium"), and copy it over to /templates/pro/modules/skin_forum_ow.php. This will overwrite the default cat_medium template bit in Forums module.

Ther's only one simple change you need to do to add the +Thread links in. This is the header in the default cat_medium:

        <h4><a href="module/[[CAT_MODULE_IDENT]]">[[CAT_NAME]]</a></h4>

And here's how it reads in the version modified for forums (change in blue):

        <h4><a href="module/[[CAT_MODULE_IDENT]]">[[CAT_NAME]]</a> <#IF:LOGGED_IN#> <span class="small_button" style="float: right;" onclick="goTo('index.php?module=[[CAT_MODULE_IDENT]]&amp;parent=[[CAT_PARENT_IDENT]]&amp;show=add_thread&amp;category=[[CAT_IDENT]]');">+  New Thread</span></#> </h4>

This will display a +Thread link relative to this category for all users who are logged in. You can edit all templates likewise, and include whatever HTML you want wherever you want.

Post #3
Member: US-WebDesigner  ⋅  Date: August 14, 2010, 12:06 AM  ⋅ Subject: "Re: How to add +Thread link on Forum Box Header"

Thanks.  Thanks for all the answers you provided.  I am going through them one a time.

 

Install & Modification

Add to Favorites
Public Forums
Category  ⋅  Deploying iWiccle and Wiccle into unique solutions that match your needs.
 

Public Forums

Add to Favorites
Public Forums
Zone  ⋅ Public forum sections for support and discussions. Available for everyone.
 

Zone Categories

 
Questions? Ask us!
Back to Top