Hi there,
I’m trying to find out if there’s a way to set the template group in link paths dynamically. Let me explain:
I’m building a site that has three main sections, which are divided using three different channels and three different template groups.
When linking from an article, I can simply specify the template group like so:
<a href="http://{url_title_path=/get-the-know-how/article}">{exp:tag:entries inclusive="yes" orderby="entry_date" sort="asc" limit="20" paginate="bottom"}_ <div class="full-story">_ <div class="full-thumbnail">_ {if image_square_thumbnail != ""}_ <a href="{url_title_path='/get-the-know-how/article'}">_ {exp:ce_img:single src="{image_square_thumbnail}" width="150" height="150" crop="yes"}_ </a>
{if:else}
<a href="http://{url_title_path=/get-the-know-how/article}">_ {exp:ce_img:single src="{image_large_image}" width="150" height="150" crop="yes"}_ </a>
{/if}
</div>
<div class="full-info">
<h2><a href="http://{url_title_path=/get-the-know-how/article}">{exp:low_widont}{title}{/exp:low_widont}</a></h2>
<p> Date: {entry_date format="%d/%m/%y"} | Author: <span class="orange">{author}</span></p>
<p> Tags: <span class="orange"><br />
{exp:tag:tags<br />
entry_id="{entry_id}"<br />
backspace="2"<br />
orderby="tag_name"<br />
sort="desc"}<br />
<a href="http://{path=}tag/{websafe_tag}">{tag}</a>,{/exp:tag:tags}</span><br />
{exp:low_widont}{introduction}{/exp:low_widont}<br />
<a href="http://{url_title_path=/get-the-know-how/article}class=read-more">Read more</a><br />
</div><br />
</div><br />
{/exp:tag:entries}Moved to Community Help forum by Moderator