This bit of code below does not work. If I use the actually community slug manually (ie: “capistrano-pointe”) then the preload_replace does it’s job.
{exp:channel:entries channel="floor-plans" limit="1"}
{preload_replace:global-slugginsons="{community-slug}"}
{/exp:channel:entries}
{exp:channel:entries channel="communities" url_title="{global-slugginsons}" limit="1" dynamic="no"}
<!-- LOTS OF FUN TEMPLATE STUFF -->
{/exp:channel:entries}I want to run a loop at the top to set a variable {global-slugginsons} to be the {community-slug}. Through a bit of trial and error I figured out preload_replace is a decent way to go (setting that manually works!), but I need it to be set to the {community-slug}. Suggestions?