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

TOPIC: using different timezones

partly solved - using different timezones 2 months 3 weeks ago #25741

  • dl9lc
  • dl9lc's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 2
this works as expected
			endif;
                       //  begin of modification
			echo " ";
			$cr = 1;
			echo $item->{'custom'.$cr};
                        // end of modification
			?>

thanks a lot for your help!

vy73, Lena

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

partly solved - using different timezones 2 months 3 weeks ago #25742

  • dl9lc
  • dl9lc's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 2
in /joomla_root/components/com_jem/common/views/tmpl/default_events_table.php
i can add
echo " ";
$cr = 1;
echo $row->{'custom'.$cr};
just behind the date/time in the same td and it works fine, but it seems to me i have to modify the original file, because this is included. This way it is not update proof.
Is it the right way to create an overlay of the category-view and then include the modified version by
<?php echo $this->loadTemplate('mod_events_table'); ?>
or is there a better way?

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

solved - using different timezones 2 months 3 weeks ago #25753

  • dl9lc
  • dl9lc's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 2
OK,by now i have solved it as written above, but you have to prefix the included file with an "edit_" so it looks like
<?php echo $this->loadTemplate('mod_events_table'); ?>
loading the file "'edit_mod_events_table.php'".
I know, in this case "mod" as shortform for modified is not the best idea ;)

Ones again many thanks, 73 Lena

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

Last edit: by dl9lc.

using different timezones 2 months 3 weeks ago #25760

  • Egnarts
  • Egnarts's Avatar
  • Offline
  • Gold Boarder
  • Gold Boarder
  • Posts: 255
  • Karma: -3
  • Thank you received: 107
Hey,
sorry for my late response. I am happy you found a way yourself to add the custom field!
Very good :)
Take a look at the responsive version of JEM: The Responsive JEM

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

  • Page:
  • 1
  • 2
Time to create page: 0.278 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......