Tag Cloud and Categories of Records

2 posts by 2 authors in: Forums > CMS Builder
Last Post: February 10, 2022   (RSS)

By daniel - February 10, 2022

Hey Zicky,

It sounds like you need a way to convert the values saved the "categories" dropdown into their ":labels" counterpart, is that correct? The easiest way to do so would probably be to replace your mysql_select() with a getRecords() call, as that will by default load the ":labels" pseudofields. You could also look into theĀ _getListOptionLabelByValue() function, but that requires a few other steps to load the field schema, so getRecords() is likely the best options.

Let me know if that helps or if you have any other questions!

Thanks,

Daniel
Technical Lead
interactivetools.com