-
iCagenda
-
iCagenda - English
-
Multiple dates not in ascending order in subm form
Multiple dates not in ascending order in subm form
-
mediaw
-
Auteur du sujet
-
Nouveau membre
-
Réduire
Plus d'informations
-
Messages : 3
-
Remerciements reçus 0
-
-
il y a 10 ans 10 mois - il y a 10 ans 10 mois #6667
par mediaw
After carefully setting all parameters in admin to have all dates in ascending order (first date first and last date last) everything looks fine despite the order of dates showing up in the submission form where the last date is shown first. This is not optimal and can be confusing for people. Where (what file) can this be fixed and what to do (suggestion on how to code, not good at coding..)? Would really appreciate a fast answer from someone who have a good solution.
Please someone having an idea of a solution, urgent!
Dernière édition: il y a 10 ans 10 mois par mediaw.
Connexion ou Créer un compte pour participer à la conversation.
-
Lyr!C
-
-
Administrateur
-
-
Lead Developer
Réduire
Plus d'informations
-
Messages : 6784
-
Remerciements reçus 608
-
-
-
-
il y a 10 ans 10 mois #6686
par Lyr!C
Hello,
So first, upgrade to iCagenda 3.3.0.
Then, you can modified the line 2288 in file ROOT/components/com_icagenda/helpers/icmodel.php
Replace this :
By this :
An option for this is in my todo list for one of the future releases.
Latest version : iCagenda 3.9.8
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.
-
mediaw
-
Auteur du sujet
-
Nouveau membre
-
Réduire
Plus d'informations
-
Messages : 3
-
Remerciements reçus 0
-
-
il y a 10 ans 10 mois #6723
par mediaw
Hello and thank You for Your answer/support with this matter.
I've done the upgrade and changed the line according to Your instructions, cleared cache but still same thing, last date first..
Am I missing something..?
Connexion ou Créer un compte pour participer à la conversation.
-
Lyr!C
-
-
Administrateur
-
-
Lead Developer
Réduire
Plus d'informations
-
Messages : 6784
-
Remerciements reçus 608
-
-
-
-
il y a 10 ans 10 mois #6770
par Lyr!C
mediaw écrit: Hello and thank You for Your answer/support with this matter.
I've done the upgrade and changed the line according to Your instructions, cleared cache but still same thing, last date first..
Am I missing something..?
Sorry!
It's mine error...
Search for those lines in icmodel.php :
if (($daysdtest != '943916400') AND ($daysptest != NULL)) {
$days=$allDates;
sort($days);
And here, replace 'sort' by 'rsort' ...
Lyr!C
Latest version : iCagenda 3.9.8
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 - English
-
Multiple dates not in ascending order in subm form
Temps de génération de la page : 0.092 secondes