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.

Two different template groups

August 27, 2011 4:13am

Subscribe [4]
  • #1 / Aug 27, 2011 4:13am

    Marcuse

    166 posts

    I have two template groups

    movie and weblog in the navigation those come together

    {exp:channel:entries channel="weblog|movie" disable="member_data|pagination" sort="desc" dynamic="off"}

    Put how must I link to those groups something like this

    <a href="{url_title_path=movie}">

    links only too one group or isn’t it possible

    Greetings Marc

  • #2 / Aug 27, 2011 11:20am

    Dave @ Exp:resso

    465 posts

    You could use the {channel_short_name} variable here, so your link could be something like href=”{site_url}/{channel_short_name}/{url_title}”

  • #3 / Aug 27, 2011 5:23pm

    Kevin Smith

    4784 posts

    Hi Marcuse,

    Did Dave’s suggestion help you out here?

  • #4 / Aug 27, 2011 5:46pm

    chronistin

    104 posts

    Another suggestion would be {comment_url_title_autopath}. You don’t need a comment page for this to work, just correct paths in the channel settings.

  • #5 / Aug 28, 2011 1:51am

    Marcuse

    166 posts

    Dave’s solution is working fine for me

    {site_url}{channel_short_name}/{url_title}

    and also work for the search results

    {comment_url_title_autopath}

    does not work in the search results linking

    Super thanks

  • #6 / Aug 28, 2011 5:19pm

    Kevin Smith

    4784 posts

    Awesome, glad to see so many people jump in with some good suggestions. Let us know if you need anything else, Marcuse!

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

ExpressionEngine News!

#eecms, #events, #releases