By Guest on Monday, 22 January 2018
Replies 9
Likes 0
Views 1.1K
Votes 0
Hello,
I have a problem with the description field content.

If I enter the character '"' the public page can't be displayed. No problem in the administrator part.

How can I correct this problem or forbidden the use of '"' ?

thank you very much for help

best regards

Michel Rottenberg
Hello Michel,

This should work fine, if you switch to the default Joomla! template 'Protostar' does it work ok?

Many thanks
Tony
·
Monday, 22 January 2018 22:41
·
0 Likes
·
0 Votes
·
0 Comments
·
II have tested a sentence containing (")
Tous les "enfants de 2 à 7 ans" sont les bienvenus.
with the 'Protostar' template. I get the same error :

0 syntax error, unexpected 'enfants' (T_STRING)


It's working with the site default template and the 'Protostar' template when I enter
Tous les \"enfants de 2 à 7 ans\" sont les bienvenus.
.

best regards

Michel Rottenberg
·
Thursday, 25 January 2018 16:48
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

This is working fine for me here see:
https://www.dropbox.com/s/cg0isuf98ebilmf/Screenshot%202018-01-25%2023.15.21.png?dl=0

So it looks to be an issue with something on your site in particular? Can you check you have no overrides or meta plugins installed?

What version of JEvents/Joomla!?

Many thanks
Tony
·
Thursday, 25 January 2018 23:16
·
0 Likes
·
0 Votes
·
0 Comments
·
The support informations are :

PHP Version : 7.0.27
MySQL Version : 5.5.5-10.1.30-MariaDB
Server Information : Linux teta.fr.planethoster.net 2.6.32-896.16.1.lve1.4.49.el6.x86_64 #1 SMP Fri Jan 5 05:15:23 EST 2018 x86_64
Fix jQuery? : Yes
Load JEvents Bootstrap CSS? : Yes
Max Input Vars ? : 10000
Club code set? : No
User Agent : Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36
Joomla : 3.8.3
component_com_jevents : 3.4.43
component_com_jce : 2.6.23
component_com_acymailing : 5.9.0
module_mod_acymailing : 3.7.0
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_acymailing_calltoaction : 1.1.3
plugin_acymailing_contentplugin : 3.7.0
plugin_acymailing_geolocation : 5.9.0
plugin_acymailing_managetext : 1.0.0
plugin_acymailing_online : 3.7.0
plugin_acymailing_plginboxactions : 5.9.0
plugin_acymailing_share : 1.0.0
plugin_acymailing_stats : 3.7.0
plugin_acymailing_tablecontents : 1.0.0
plugin_acymailing_tagcontent : 3.7.0
plugin_acymailing_tagmodule : 5.9.0
plugin_acymailing_tagsubscriber : 5.9.0
plugin_acymailing_tagsubscription : 5.9.0
plugin_acymailing_tagtime : 5.9.0
plugin_acymailing_taguser : 5.9.0
plugin_acymailing_template : 5.9.0
plugin_acymailing_urltracker : 5.9.0
plugin_content_jevents : 3.4.43
plugin_editors_acyeditor : 5.9.0
plugin_finder_jevents : 3.4.43 (not enabled)
plugin_installer_jeventsinstaller : 3.4.43
plugin_search_eventsearch : 3.4.43
plugin_system_acymailingclassmail : 5.9.0 (not enabled)
plugin_system_acymailingurltracker : 5.9.0
plugin_system_gwejson : 3.4.43
plugin_system_sendinarticle : 5.9.0


Can you check you have no overrides or meta plugins installed?


What do I need to check ?

I have given you a super admin access to the site

best regards

Michel
·
Friday, 26 January 2018 12:54
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

I can't recreate this. can you create an event unpublished and let me know where and how to access it to publish it to see the error?

Many thanks
Tony
·
Friday, 26 January 2018 21:40
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello
I have found the origins of my problem :
- if there is a '"' in the title or the description,
- repetitive events.

I'm using the JEvents - Latest Events Module

I'm using the customized display :

{source}
<?php
$jevent[${startDate(%W)}]["${title}"]= "categorie=>${category}|date_debut=>${startDate(%d %b %Y)}|heure_debut=>${startDate(%I:%M%p)}|date_fin=>${endDate(%d %b %Y)}|heure_fin=>${endDate(%I:%M%p)}|titre=>${title}|description=>${description}|location=>${location}|extra-info=>${extra_info}|contact => ${contact}";
?>
{/source}


{source}...{/source} is a Regular Lab plugin which allows to integrate php in a display.

What's I want to do :

I don't want to display the selected events but to create an array where each line is an event.
This table is to be read in another module.

what do you advice me to get this table.

Thank you for help
best regards

Michel Rottenberg
·
Tuesday, 30 January 2018 08:57
·
0 Likes
·
0 Votes
·
0 Comments
·
So if you load the latest events module in a standard Joomla! position does it work as expected?
·
Tuesday, 30 January 2018 09:23
·
0 Likes
·
0 Votes
·
0 Comments
·
Yes i's working without any problem.
I just want to get the datas and not to display it.
I want to integerate these in another display
·
Tuesday, 30 January 2018 09:29
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

Then I'm afraid it sounds like the issue lies with the regular labs source plugin not taking into account ' when used in it's content.

See:
https://www.jevents.net/frequently-asked-questions/custom-format-strings

About customizing the custom format string and conditional output.

Many thanks
Tony
·
Wednesday, 31 January 2018 09:57
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post