I’m trying to extract the {url_title} of the current page (I’m using the official Static Pages module) and then assigning that to a variable, {blogname}.
However, it seems it doesn’t work? Is it possible to take a {url_title} value and assign that to a variable, so I can pass that variable as the “weblog” name in a {exp:weblog:entries} tag?
{assign_variable:blogname="{exp:weblog:entries weblog="static_pages" show_pages="yes" rdf="off" disable="trackbacks"}{url_title}{/exp:weblog:entries}"}
{exp:weblog:entries weblog="{blogname}" sort="asc" dynamic="off"}
...blah blah
{/exp:weblog:entries}I’m still trying to wrap my head around variables in EE, it’s all very confusing to me. Help and/or clarification would be much appreciated!