Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
flimmer Posted March 24, 2022 Posted March 24, 2022 I have a field in pages field_18, which is a checkbox set. When I list values in my template, they usually are printed like this: Label: check1, check2, check3 I change to custom format in display options because I "need" it in a table, and I want each checkbox checked to be a link where it's filtering for that specific checkbox. So I've tried to do the stuff below. Not very sure of what I'm doing, but it is sort of working. I do, however, have a hardcoded url there. I just use the url I get when doing such a record filter manually. I wonder how to do this more dynamically, for example if I change the name of the page I do not have to change all of these fields. <tr><td>{$label}</td><td> {{$myarray = explode(',', $value);}} {{$myidarray = explode(',', $formValue);}} {{foreach $myarray as $id => $entry}} <a href="hardcodeurl&advanced_search_submitted=1&content_field_18[{$myidarray[$id]}]={$myidarray[$id]}&&&&sortby=primary_id_field&sortdirection=asc&record_type=all&time_frame=show_all"><span class="ipsBadge ipsBadge_style8">{$entry}</a></span> {{endforeach}} </td></tr>
Jim M Posted March 24, 2022 Posted March 24, 2022 Thanks for posting! Unfortunately, this issue is beyond the scope of our technical support. 👩💻 Our technical support is happy to help you with the Invision Community platform, but we're unable to help with things like server management, theme questions and modifications. I've moved this to our Community Support area where other Invision Community owners will see it and help where they can. flimmer 1
flimmer Posted March 24, 2022 Author Posted March 24, 2022 1 hour ago, Jim M said: Thanks for posting! Sorry, I didn't realize it was for tech support for the platform only 🙂 Thanks for moving it!
Recommended Posts