Listing View changes 
Discuss JEvents 2.x for Joomla 1.5-2.5 here - club members can use the special club forum for faster response times.
Forum rules
When requesting support, please copy and paste the 'Version information for Support Forum' from the JEvents Control Panel into your post. If you cannot see this, please enable JEvents project news within it's configuration. Also, if you get a 500 Error, Enable Joomla! Maximum Error Reporting and view the page again, you should now have a more detailed error which will help us to resolve you issue quickly.
When requesting support, please copy and paste the 'Version information for Support Forum' from the JEvents Control Panel into your post. If you cannot see this, please enable JEvents project news within it's configuration. Also, if you get a 500 Error, Enable Joomla! Maximum Error Reporting and view the page again, you should now have a more detailed error which will help us to resolve you issue quickly.
Listing View changes
by peterporta » Fri Sep 28, 2012 7:29 pm
Hi,
I want to change the listing-view so, that the date in the left table-field is closed and I only have one table-field with whole data.
I thought, it was in "views/ext/admin/tmpl/listevents_body.php" to change, but it doesn't work. JEvent uses ext layout under j2.5.7.
Here are the code-rows, I tried to change without success:
if( $num_events > 0 ){
for( $r = 0; $r < $num_events; $r++ ) {
$row = $data['rows'][$r];
$event_month_year = $row->mup().$row->yup();
if( $event_month_year <> $chdate && $chdate <> ""){
echo '</ul></td></tr>' . "\n";
}
if( $event_month_year <> $chdate ){
echo '<tr><td class="ev_td_left">'. "\n"
. JEventsHTML::getDateFormat( $row->yup(), $row->mup(), '', 3 ) .'</td>' . "\n";
echo '<td class="ev_td_right"><ul class="ev_ul">' . "\n";
}
$this->viewEventRowAdmin($row);
$chdate = $event_month_year;
}
echo '</ul></td>' . "\n";
What do I have to delete or change to have effect?
I want to change the listing-view so, that the date in the left table-field is closed and I only have one table-field with whole data.
I thought, it was in "views/ext/admin/tmpl/listevents_body.php" to change, but it doesn't work. JEvent uses ext layout under j2.5.7.
Here are the code-rows, I tried to change without success:
if( $num_events > 0 ){
for( $r = 0; $r < $num_events; $r++ ) {
$row = $data['rows'][$r];
$event_month_year = $row->mup().$row->yup();
if( $event_month_year <> $chdate && $chdate <> ""){
echo '</ul></td></tr>' . "\n";
}
if( $event_month_year <> $chdate ){
echo '<tr><td class="ev_td_left">'. "\n"
. JEventsHTML::getDateFormat( $row->yup(), $row->mup(), '', 3 ) .'</td>' . "\n";
echo '<td class="ev_td_right"><ul class="ev_ul">' . "\n";
}
$this->viewEventRowAdmin($row);
$chdate = $event_month_year;
}
echo '</ul></td>' . "\n";
What do I have to delete or change to have effect?
- peterporta
- Posts: 17
- Joined: Mon Jul 23, 2012 9:55 pm
Re: Listing View changes
by Tonyp » Fri Sep 28, 2012 7:51 pm
---------------------------------------
Do not forget if you like JEvents, why not join the CLUB! for priority support and lots of excellent plugin's. JEvents Club
Do not forget if you like JEvents, why not join the CLUB! for priority support and lots of excellent plugin's. JEvents Club
-

Tonyp - Contributor
- Posts: 8715
- Joined: Tue Oct 12, 2010 9:12 pm
- Location: Isle of Man
Re: Listing View changes
by peterporta » Fri Sep 28, 2012 8:03 pm
Thank you, I deleted that part in my editor and copied it up. But nothing happened. The left table-field is still shown.
Here is the "new" code:
if( $event_month_year <> $chdate && $chdate <> ""){
echo '</ul></td></tr>' . "\n";
}
if( $event_month_year <> $chdate ){
echo '<tr><td class="ev_td_left"></td>' . "\n";
echo '<td class="ev_td_right"><ul class="ev_ul">' . "\n";
}
$this->viewEventRowAdmin($row);
Here is the "new" code:
if( $event_month_year <> $chdate && $chdate <> ""){
echo '</ul></td></tr>' . "\n";
}
if( $event_month_year <> $chdate ){
echo '<tr><td class="ev_td_left"></td>' . "\n";
echo '<td class="ev_td_right"><ul class="ev_ul">' . "\n";
}
$this->viewEventRowAdmin($row);
- peterporta
- Posts: 17
- Joined: Mon Jul 23, 2012 9:55 pm
Re: Listing View changes
by Tonyp » Sat Sep 29, 2012 9:11 am
You can hide the left hand column easy with CSS just use:
Use Firefox and firebug to inspect the CSS find the left CSS class and add it like:
Use Firefox and firebug to inspect the CSS find the left CSS class and add it like:
- Code: Select all
.tdleft {
Display:none !important;
}
---------------------------------------
Do not forget if you like JEvents, why not join the CLUB! for priority support and lots of excellent plugin's. JEvents Club
Do not forget if you like JEvents, why not join the CLUB! for priority support and lots of excellent plugin's. JEvents Club
-

Tonyp - Contributor
- Posts: 8715
- Joined: Tue Oct 12, 2010 9:12 pm
- Location: Isle of Man
Re: Listing View changes
by peterporta » Sat Sep 29, 2012 4:54 pm
Hi and thank you. But its ...
I have included the code in the event_css.css as "new" rows, because there is no such topic. Here is the Link to my page. Perhaps you can just have a look. Do I have the wrong css-file?
http://www.hauptschule-minden-sued.de/index.php/termine-eventlist/range.listevents/-
I have included the code in the event_css.css as "new" rows, because there is no such topic. Here is the Link to my page. Perhaps you can just have a look. Do I have the wrong css-file?
http://www.hauptschule-minden-sued.de/index.php/termine-eventlist/range.listevents/-
- peterporta
- Posts: 17
- Joined: Mon Jul 23, 2012 9:55 pm
Re: Listing View changes
by Tonyp » Sat Sep 29, 2012 8:31 pm
I will have a look on my pc tomorrow, I'm on my mobile.
You need to apply it to your template.css not events-CSS such changes will be lost when you upgrade JEvents
You need to apply it to your template.css not events-CSS such changes will be lost when you upgrade JEvents
---------------------------------------
Do not forget if you like JEvents, why not join the CLUB! for priority support and lots of excellent plugin's. JEvents Club
Do not forget if you like JEvents, why not join the CLUB! for priority support and lots of excellent plugin's. JEvents Club
-

Tonyp - Contributor
- Posts: 8715
- Joined: Tue Oct 12, 2010 9:12 pm
- Location: Isle of Man
Re: Listing View changes
by peterporta » Mon Oct 01, 2012 2:30 pm
Hi,
did you find something to help me?
did you find something to help me?
- peterporta
- Posts: 17
- Joined: Mon Jul 23, 2012 9:55 pm
Re: Listing View changes
by Tonyp » Mon Oct 01, 2012 2:37 pm
- Code: Select all
.ev_td_left {
display:none;
}
.ev_td_right {
border-right: 1px solid !important;
border-color:#DDD !important;
}
Will do it, placed in: layout.css of your sites template.
---------------------------------------
Do not forget if you like JEvents, why not join the CLUB! for priority support and lots of excellent plugin's. JEvents Club
Do not forget if you like JEvents, why not join the CLUB! for priority support and lots of excellent plugin's. JEvents Club
-

Tonyp - Contributor
- Posts: 8715
- Joined: Tue Oct 12, 2010 9:12 pm
- Location: Isle of Man
9 posts
• Page 1 of 1
Return to Jevents 2.x (Free Access)
Who is online
Users browsing this forum: Google [Bot]

