Friday, 22 December 2017
  5 Replies
  1.8K Visits
0
Votes
Undo
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
6 years ago
·
#196334
Accepted Answer
0
Votes
Undo
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

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!

6 years ago
·
#196273
0
Votes
Undo
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

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!Join the JEvents club today!

6 years ago
·
#196285
0
Votes
Undo
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
·
#196334
Accepted Answer
0
Votes
Undo
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

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!

6 years ago
·
#196459
0
Votes
Undo
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
·
#196473
0
Votes
Undo
If you are onluy displaying the title and not as a link then you need to change that line too

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!

  • Page :
  • 1
There are no replies made for this post yet.

Members Area

Show your support

Unlike many Joomla calendars we do not charge to download JEvents - please show your support for this project by becoming a member of the JEvents Club Club members get access to early releases, exclusive member support forums, and Silver and Gold members can use many exciting JEvents addons

Your membership will ensure that JEvents continues to be the best events calendar for Joomla.