Flexicontent et Commentaires

More
1 year 2 weeks ago #84576 by tramber91
j'ai ouvert un post
github.com/exstreme/Jcomments-4/issues/154

@suivre

Bertrand
En Toutes Lettres digital

Please Log in or Create an account to join the conversation.

More
1 year 2 weeks ago #84577 by tramber91
réponse rapide
retour à l'envoyeur et je n'ai pas la réponse précise sur le "JComments::showComments"

This is not related to com_jcomments.
I have tested the latest versions of Joomla 4 and components and see some errors in FC. There are no global changes in the com_jcomments content plugin. For example, the missing property

Code:
readmore
of the article object, which leads to an error loading the
Code:
readmore
layout. The absence of the text of the article when displaying comments
I recommend contacting the FC developers in their Github repo.


 

Bertrand
En Toutes Lettres digital

Please Log in or Create an account to join the conversation.

More
1 year 2 weeks ago #84578 by tramber91
Va donc savoir
j'ai essayé un truc venant du plugin jcomments de Eventbooking

J'ai remplacé ROOT/components/com_flexicontent/tmpl_common/item_layouts/modular.php:494
Code:
echo JComments::showComments($item->id, 'com_flexicontent', $this->escape($item->title));

par
Code:
echo JComments::show($row->id, 'com_flexicontent', $row->title);

et cela semble OK, j'ai mes commentaires et j'arrive à en créer
Le pire c'est que j'arrive maintenant à activer mes commentaires FC/Jcomments sous site test Joomla 4, mais plus sous Joomla3  ​​​​​​​
 

Bertrand
En Toutes Lettres digital

Please Log in or Create an account to join the conversation.

More
1 year 2 weeks ago #84579 by micker
Replied by micker on topic Flexicontent et Commentaires
en fait on voit bien qu'il y a eu une modification car la class n'est plus la meme
en j4
Code:
JComments::show
en j3
Code:
JComments::showComments
c'est pour ca que cela ne fonctionne pas
déjà on peut faire ca
Code:
echo JComments::show($item->id, 'com_flexicontent', $this->escape($item->title));
Car cela protége la méthode sur les titre
apres il faudrait faire un check du gere si c'est du joomla3 => l'ancien code et si c'est du joomla4 le nouveau

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

More
1 year 2 weeks ago #84582 by tramber91

apres il faudrait faire un check du gere si c'est du joomla3 => l'ancien code et si c'est du joomla4 le nouveau


la je cale

Bertrand
En Toutes Lettres digital

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.364 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline