I have a template that uses SuperSelectBox to store IDs to other resources in three TVs. I was using getResources/pdoResources to query through the IDs for each TV and produce comma separated links. This resulted in very slow load times for the page (7-10seconds) listing all the resources using the template.
I implemented a funky work-around that greatly increased the speed of the page load (3-5seconds). I queried through the IDs in each TV using toLinks from tagLister.
Query the TV:
Using the tpl, Treaty-ids-to-links-ppl:
`<a href="[[~[[+item]]]]" class="[[+cls]]">[[pdoField?&id=`[[+item]]`]]</a>`
While this greatly improved the page load speeds, it is NOT the correct solution.
Is there a snippet or some php code to accomplish the process of taking a comma delineated list of IDs and output links using a tpl?
View the page at Treaties - Tribal Treaties Database (edited)