Comments (Jcomments) aren't displayed in items

More
6 years 6 months ago - 6 years 6 months ago #69853 by ggppdk
Hello

exactly
- the query to change object_group is supposed to run automatically,
on installation to change it to com_flexicontent

and on uninstallation of FLEXIcontent it will do the reverse and change the object_group to 'com_content'

I checked and the code for uninstallation is there:
Code:
$queries['jcomments'] = 'UPDATE #__jcomments AS j SET j.object_group="com_content" WHERE j.object_group="com_flexicontent" '; $queries['jcomments_objects'] = 'UPDATE #__jcomments_objects AS j SET j.object_group="com_content" WHERE j.object_group="com_flexicontent" ';

but not for installation, this is missing:
Code:
$queries['jcomments'] = 'UPDATE #__jcomments AS j SET j.object_group="com_flexicontent" WHERE j.object_group="com_content" '; $queries['jcomments_objects'] = 'UPDATE #__jcomments_objects AS j SET j.object_group="com_flexicontent" WHERE j.object_group="com_content" ';
- thus existing comments are not shown

probably the best would be to update everything to com_content, and when plugin triggering happens to set context to 'com_content'

the above would best since for some content types (configurable per type, we allow viewing via Joomla article view)


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...
Last edit: 6 years 6 months ago by ggppdk.

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.539 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