Main menu

Forum


× Help Forum English

Add cancel selector at top of event

  • d2o
  • Portrait de d2o Auteur du sujet
  • Nouveau membre
  • Nouveau membre
Plus d'informations
il y a 1 an 3 mois #18132 par d2o
Add cancel selector at top of event a été créé par d2o
Hi,

maybe just a tiny change that could help with styling.
When cancelling an event (first time I had this today), a nice little badge is added which also is configurable. Love that.
What I wanted to do next is to change the overall display of the event. Unfortunately, this requires some scripting, as the top level block of the event has no knowledge of the cancellation. Requires checking the child list of the block. I think there is a proposal for such a CSS syntax.

tl;dr: Would be great, if a class was attached to the top level div marking the whole block as "cancelled".

Thanks and all the best,
Stefan

Connexion ou Créer un compte pour participer à la conversation.

  • Lyr!C
  • Portrait de Lyr!C
  • Administrateur
  • Administrateur
  • Lead Developer
Plus d'informations
il y a 1 an 3 mois #18144 par Lyr!C
Réponse de Lyr!C sur le sujet Add cancel selector at top of event
Hello,
That's a good idea!
I think you need it in both list and event details views?

Note: i've already got the task in my todo list to add event id in list of events, so i can check in same time to add a cancelled class when event is cancelled in both location.

Best regards,
Cyril
 

Latest version : iCagenda 3.9.5
We recommend every user to keep iCagenda updated.
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) .

Fichier attaché :

Connexion ou Créer un compte pour participer à la conversation.

  • Lyr!C
  • Portrait de Lyr!C
  • Administrateur
  • Administrateur
  • Lead Developer
Plus d'informations
il y a 1 an 2 mois #18167 par Lyr!C
Réponse de Lyr!C sur le sujet Add cancel selector at top of event
Hello,

This will be added in next release 3.8.17.

The class name for cancelled events will be "ic-event-cancelled".

To be released next week! ;-)

Best regards,
Cyril

Latest version : iCagenda 3.9.5
We recommend every user to keep iCagenda updated.
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) .

Fichier attaché :

Connexion ou Créer un compte pour participer à la conversation.

Modérateurs: Lyr!C
Temps de génération de la page : 0.284 secondes

Follow Us

Créez vos templates Joomla avec Template Creator CK

acymailing logo new