1. tata97Cent30
  2. Features Request
  3. Wednesday, June 18 2014, 09:42 PM
Hi !
I just want to know if it's possible to add some description for a group. Just to explain few things to users without using textarea but just Joomla! editor below "Alias".

Thanks for your reply.
tata97Cent30 Accepted Answer
Content Protected
  1. more than a month ago
  2. Features Request
  3. # 1
admin Accepted Answer
Admin
Great.;)
  1. more than a month ago
  2. Features Request
  3. # 2
pateld404 Accepted Answer
Content Protected
  1. more than a month ago
  2. Features Request
  3. # 3
admin Accepted Answer
Admin
Hi,
now it's not possible display field group description, this because Easy Profile extends Joomla user management (not replace), so registration/edit profile pages are the same of Joomla.

To do this you can use HTML delimiter field, this field type allow you to add custom HTML in a field position.
  1. more than a month ago
  2. Features Request
  3. # 4
pateld404 Accepted Answer
That's true. However, If the Group name is being displayed why not it's description. Can you tell me where can I find this function : $this->form->getFieldsets()
  1. more than a month ago
  2. Features Request
  3. # 5
pateld404 Accepted Answer
Hi,

In the jsn_users.php in the jsn_users plugin folder I changed:
$xml.="\n\t".'<fieldset name="jsn_'.$fieldgroup->alias.'" label="'.JsnHelper::xmlentities(JText::_($fieldgroup->title)).'" >'.$fieldsXml."\n\t".($fieldgroup->core ? JsnCoreFieldHelper::getXml() : '' ).'</fieldset>'."\n";


to
$xml.="\n\t".'<fieldset name="jsn_'.$fieldgroup->alias.'" label="'.JsnHelper::xmlentities(JText::_($fieldgroup->title)).'" description="'.JsnHelper::xmlentities(JText::_($fieldgroup->description)).'">'.$fieldsXml."\n\t".($fieldgroup->core ? JsnCoreFieldHelper::getXml() : '' ).'</fieldset>'."\n";


So I added - description="'.JsnHelper::xmlentities(JText::_($fieldgroup->description)).'" - to the code and now the form shows the description of the field groups.
  1. more than a month ago
  2. Features Request
  3. # 6
admin Accepted Answer
Admin
Strange, for me not work.

example: Joomla edit profile template file is into /components/com_users/views/profile/edit.php
at line 51 I see this to render the title of group
<legend><?php echo JText::_($fieldset->label); ?></legend>
but there is nothing to show the description!!

maybe you have a template override for this file that contain description.
  1. more than a month ago
  2. Features Request
  3. # 7
pateld404 Accepted Answer
Sorry forgot to say, after we modified the jsn_users.php we added

 <?php echo JText::_($fieldset->description); ?>


in /components/com_users/views/profile/tmpl/edit.php

just after

<legend><?php echo JText::_($fieldset->label); ?></legend>


to display the description output on the form.
  1. more than a month ago
  2. Features Request
  3. # 8
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.
Sorry, the discussion is currently locked. You will not be able to post a reply at the moment.