On our one of our staging pages (*link removed due to security reasons)
I use accordions to present product listings from our ‘lenses’ HubDB ID 5307563. All column 1 and most of column 2 accordions work as expected, sample code per:
<div>{% set table_id = 5307563%}</div>
<div>{% for row in hubdb_table_rows(5307563,'class__contains=Pinhole') %} <img src="https://f.hubspotusercontent40.net/hubfs/20881091/images/{{ row.filename }}.jpg" data-constrained="true" style="float: right; display: inline-block; width: 200px; padding-top: 20px;">
<p>Model: {{ row.model_no }}<br>MTF: <a href="https://f.hubspotusercontent40.net/hubfs/20881091/pdfs/mtf-{{ row.filename }}.pdf" rel="noopener">{{ row.filename }}</a><br>Focal Length (mm): {{ row.focal_length }}<br>Aperature (f): {{ row.aperature }}<br>Back Focal Length (mm): {{ row.back_focal }}<br>Sensor: {{row.sensor }}<br>Field of View (deg): {{ row.field_of_view }}</p>
<div>Request: <a href="/data-sheet-request?interest=lenses&document_filename=pds-{{ row.filename }}.pdf&document_title={{ row.name }}&part_number={{ row.name }}">{{ row.name }}</a></div>
<hr>{% endfor %}</div>
where rows are selected by ‘class’. The last 2 accordion sections in column 2 (CS - 3MP & M14 - VF) cheerfully refuse to display the required content. Sample code:
<div>{% set table_id = 5307563%}</div>
<div>{% for row in hubdb_table_rows(5307563,'class__contains=CS - 3MP') %} <img src="https://f.hubspotusercontent40.net/hubfs/20881091/images/{{ row.filename }}.jpg" data-constrained="true" style="float: right; display: inline-block; width: 200px; padding-top: 20px;">
<p>Model: {{ row.model_no }}<br>MTF: <a href="https://f.hubspotusercontent40.net/hubfs/20881091/pdfs/mtf-{{ row.filename }}.pdf" rel="noopener">{{ row.filename }}</a><br>Focal Length (mm): {{ row.focal_length }}<br>Aperature (f): {{ row.aperature }}<br>Back Focal Length (mm): {{ row.back_focal }}<br>Sensor: {{row.sensor }}<br>Field of View (deg): {{ row.field_of_view }}</p>
<div>Request: <a href="/data-sheet-request?interest={{ row.product }}&document_filename=pds-{{ row.filename }}.pdf&document_title={{ row.name }}&part_number={{ row.name }}">{{ row.name }}</a></div>
<hr>{% endfor %}</div>
Rows with classes ‘CS - 3MP’ and ‘M14 - VF’ exist in the HubDB, yet these refuse to display. I have taken several steps to trouble-shoot but nothing works.
Is there anything obvious in what I’m doing wrong?
WmFlanigan