Akeeba engage parameter fieldset are always visible in front end #78
Replies: 2 comments 2 replies
-
You are already ignoring a number of field sets. Why don't you add Akeeba Engage's fieldsset in there as well? Remember that the fieldset has to do with configuration. Configuration for comments is available regardless of whether the component or category have comments enabled. You can just as well have comments globally disabled and choose to enable them in a specific article only. |
Beta Was this translation helpful? Give feedback.
-
Again, you are confusing two COMPLETELY DIFFERENT THINGS. Akeeba Engage DOES NOT —— REPEAT: DOES NOT —— render its own interface through its own plugin underneath your article. Therefore it respects its own option. This option is part of the per-article configuration options. The very same per-article configuration options that YOUR CODE is rendering in the public front-end. I don't understand why you're shouting at me when it's you who have fucked up. I tried telling you more gently but I guess I have to be explicit for you to figure it out. Just var_dump() the fieldsets array. See the keys of the array. See the first line of your code. If you still can't figure it out there's no hope for you... |
Beta Was this translation helpful? Give feedback.
-
hello,
in my personnal joomla template I have the following code :
$ignoredFieldsets = array('image-intro', 'image-full', 'jmetadata', 'item_associations')
<?php // Render additional fieldsets added by plugins. ?>
<?php foreach ($this->form->getFieldsets() as $fieldset) : ?>
<?php if (in_array($fieldset->name, $ignoredFieldsets)) : ?>
<?php continue; ?>
<?php endif; ?>
<fieldset>
<legend><?php echo JText::_($fieldset->label); ?></legend>
<?php $this->fieldset = $fieldset->name; ?>
<?php echo JLayoutHelper::render('joomla.edit.fieldset', $this); ?>
When I view article in FRONT-END
OK :my joomla personnalised fieldsets are available under the JCE window and I may to update their content
NON OK : I see also all the Akeeba engage fieldset ==>I don't want to view these fielset in the front-end because the backend article has been configurated with "no comments available" : masked
how to add something in my codage line ...... $ignoredFieldsets = array(...........
may you help me, thank ?
A+
Beta Was this translation helpful? Give feedback.
All reactions