Main menu

Forum


× Help Forum English

[SOLVED] Compatibility with Frontpage Slideshow & other questions

  • jonmar
  • Topic Author
  • Active Member
  • Active Member
More
10 years 1 month ago #13529 by jonmar
It's perfect! Thank you!

Will the same code work if I want to change the dates to display in the same way in the event page itself? Like when I click on the event in the list, and go read the event details, there's a date there. Can I just copy and paste this code into that div as well?

You're the best! Thanks again!

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

  • Lyr!C
  • Lyr!C's Avatar
  • Administrator
  • Administrator
  • Lead Developer
More
10 years 1 month ago #13530 by Lyr!C
Great!

About event details view, the $evt variable does not exist (yet...)

So try this code :
	<?php if (iCDate::isDate($item->startdate) && ! $item->weekdays) : ?>
		<?php echo JHtml::date($item->startdate, 'j.n', null); ?> - <?php echo JHtml::date($item->enddate, 'j.n', null); ?>
	<?php elseif ($dateday) : ?>
		<?php echo JHtml::date($dateday, 'j.n', null); ?>
	<?php else : ?>
		<?php echo JHtml::date($item->next, 'j.n', null); ?>
	<?php endif; ?>

I think this may work in all cases. ;-)

Latest version : iCagenda 4.0.17 Joomla! 4 > Joomla! 6
We recommend every user to keep iCagenda updated.
Support for iCagenda version 3.9 (the final version compatible with Joomla 3) ended on October 13, 2026
Extended security support for the iCagenda PRO 3.9 version until October 13, 2027 (to benefit from this extended support, you must have a Pro subscription: www.joomlic.com/extensions/icagenda)
Don't forget to have your Joomla!® up-to-date!

Do you like iCagenda?
I would appreciate if you could take 5 minutes to post a review on JED (Joomla Extensions Directory) .

File Attachment:

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

  • jonmar
  • Topic Author
  • Active Member
  • Active Member
More
10 years 1 month ago #13532 by jonmar
That worked perfectly again!

Awesome, we can finally close this thread :D.

Thank you so much!

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

  • Lyr!C
  • Lyr!C's Avatar
  • Administrator
  • Administrator
  • Lead Developer
More
10 years 1 month ago #13538 by Lyr!C
You're welcome! ;-)

My Pleasure to help (even if sometimes when busy, it could take some time ;-) )

Best Regards,
Cyril

Latest version : iCagenda 4.0.17 Joomla! 4 > Joomla! 6
We recommend every user to keep iCagenda updated.
Support for iCagenda version 3.9 (the final version compatible with Joomla 3) ended on October 13, 2026
Extended security support for the iCagenda PRO 3.9 version until October 13, 2027 (to benefit from this extended support, you must have a Pro subscription: www.joomlic.com/extensions/icagenda)
Don't forget to have your Joomla!® up-to-date!

Do you like iCagenda?
I would appreciate if you could take 5 minutes to post a review on JED (Joomla Extensions Directory) .

File Attachment:

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

Moderators: Lyr!C
Time to create page: 0.128 seconds

Follow Us

Create your Joomla templates with Template Creator CK

acymailing logo new