By rudolf on Friday, 22 December 2017
Replies 5
Likes 0
Views 1.9K
Votes 0
Hi,

when using the HTML ­ "ampersand"shy"semicolon" to indicate a potential linebreak it appears as "ampersand"shy"semicolon" in the Latest-Event-Module.

BR
Rudi
This only happens in the latest events module - correct? i.e. you don't see the 'shy' text in the event detail page etc.

If you copy the file modules/mod_jevents_latest/tmpl/default/latest.php to templates/YOURTEMPLATE/html/mod_jevents_latest/default/latest.php and change lines 1227 and 1231 to remove the call to JEventsHTML::special
so that

JEventsHTML::special($title)

is replaced simply with

$title

if should display your soft hyphen as you'd expect
·
6 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Rudi,

to do a line break in the latest events module just hit Return. We take returns and transform them into <br/>

Many thanks
Tony
·
6 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Well, it is not simply a linebreak. To depict my problem I attached two screenshots how the title of an event appears in an list and how it appears in the Latest Events Modul. Please look how the word Jahresabschlussnachmittagswanderung is shown differently. How would I solve that?
·
6 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Nope, did not work. However I found JEventsHTML::special in line 1227. Do I have to tell JEvents to use the modified line?

I am using:


PHP Version : 7.0.13
MySQL Version : 5.5.5-10.0.30-MariaDB-0+deb8u1
Server Information : Linux srv01.eifelverein.net 3.16.0-4-amd64 #1 SMP Debian 3.16.39-1+deb8u2 (2017-03-07) x86_64
Fix jQuery? : Yes
Load JEvents Bootstrap CSS? : Yes
Max Input Vars ? : 1000
Club code set? : Yes
User Agent : Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0
Joomla : 3.8.3
component_com_jevents : 3.4.43
component_com_jce : 2.6.7.1
module_mod_jevents_cal : 3.4.43
module_mod_jevents_custom : 3.4.43
module_mod_jevents_filter : 3.4.43
module_mod_jevents_latest : 3.4.43
module_mod_jevents_legend : 3.4.43
module_mod_jevents_switchview : 3.4.43
plugin_content_jevents : 3.4.43
plugin_finder_jevents : 3.4.43 (not enabled)
plugin_installer_jeventsinstaller : 3.4.43 (not enabled)
plugin_search_eventsearch : 3.4.43
plugin_system_gwejson : 3.4.43
·
6 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
If you are onluy displaying the title and not as a link then you need to change that line too
·
6 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post