ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Placing the discussion forum in a "subdirectory"

December 14, 2010 8:11pm

Subscribe [4]
  • #1 / Dec 14, 2010 8:11pm

    Richard Whitmer

    96 posts

    I’m running the Discussion Forum Module 2.2.0 on ExpressionEngine 1.7.0 and want to know if it’s possible to place my forums further in the site structure than the at the site_url?

    For example, http://www.mysite.com/dir1/forums instead of http://www.mysite.com/forums

    Based on things I’ve read in the EE forums, I added

    {exp:forum}

    to the index template for for the dir1 template group.

    Af first, everything looks like the forums. I get the forums landing page, but beyond that page, things get messy: threads don’t render, nor do tags on the member profile page, and some of the links point to the forum home as set on the module preference page (http://www.mysite.com/dir1/forums) while others point to http://www.mysite.com/forums.

    Am I trying to do something I shouldn’t?

  • #2 / Dec 15, 2010 2:32pm

    Brandon Jones

    5500 posts

    Hi Panchesco,

    That should be possible. Which links in particular are not correct? I would try just setting the forum URL in the module preference page rather than using a template with {exp:forum} on it, unless you specifically need to run your forum through the regular template parser.

  • #3 / Dec 15, 2010 3:58pm

    Richard Whitmer

    96 posts

    Setting the URL in the module preferences and not having a template with {exp:forum} gives me a 404 page.

  • #4 / Dec 16, 2010 3:44am

    John Henry Donovan

    12339 posts

    Panchesco,

    Ok. Here is how you would do it.

    In your forum preferences for the Forum URL use

    http://www.mysite.com/dir1/forums/

    Remove the Forum Triggering Word

    Now in your dir1 template group create a template called ‘forums’

    It’s in here that you add {exp:forum}

    Let us know if that works

  • #5 / Dec 16, 2010 12:54pm

    Richard Whitmer

    96 posts

    Thanks! Looks like that does it.

  • #6 / Dec 16, 2010 5:49pm

    Ingmar

    29245 posts

    Very glad to hear it. Please post again as needed.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases