I would like to call a custom tag using a variable in it's name. Like this
<cfset slist = 'product_categories'>
<cf_cu_show_#slist#>
This gives me an error on the #. The custom tag cu_show_product_categories is present and working when I call it the conventional way. The idea is to build a list to loop through, calling several custom tags.
<cfset slist = 'product_categories'>
<cfif a = 'blogs'>
<cfset slist = listAppend(slist,"blogs")>
</cfif>
<cfif b = 'posts'>
<cfset s_list = listAppend(slist,"last_posts")>
</cfif>
<cfloop list="#slist#" index="i">
<cf_cu_show_#i#>
</cfloop>
I tried to google, but cannot find anything useful. Any help would be appreciated.