Hi, I have created a link list of “most read” articles. All working except the links.
{exp:weblog:entries status="kids|family" sort="desc" orderby="view_count_one" limit="5" dynamic="off"}
<ul>
<li><a href="#">{url_title}</a></li>
</ul>
{/exp:weblog:entries}The list is displayed on the index page pulling the items from three different sections (plus a couple of subsections). Now I want to link back to the initial article. I could use the {title_permalink=""} tag. The problem is that I have several “sections” in my website created with structure module. I could create links with conditionals but I can’t use segments, since the final weberver does not support segment feature. How could I create a dynamic link list?
Moved to Modules by Moderator
Interfacer,
Take at look at the {comment_url_title_auto_path} variable
This variable is replaced by the URL set in the “Comment Page URL” preference under Admin > Weblog Management.
{exp:weblog:entries status="kids|family" sort="desc" orderby="view_count_one" limit="5" dynamic="off"}
<ul>
<li><a href="#">{comment_url_title_auto_path}</a></li>
</ul>
{/exp:weblog:entries}Interfacer
Problem is that my weblog includes three sections all with different url segments.
So you only have one weblog right? Can you give examples of the paths and segments you are tying to pull though?
I realise you are using the Structure module but let me see what your final goal is first before sending you to the modules authors for support.
Thanks John Yes, I have only one weblog. The weblog contains static pages created with structure. Within structure I have a normal document tree with three main sections and a couple of subsections within.
If i am using the suggested variable it doesn’t work because I basically can only target the weblog itself but not all the sections. I hope that makes more sense.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.