Are there alternative ways to pass a variable to assign an integer to author_id inside an entries tag OUTSIDE of using segment variables?
I’ve tried embedding templates and making variables. The variables pass all the way through…UP TO… outside of the actually entries tag.
I’ve tried preload:replace (passing down the template…up to outside of the entries tag)
Nothing seems to work but segment.
Any ideas? Is there a mod for this? Need an example to look at?
{preload_replace:my_author2='{embed="elements/test"}'} <--- pulls the correct author_id
{my_author2} = correct author_id IN THE TEMPLATE but when editing the entries tag:
{exp:channel:entries channel="advanced_profile" author_id="{my_author2}" show_future_entries="yes" limit="" dynamic="no" disable="pagination|categories"} <--- does not place the author ID in template
Any help, plugin reference (that will work) or mod to a core file would be of great assistance. Thank you!