help to better help you:
Please: add always Joomla / JEM version and details to your posts, so we can try to reproduce your issue!
Showing image in eventlist
Showing image in eventlist
4 years 4 months ago
JEM 2.3.0. J. 319.20 (site https//smelnesport.nl/agenda/agendalijst
Although I have set in the settings to show the eventimage, the image is not shown.
I tried to figure out where in the views of models this is being arranged, though I couldn't find it.
miight this be a bug?
Or how can I change the corrrect file, which file is should be en what is the code to let the image shown?
I tried to make changes to common/views/timpl/responsive/derfault_jem_evenlist.php, but it did'nt work out! (or I must have used the wrong code)
Could you help me out?
De event afbeelding wordt niet getoond. Is dit een bug? Heb al even gezocht maar nog niet kunnen vinden in welk bestand (view of model). vermoed overigens commons/views/tmpl/responsive/default_jem_eventlist.php
Kunnen jullie mij eventueel op weg helpen?
bvd
Romke.
Although I have set in the settings to show the eventimage, the image is not shown.
I tried to figure out where in the views of models this is being arranged, though I couldn't find it.
miight this be a bug?
Or how can I change the corrrect file, which file is should be en what is the code to let the image shown?
I tried to make changes to common/views/timpl/responsive/derfault_jem_evenlist.php, but it did'nt work out! (or I must have used the wrong code)
Could you help me out?
De event afbeelding wordt niet getoond. Is dit een bug? Heb al even gezocht maar nog niet kunnen vinden in welk bestand (view of model). vermoed overigens commons/views/tmpl/responsive/default_jem_eventlist.php
Kunnen jullie mij eventueel op weg helpen?
bvd
Romke.
Please Log in or Create an account to join the conversation.
Re: Showing image in eventlist
4 years 4 months ago - 4 years 4 months ago
normally it's indeed the file default_events_table in common folder unless the option for responsive tmpl was ticked.
There should be a setting to display images in the table. it's within the settings-view | layout settings.
--> How is the image entry in the database-table?
--> something that can be done is to remove the if statements (display without check if setting for imagedisplay was ticked) to see if it makes a difference or maybe you've an error somewhere.
There should be a setting to display images in the table. it's within the settings-view | layout settings.
Code:
<?php if ($this->jemsettings->showeventimage == 1) : ?>
<td headers="jem_eventimage" align="left" valign="top">
<?php if (!empty($row->datimage)) : ?>
<?php
$dimage = JemImage::flyercreator($row->datimage, 'event');
echo JemOutput::flyer($row, $dimage, 'event');
?>
<?php endif; ?>
</td>
<?php endif; ?>
--> How is the image entry in the database-table?
--> something that can be done is to remove the if statements (display without check if setting for imagedisplay was ticked) to see if it makes a difference or maybe you've an error somewhere.
Last edit: 4 years 4 months ago by Bluefox.
Please Log in or Create an account to join the conversation.
Re: Showing image in eventlist
4 years 4 months ago
Het was weer even puzzelen, maar uiteindelijk gelukt.
Moest zijn in het bestand: commons/views/tmpl/responsive/default_jem.eventslist_small.php
Wederom dank voor de respons.
Solved!
Moest zijn in het bestand: commons/views/tmpl/responsive/default_jem.eventslist_small.php
Wederom dank voor de respons.
Solved!
Please Log in or Create an account to join the conversation.
Re: Showing image in eventlist
4 years 4 months ago - 4 years 4 months ago
ah ja.
als ik het goed had gezien miste daar de code voor de image dus dan is het inderdaad wel logisch dat het ontbrak. Ging er eigenlijk vanuit dat je een andere pagina gebruikte. Maar goed dat het is opgelost.
als ik het goed had gezien miste daar de code voor de image dus dan is het inderdaad wel logisch dat het ontbrak. Ging er eigenlijk vanuit dat je een andere pagina gebruikte. Maar goed dat het is opgelost.
Last edit: 4 years 4 months ago by Bluefox.
Please Log in or Create an account to join the conversation.
Time to create page: 0.454 seconds