Search
Other Articles Anywhere questions
Forum

Image not displayed and date format error

Laurent Lacoste's Avatar Laurent Lacoste
Hi,

I have created this layout : prntscr.com/1tb6t2v
My custom fields are here : prntscr.com/1tb6v42
The result should be like this (with image and date) : prntscr.com/1tb6wy2
But I get this (date format is wrong and image not displayed) : prntscr.com/1tb6yto

Confidential information:
(hidden)


Do you have an idea why?

Thanks
L.
Peter van Westen's Avatar Peter van Westen ADMIN
Please try the latest development version from:
regularlabs.com/development-releases
Please post a rating at the Joomla! Extensions Directory
Laurent Lacoste's Avatar Laurent Lacoste
works fine for the date see here
Confidential information:
(hidden)


but image is not displayed.

and, also, the css class added to date field is not enabled : prntscr.com/1tbg3tq
Laurent Lacoste's Avatar Laurent Lacoste
no css class : prntscr.com/1tbgxf6
Peter van Westen's Avatar Peter van Westen ADMIN
To add a class to the field-value, you need to use the Render Class in the field settings, or to override that, use render_class="..." in the data tag.

The 'intro-' and 'fulltext-' prefixes are reserved for the core images. So Articles Anywhere assumes you are trying to get data from those.

I recommend you change the alias of your media field to something else, like 'blog-image'.
Please post a rating at the Joomla! Extensions Directory
Laurent Lacoste's Avatar Laurent Lacoste
ok works fine for the image and css class for the date.

about css class for the image, do I have to use render_class="..." or class="..." in the data tag ?
Peter van Westen's Avatar Peter van Westen ADMIN
That depends on what class you want to set. Check the field edit form to see the available fields you can set. Use the element inspector to see what the field name is.
Please post a rating at the Joomla! Extensions Directory
Laurent Lacoste's Avatar Laurent Lacoste
Ok many thanks for your help.
Have a nice evening.
L.
You can only post on the extension support forum if you have an active subscription and you log in

Buy a Pro subscription