-
iCagenda
-
iCagenda - English
-
[TRICK] Custom CSS suffix for module
[TRICK] Custom CSS suffix for module
-
goncatin
-
Auteur du sujet
-
Membre junior
-
Réduire
Plus d'informations
-
Messages : 4
-
Remerciements reçus 0
-
-
il y a 13 ans 11 mois - il y a 13 ans 11 mois #1395
par goncatin
My solution for add a css suffix for the module:
Open modules/mod_iccalendar/mod_iccalendar.php
Locate the line
defined( '_JEXEC' ) or die( 'Restricted access' );
After this line add in a new line:
$moduleclass_sfx = $params->get('moduleclass_sfx','');
Now open modules/mod_iccalendar/mod_iccalendar.xml
Go to line 204 and add
<field name="moduleclass_sfx" type="text" label="COM_MODULES_FIELD_MODULECLASS_SFX_LABEL"
description="COM_MODULES_FIELD_MODULECLASS_SFX_DESC" />
Now in advanced options tab you can find the new option.
Please, include this code in the new version of iCalendar.
(Sorry for my language, english isn´t my mother language)
Dernière édition: il y a 13 ans 11 mois par Lyr!C. Raison: [TRICK]
Connexion ou Créer un compte pour participer à la conversation.
-
regis
-
-
Membre premium
-
Réduire
Plus d'informations
-
Messages : 121
-
Remerciements reçus 11
-
-
-
-
-
il y a 13 ans 11 mois #1396
par regis
Hi Crokan !
Css class suffix for the module will be integrated into the next version of iCagenda.
Thank you for your tip for those who do not want to wait.
- Si vous aimez iCagenda et son support, merci de poster un petit commentaire sur le JED
- If you like iCagenda and support, thank you to post a small comment on the JED
➯
♥ iCagenda on JED
Connexion ou Créer un compte pour participer à la conversation.
-
Lyr!C
-
-
Administrateur
-
-
Lead Developer
Réduire
Plus d'informations
-
Messages : 6971
-
Remerciements reçus 624
-
-
-
-
il y a 13 ans 11 mois #1413
par Lyr!C
And add suffix css in html file too : TEMPLATENAME_calendar.php
<div class="iccalendar<?php echo $params->get('moduleclass_sfx'); ?>">
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)
.
Connexion ou Créer un compte pour participer à la conversation.
-
iCagenda
-
iCagenda - English
-
[TRICK] Custom CSS suffix for module
Temps de génération de la page : 0.055 secondes