-
iCagenda
-
iCagenda - English
-
Multiple dates not in ascending order in subm form
Multiple dates not in ascending order in subm form
-
mediaw
-
Autore della discussione
-
New Member
-
Riduci
Di più
-
Messaggi: 3
-
Ringraziamenti ricevuti 0
-
-
10 Anni 10 Mesi fa - 10 Anni 10 Mesi fa #6667
da 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!
Ultima Modifica 10 Anni 10 Mesi fa da mediaw.
Si prega Accedi o Crea un account a partecipare alla conversazione.
-
Lyr!C
-
-
Administrator
-
-
Lead Developer
Riduci
Di più
-
Messaggi: 6784
-
Ringraziamenti ricevuti 608
-
-
-
-
10 Anni 10 Mesi fa #6686
da 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)
.
Si prega Accedi o Crea un account a partecipare alla conversazione.
-
mediaw
-
Autore della discussione
-
New Member
-
Riduci
Di più
-
Messaggi: 3
-
Ringraziamenti ricevuti 0
-
-
10 Anni 10 Mesi fa #6723
da 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..?
Si prega Accedi o Crea un account a partecipare alla conversazione.
-
Lyr!C
-
-
Administrator
-
-
Lead Developer
Riduci
Di più
-
Messaggi: 6784
-
Ringraziamenti ricevuti 608
-
-
-
-
10 Anni 10 Mesi fa #6770
da Lyr!C
mediaw ha scritto: 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)
.
Si prega Accedi o Crea un account a partecipare alla conversazione.
-
iCagenda
-
iCagenda - English
-
Multiple dates not in ascending order in subm form
Tempo creazione pagina: 0.184 secondi