View By Year (List) - Latest Events At Top
JEvents 2.0 was launched over 2 years ago and the latest stable version is version 2.2 which will run on Joomla 1.5 and Joomla 2.5. JEvents 1.5 is therefore no longer actively supported - you should upgrade to JEvents 2.2+ as soon as possible.
Forum rules
Please include as much detail in any test or bug reports for JEvents 1.5 as possible.
First of all, check if you are running the latest available version of Joomla! and JEvents. Posts for issues, where both systems are not updated, will be ignored.
We need the following at least:
* PHP version (e.g. 5.2.5). Note: Support for PHP4 is discontinued.
* Joomla! version
* JEvents version
* Web Server software (Apache or IIS with version number if possible)
* Server Operating system (e.g. Linux, Windows, Solaris, Darwin ...)
* Database version
* memory_limit from your phpinfo
* Web browser and version
Please enable error reporting and include any error messages in your posting. You do this via the Joomla Configuration - set "error reporting" to "maximum" on the Server tab.
Finally, please describe the steps required to recreate the problem and also please enable error reporting and give us any error messages generated.
Please include as much detail in any test or bug reports for JEvents 1.5 as possible.
First of all, check if you are running the latest available version of Joomla! and JEvents. Posts for issues, where both systems are not updated, will be ignored.
We need the following at least:
* PHP version (e.g. 5.2.5). Note: Support for PHP4 is discontinued.
* Joomla! version
* JEvents version
* Web Server software (Apache or IIS with version number if possible)
* Server Operating system (e.g. Linux, Windows, Solaris, Darwin ...)
* Database version
* memory_limit from your phpinfo
* Web browser and version
Please enable error reporting and include any error messages in your posting. You do this via the Joomla Configuration - set "error reporting" to "maximum" on the Server tab.
Finally, please describe the steps required to recreate the problem and also please enable error reporting and give us any error messages generated.
View By Year (List) - Latest Events At Top
by C. Dark » Sun Jul 19, 2009 10:41 pm
Hello from Berlin,
The subject question above has been answered on Jevents.net:
"Write a template override of the year view and reverse the month count".
BUT - I really don't know how to. Where is the code in the listevents_body.php (com_jevents\views\default\year\tmpl), looks like this:
for($month = 1; $month <= 12; $month++) {
$num_events = count($data["months"][$month]["rows"]);
if ($num_events>0){
echo "<tr><td class='ev_td_left'>".JEventsHTML::getDateFormat($this->year,$month,'',3)."</td>\n";
echo "<td class='ev_td_right'>\n";
echo "<ul class='ev_ul'>\n";
for ($r = 0; $r < $num_events; $r++) {...........................etc.
. Or which document, how exactly is the month count code?
2. Question:
I've tried to save my changes in views like it is said on: http://www.jevents.net/en/jevents-15-to ... jevents-15 , but it doesn't work. Does anybody know how?
Thanks a lot.
Claudy
The subject question above has been answered on Jevents.net:
"Write a template override of the year view and reverse the month count".
BUT - I really don't know how to. Where is the code in the listevents_body.php (com_jevents\views\default\year\tmpl), looks like this:
for($month = 1; $month <= 12; $month++) {
$num_events = count($data["months"][$month]["rows"]);
if ($num_events>0){
echo "<tr><td class='ev_td_left'>".JEventsHTML::getDateFormat($this->year,$month,'',3)."</td>\n";
echo "<td class='ev_td_right'>\n";
echo "<ul class='ev_ul'>\n";
for ($r = 0; $r < $num_events; $r++) {...........................etc.
. Or which document, how exactly is the month count code?
2. Question:
I've tried to save my changes in views like it is said on: http://www.jevents.net/en/jevents-15-to ... jevents-15 , but it doesn't work. Does anybody know how?
Thanks a lot.
- C. Dark
- Posts: 1
- Joined: Sun Jul 19, 2009 10:10 pm
Re: View By Year (List) - Latest Events At Top
by dcg » Mon Aug 17, 2009 4:25 pm
Did you ever figure this out? I would really appreciate it if you could tell me how you did it and show me how you altered the code.
- dcg
- Posts: 1
- Joined: Mon Aug 17, 2009 4:23 pm
2 posts
• Page 1 of 1
Return to JEvents 1.5 (No longer actively supported)
Who is online
Users browsing this forum: Google [Bot]

