By martinsai on Tuesday, 22 November 2022
Replies 10
Likes 0
Views 736
Votes 0
Hi Team,
hope u can help me:
I use Joomla 4 and Jevents 3.6.17.
Menu item is "List by category" > and in this view - see also https://www.alpenverein-aibling.de/tourenprogramm/winterprogramm.html
- in the event calendar the descriptions dont have line breaks althought in the backend > manage events, jevents there are line breaks

How can I have line breaks? thnx
Can you upgrade JEvents to the latest version and try again
·
1 year ago
·
0 Likes
·
0 Votes
·
0 Comments
·
It looks as though you are using a customised event list layout. Can you show me the template you have set up?
·
2 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi, do u mean the joomla template or are there template i jevents also?

Joomla template is shaper_helix ultimate


thnx so far
·
2 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Geraint, did u get my message? I am not aware of using an extra template in jevents or creating custom layout, I just used the default one.
In custom.css is this code: (dont know wehter this creates the prob)
/*
Document : jevcustom
Created on : 22-Apr-2013, 14:12:51
Author : Tony Partridge - GWE Systems Ltd
Description: To allow customisation of CSS Strings where they can never be lost.
Purpose of the stylesheet follows.
*/

a.ev_link_row:link, a.ev_link_row:visited, a.ev_link_row:hover {
font-size: 26px;
color: #4dbd37;
text-decoration: none;
font-weight: normal;
}
input[type="text"]:not(.form-control), input[type="email"]:not(.form-control), input[type="url"]:not(.form-control), input[type="date"]:not(.form-control), input[type="password"]:not(.form-control), input[type="search"]:not(.form-control), input[type="tel"]:not(.form-control), input[type="number"]:not(.form-control), select:not(.form-control) {
display: block;
padding: 5px;
font-size: 1rem;
line-height: 1.25;
color: #495057;
background-color: #fff;
background-image: none;
background-clip: padding-box;
border: 1px solid rgba(0, 0, 0, 0.15);
border-radius: 0.25rem;
transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
margin: 5px;
}
.jev_evdt .jev_evdt_title {
font-size: 26px;
padding-bottom: 10px;
color: green;
}
.ev_link_cat {
display:none;
}
div.jev_catselect {
display:none;
}
.ev_table {
border-right:none;
border-left: none;
}
.ev_table td {
padding: 5px;
}
.ev_td_right {
width: 100%;
background-color: #eee;
border-top: none;
border-bottom: 3px solid #fff;
}
.ev_td_left {
background-color: #eee;
border-right: none;
border-top: none;
border-bottom: 3px solid #fff;
font-size: 16px;
color: #000;
text-align: center;
vertical-align: top;
width:300px;
padding:50px;
}
ul.ev_ul li.ev_td_li {
border-style: solid;
border-width: 0 0 0 3px;
margin-bottom: 1px;
padding-left: 5px;
background-image: none;
}
@media screen and (max-width:420px) {
.ev_table {
width: 100%;
}

a.ev_link_row:link, a.ev_link_row:visited, a.ev_link_row:hover {
font-size: 20px;
line-height: 1.1;
}
}
·
1 year ago
·
0 Likes
·
0 Votes
·
0 Comments
·
No - HTML actually has no <br> tags or other HTML tags in it.

You are using TRUNCATED_DESC in your custom list view item - this removes the HTML tags before truncating the content. You should use DESCRIPTION instead
·
1 year ago
·
0 Likes
·
0 Votes
·
0 Comments
·
nice idea, thnx, but when I try to save it, it is not saved :-( again appears the  {{Gekürzte Beschreibung:TRUNCATED_DESC:20000}}

see video: https://www.loom.com/share/3fac0297df914a108248a9b879f2f283
·
1 year ago
·
0 Likes
·
0 Votes
·
0 Comments
·
it worked after update! thnx a lot!
·
1 year ago
·
0 Likes
·
0 Votes
·
0 Comments
·
I have the same problem, but I don't want the whole description in the list view. Is it possible to avoid the removing of the HTML tags by using TRUNCATED_DESC?
·
8 months ago
·
0 Likes
·
0 Votes
·
0 Comments
·
And next idea: Truncate till "read more" - that would be great!
·
8 months ago
·
0 Likes
·
0 Votes
·
0 Comments
·
The problem with trying to truncate text that is part of HTML is that we could end up with invalid HTML.

Truncating up to 'read more' is an interesting idea. I'll see what is possible
·
8 months ago
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post