Custom title yields Invalid mla_gallery tax_query ERROR
-
Hi just went back to me site https://downtonparishcouncil.gov.uk/main-council/agendas-and-minutes and I have these errors:
ERROR: Invalid mla_gallery tax_query = ‘my_gallery_title=”2016’I use the same code all over the wide site to display a subset of the PDFs based on categories and tags and passing the title using my_gallery_title:
‘
mla_gallery
my_gallery_title=”2017 Documents”
post_parent=all
post_mime_type=application/pdf
category_name=pub-doc
tag=”main+2017″
size=icon
mla_image_attributes=’width=”16″ height=”16″ ‘
columns=1
link=title
orderby=”title DESC”]
‘
I have created a new style:
‘
<style type=’text/css’>
#[+selector+] {
margin: 0;
width: auto;
}
#[+selector+] .gallery-row td .gallery-icon {
width: 16;
height: 16;
vertical-align: top;
}
#[+selector+] .gallery-row .gallery-icon img {
border: 0px solid #FF0000;
}
#[+selector+] .gallery-row {
float: none;
text-align: left;
width: auto;
}
#[+selector+] .header-row {
float: none;
text-align: left;
width: auto;
font-weight: bold;
}
#[+selector+] .gallery-caption {
margin-left: 0;
vertical-align: top;
}
</style>
‘
and a new template:
‘
OPEN – <h3>[+template:([+query:my_gallery_title+]|Default Gallery Title)+]</h3>
<table id=”[+selector+]” class=”gallery galleryid-[+id+] gallery-columns-[+columns+] gallery-size-[+size_class+]”>
<tr class=”header-row”><th>Document Title</th><th>Click icon to view file</th></tr>
ROW OPEN – <tr class=”gallery-row”>
ITEM – <td> [+pdf:Title+] </td>
<td class=”gallery-icon”> [+link+] </td>
ROW CLOSE – </tr>
CLOSE – </table>
‘It looks like the template can no longer ‘understand’ this my_gallery_title=”2017 Documents”
Any help appreciated.
Paul
- The topic ‘Custom title yields Invalid mla_gallery tax_query ERROR’ is closed to new replies.