J and Beyond 2013 | An International Joomla! Conference - May 31st - 2nd, 2013, Noordwijkerhout, The Netherlands
It is currently Sun May 19, 2013 12:55 am

Listing View changes  Topic is solved

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.

Listing View changes

Postby 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?
peterporta
Posts: 17
Joined: Mon Jul 23, 2012 9:55 pm

Re: Listing View changes

Postby Tonyp » Fri Sep 28, 2012 7:51 pm

Change:

Code: Select all
'. "\n"
. JEventsHTML::getDateFormat( $row->yup(), $row->mup(), '', 3 ) .'
---------------------------------------

Do not forget if you like JEvents, why not join the CLUB! for priority support and lots of excellent plugin's. JEvents Club
User avatar
Tonyp
Contributor
Posts: 8715
Joined: Tue Oct 12, 2010 9:12 pm
Location: Isle of Man

Re: Listing View changes

Postby 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);
peterporta
Posts: 17
Joined: Mon Jul 23, 2012 9:55 pm

Re: Listing View changes

Postby 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:
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
User avatar
Tonyp
Contributor
Posts: 8715
Joined: Tue Oct 12, 2010 9:12 pm
Location: Isle of Man

Re: Listing View changes

Postby 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/-
peterporta
Posts: 17
Joined: Mon Jul 23, 2012 9:55 pm

Re: Listing View changes

Postby 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
---------------------------------------

Do not forget if you like JEvents, why not join the CLUB! for priority support and lots of excellent plugin's. JEvents Club
User avatar
Tonyp
Contributor
Posts: 8715
Joined: Tue Oct 12, 2010 9:12 pm
Location: Isle of Man

Re: Listing View changes

Postby peterporta » Mon Oct 01, 2012 2:30 pm

Hi,
did you find something to help me?
peterporta
Posts: 17
Joined: Mon Jul 23, 2012 9:55 pm

Re: Listing View changes

Postby 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
User avatar
Tonyp
Contributor
Posts: 8715
Joined: Tue Oct 12, 2010 9:12 pm
Location: Isle of Man

Re: Listing View changes  Topic is solved

Postby peterporta » Mon Oct 01, 2012 2:53 pm

Hi,

SUPER! That´s what I want.
peterporta
Posts: 17
Joined: Mon Jul 23, 2012 9:55 pm


Return to Jevents 2.x (Free Access)

Who is online

Users browsing this forum: Google [Bot]

Main Menu

User Menu

Hosted By


Who is online

In total there is 1 user online :: 1 registered and 0 hidden (based on users active over the past 5 minutes)
Most users ever online was 94 on Tue Sep 01, 2009 12:33 am

Users browsing this forum: Google [Bot]

Login Form