Jevents 2.x (Free Access)

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 follow these steps:

1. Update all JEvents add on's first, via the Joomla! Updater
2. Copy and Paste the JEvents Support Information from the JEvents Control Panel.
3. If you get a 500 error OR white page, enable Maximum Error Reporting in Joomla! Global Config and visit the page again, this should give you a more detailed error and help us provide a prompt response.

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: 29
Joined: Mon Jul 23, 2012 9:55 pm

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

Change:

Code: Select all
'. "\n"
. JEventsHTML::getDateFormat( $row->yup(), $row->mup(), '', 3 ) .'
---------------------------------------
Feel free to PM me if you would like Custom Installs or Joomla! related work for a competitive quote.

User avatar
Tonyp
Team Staff
 
Posts: 23633
Joined: Tue Oct 12, 2010 9:12 pm
Location: Isle of Man

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: 29
Joined: Mon Jul 23, 2012 9:55 pm

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;
}
---------------------------------------
Feel free to PM me if you would like Custom Installs or Joomla! related work for a competitive quote.

User avatar
Tonyp
Team Staff
 
Posts: 23633
Joined: Tue Oct 12, 2010 9:12 pm
Location: Isle of Man

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: 29
Joined: Mon Jul 23, 2012 9:55 pm

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
---------------------------------------
Feel free to PM me if you would like Custom Installs or Joomla! related work for a competitive quote.

User avatar
Tonyp
Team Staff
 
Posts: 23633
Joined: Tue Oct 12, 2010 9:12 pm
Location: Isle of Man

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

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

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.
---------------------------------------
Feel free to PM me if you would like Custom Installs or Joomla! related work for a competitive quote.

User avatar
Tonyp
Team Staff
 
Posts: 23633
Joined: Tue Oct 12, 2010 9:12 pm
Location: Isle of Man

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

Hi,

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


Return to Jevents 2.x (Free Access)

  • Who is online
  • View new posts
  • View unanswered posts
  • 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: Bing [Bot]