-
iCagenda
-
iCagenda Theme Packs
-
[SOLVED] How do I remove image from the mouseover preview of the event?
[SOLVED] How do I remove image from the mouseover preview of the event?
-
lucasm
-
Auteur du sujet
-
Nouveau membre
-
Réduire
Plus d'informations
-
Messages : 2
-
Remerciements reçus 1
-
-
il y a 11 ans 5 mois #4015
par lucasm
Hello!
ICagenda has been working wonderfully for my specific need of an administrative calendar for our intranet. Due to user feedback, I'd like to remove the image display in the event preview when you mouseover a event in the calendar, as we are not going to use it and it keeps displaying a box with 'no image' written inside of it. Could you guys help me with that?
Thank you for taking your time addressing this matter.
Connexion ou Créer un compte pour participer à la conversation.
-
Lyr!C
-
-
Administrateur
-
-
Lead Developer
Réduire
Plus d'informations
-
Messages : 6774
-
Remerciements reçus 606
-
-
-
-
il y a 11 ans 5 mois #4026
par Lyr!C
I've moved your topic in Theme pack forum.
So, watch the tutorial video, on how to create a theme pack.
And edit the file YOUR_THEME_NAME_day.php
Remove this lines :
if ($e['image']) {
echo '<a href="'.$e['url'].'"><div class="linkTo"><span style="background: '.$e['cat_color'].';" class="img"><img src="'.$e['image'].'"/></span>';
}
else {
echo '<a href="'.$e['url'].'"><div class="linkTo"><span style="background: '.$e['cat_color'].';" class="img"><div class="noimg '.$bgcolor.'">'.$e['no_image'].'</div></span>';
}
And it should do the job
Latest version : iCagenda 3.9.7
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)
.
Connexion ou Créer un compte pour participer à la conversation.
-
lucasm
-
Auteur du sujet
-
Nouveau membre
-
Réduire
Plus d'informations
-
Messages : 2
-
Remerciements reçus 1
-
-
il y a 11 ans 5 mois - il y a 11 ans 5 mois #4040
par lucasm
Hello!
Thank you for the quick response. Although removing this block of code kinda broke the calendar format, I've managed to make it work by simply removing the <span> from the no-image.
So the block of code:
if ($e['image']) {
echo '<a href="'.$e['url'].'"><div class="linkTo"><span style="background: '.$e['cat_color'].';" class="img"><img src="'.$e['image'].'"/></span>';
}
else {
echo '<a href="'.$e['url'].'"><div class="linkTo"><span style="background: '.$e['cat_color'].';" class="img"><div class="noimg '.$bgcolor.'">'.$e['no_image'].'</div></span>';
}
was changed to:
if ($e['image']) {
echo '<a href="'.$e['url'].'"><div class="linkTo"><span style="background: '.$e['cat_color'].';" class="img"><img src="'.$e['image'].'"/></span>';
}
else {
echo '<a href="'.$e['url'].'"><div class="linkTo"><div class="noimg '.$bgcolor.'"></div>';
}
Thank you again, and keep up the good work!
Dernière édition: il y a 11 ans 5 mois par lucasm.
Les utilisateur(s) suivant ont remercié: Lyr!C
Connexion ou Créer un compte pour participer à la conversation.
-
Lyr!C
-
-
Administrateur
-
-
Lead Developer
Réduire
Plus d'informations
-
Messages : 6774
-
Remerciements reçus 606
-
-
-
-
il y a 11 ans 5 mois #4041
par Lyr!C
Thanks for your test, and solution, i didn't have time to test it before
I will think of an option (and other) when i will create a new module for calendar (maybe this summer)
Latest version : iCagenda 3.9.7
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)
.
Connexion ou Créer un compte pour participer à la conversation.
-
iCagenda
-
iCagenda Theme Packs
-
[SOLVED] How do I remove image from the mouseover preview of the event?
Temps de génération de la page : 0.144 secondes