Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

Showing image in eventlist 4 months 1 week ago #27434

  • romke
  • romke's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 10
  • Thank you received: 0
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.

Please Log in or Create an account to join the conversation.

Showing image in eventlist 4 months 1 week ago #27435

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.
						<?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.
(won't respond to PM)
==================================================================
running local: pre-alpha JEM 4.x (custom version) + Joomla 4.0.0beta3 + PHP 7.2.25
running live: jem2.3.0

Please Log in or Create an account to join the conversation.

Last edit: by Bluefox.

Showing image in eventlist 4 months 1 week ago #27437

  • romke
  • romke's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 10
  • Thank you received: 0
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!

Please Log in or Create an account to join the conversation.

Showing image in eventlist 4 months 1 week ago #27438

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.
(won't respond to PM)
==================================================================
running local: pre-alpha JEM 4.x (custom version) + Joomla 4.0.0beta3 + PHP 7.2.25
running live: jem2.3.0

Please Log in or Create an account to join the conversation.

Last edit: by Bluefox.
  • Page:
  • 1
Time to create page: 0.231 seconds

Donate

If you find JEM useful and if you use it on your site, please consider a donation to the project.

Private Messages

You are not logged in.

Follow us......