Using UltraGlobal's 'Random_Link_In_Category' code is it possible to display All Links in a certain category (& its sub-category) that have a certain link property?
------------------------------------------
<%Plugins::ULTRAGlobals::Random_Link_In_Category($ID,'7')%>
<%if random_link_in_this_cat.length%>
<%loop random_link_in_this_cat%>
<%include link.html%>
<%endloop%>
<%endif%>
------------------------------------------
I am considering adding a link-property field (example: 'is_partner', with value as Yes/No)
& on every category page, I want to display all is_partner (set to 'Yes') links in the left bar or footer (still finalizing on design).
Is it possible to do this using the above global or some other global?
1. Generally most main/root categories will have 2000+ links.
2. Also, if there are only 4 links set as is_partner, then I only want the global to say 4.
3. Ideally, I would want the link order/sorting to be randomized with every page reload.
Thank you.
Vishal
-------------------------------------------------------
------------------------------------------
<%Plugins::ULTRAGlobals::Random_Link_In_Category($ID,'7')%>
<%if random_link_in_this_cat.length%>
<%loop random_link_in_this_cat%>
<%include link.html%>
<%endloop%>
<%endif%>
------------------------------------------
I am considering adding a link-property field (example: 'is_partner', with value as Yes/No)
& on every category page, I want to display all is_partner (set to 'Yes') links in the left bar or footer (still finalizing on design).
Is it possible to do this using the above global or some other global?
1. Generally most main/root categories will have 2000+ links.
2. Also, if there are only 4 links set as is_partner, then I only want the global to say 4.
3. Ideally, I would want the link order/sorting to be randomized with every page reload.
Thank you.
Vishal
-------------------------------------------------------