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.

display browser titel with exp:forum in template

February 19, 2010 8:12am

Subscribe [2]
  • #1 / Feb 19, 2010 8:12am

    Gert Timmerman

    33 posts

    I have embedded the forum in the template system so i can use ee tags in the forum templates. This is how i embed the forum:

    {embed="embed/.head" titel="Home"}
    
    <body>
    
        <div id="mainContainer">
            {embed="default_site:embed/.header"}
            {embed="embed/.menu"} 
        </div>
    
        <div id="contentContainer">
            {exp:forum board="cfcomforums"}
            {embed="default_site:embed/.footer"}
        </div>
    </body>
    </html>

    But how can i change the forum title per forum and thread? Now on every page is display Home in the browser ..

  • #2 / Feb 19, 2010 8:39am

    ee_sa

    56 posts

    Try something like this, its for weblogs, haven’t use forum yet:

    {embed="inc/.html_header" title="{exp:weblog:entries weblog="blog" disable="pagination|trackbacks" limit="1"}{title} - Home{/exp:weblog:entries}"}
  • #3 / Feb 19, 2010 9:02am

    Gert Timmerman

    33 posts

    that doesn’t work for the exp:forum tag, because the tag only output the forum templates, and don’t have variables.

  • #4 / Feb 19, 2010 9:30am

    ee_sa

    56 posts

    Maybe with Query?
    But, again, didn’t use the forum yet

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

ExpressionEngine News!

#eecms, #events, #releases