Main menu

Forum


× Help Forum English

Show all event for the public - content for registered only

  • Neoimage
  • Autore della discussione
  • Junior Member
  • Junior Member
Di più
12 Anni 9 Mesi fa #6386 da Neoimage
Hi,
I need the possibility to have all events visible for the public (in the module too) but if I click on the details I need a "register to read more" for the event with registered only permissions.

Is this feature already in your last release, or is it in the road map?

Thank you in advance for the answer.

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • Lyr!C
  • Avatar di Lyr!C
  • Administrator
  • Administrator
  • Lead Developer
Di più
12 Anni 9 Mesi fa #6406 da Lyr!C
hi,

It's not an idea i thought of...

This could be added in roadmap, but it's possible to add it in a custom theme pack by using the function to detect user permissions.

Something like this added in event.php (not tested) :
// Level you want for access, for example '1' is registered
		$accessSet = '1';

		// Get User Access Levels
		$user = JFactory::getUser();
		$userLevels = $user->getAuthorisedViewLevels();

		// Control: if access level
		if ( in_array($accessSet, $userLevels) )  {
			
			// add here the code of event.php.

		} else {
			// Add here an alert message, or a redirect page, or else
		}


;-)

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 allegato:

Ringraziano per il messaggio: Neoimage

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • Neoimage
  • Autore della discussione
  • Junior Member
  • Junior Member
Di più
12 Anni 9 Mesi fa #6413 da Neoimage
Thank you very much !! I will try your solution !

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • Lyr!C
  • Avatar di Lyr!C
  • Administrator
  • Administrator
  • Lead Developer
Di più
12 Anni 9 Mesi fa #6419 da Lyr!C

Neoimage ha scritto: Thank you very much !! I will try your solution !


Keep me informed of your testing! ;-)

Lyr!C

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 allegato:

Si prega Accedi o Crea un account a partecipare alla conversazione.

Moderatori: Lyr!C
Tempo creazione pagina: 0.055 secondi

Follow Us

Create your Joomla templates with Template Creator CK

acymailing logo new