-
AuthorPosts
-
Martin Hagen Friend
Martin Hagen
- Join date:
- March 2007
- Posts:
- 44
- Downloads:
- 14
- Uploads:
- 11
- Thanks:
- 10
- Thanked:
- 5 times in 1 posts
May 14, 2009 at 3:13 pm #141181Hello have some conflict with Nerine and the eventlist Component. Think it is some css or container fault. take a look at the screenshot or at my demoside
The event discription appear at a wrong place at the bottom. But it should be between the event and venue. Like the description point of the Venue
I can’t figure it out so far. Anybody can help me…
Thank you
Martin Hagen FriendMartin Hagen
- Join date:
- March 2007
- Posts:
- 44
- Downloads:
- 14
- Uploads:
- 11
- Thanks:
- 10
- Thanked:
- 5 times in 1 posts
May 15, 2009 at 9:33 am #304694found myself a solution:
There was a conflict with nereine and eventlist. Other templates didn’t have this problem.there is an fault in the detail view default.php
this one: components->com_eventlist->views->details->tmpl->default.php
row 108-115[PHP]<?php if ($this->elsettings->showevdescription == 1) : ?>
<h2 class=”description”><?php echo JText::_( ‘DESCRIPTION’ ); ?></h2>
<div class=”description event_desc”>
<?php echo $this->row->datdescription; ?>
</div><?php endif; ?>[/PHP]
and
row 187-194:
[PHP]
<?php if ($this->elsettings->showlocdescription == 1) : ?><h2 class=”location_desc”><?php echo JText::_( ‘DESCRIPTION’ ); ?></h2>
<div class=”description location_desc”>
<?php echo $this->row->locdescription; ?>
</div><?php endif; ?>[/PHP]
there are wrong class definitions. class=> description event_desc,location_desc,description
take a look at the eventlist.css
this one: components->com_eventlist->assets->css->eventlist.css
row 116-118
this css conflicts with template css definitions for “description”[PHP]div#eventlist div.description {
margin: 5px 0; padding: 0 5px;
}[/PHP]so i copy that part of css and rename the class to description_event_detail and put in into the eventlist.css
see here:[PHP]div#eventlist div.description_event_detail {
margin: 5px 0; padding: 0 5px;
}[/PHP]after that i edit the default.php into this (this one is for part 108-115):
[PHP]<?php if ($this->elsettings->showevdescription == 1) : ?>
<!– old part <h2 class=”description”><?php echo JText::_( ‘DESCRIPTION’ ); ?></h2> –>
<h2> <?php echo JText::_( ‘DESCRIPTION’ ); ?></h2>
<!– old part <div class=”description event_desc”> –>
<div class=”description_event_detail”>
<?php echo $this->row->datdescription; ?>
</div><?php endif; ?>[/PHP]
and this one for row 187-194:
[PHP]
<!– old part <h2 class=”location_desc”><?php echo JText::_( ‘DESCRIPTION’ ); ?></h2>–>
<h2 ><?php echo JText::_( ‘DESCRIPTION’ ); ?></h2>
<!–old part <div class=”description location_desc”>–>
<div class=”description_event_detail”>
<?php echo $this->row->locdescription;?>
</div>[/PHP]
this works for me.AuthorPostsViewing 2 posts - 1 through 2 (of 2 total)This topic contains 2 replies, has 1 voice, and was last updated by Martin Hagen 15 years, 6 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Nerine CSS conflict with eventlist
Viewing 2 posts - 1 through 2 (of 2 total)