I’m having trouble getting the following to work. Maybe I’m not understanding how this works? This is my calling code:
{embed="global/_generic-body" the_weblog="interior" the_url_title="{segment_1}"}
This is my embedded template:
{exp:weblog:entries weblog="{embed:the_weblog}" url_title="{the_url_title}" dynamic="off" disable="categories|category_fields|member_data|pagination|trackbacks"}
<h1>{title}</h1>
<div id="interior-body">
{body-text}
</div>
{/exp:weblog:entries}For the_url_title if I hard code the actual url_title in the variable it works, but I want it to be dynamic by using segments. Can you not use segments as a variable?