Support

  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.
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. # 1
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. # 2
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. # 3
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. # 4
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. # 5
pateld404 Accepted Answer
Content Protected
  1. more than a month ago
  2. Features Request
  3. # 6
admin Accepted Answer
Admin
Great.;)
  1. more than a month ago
  2. Features Request
  3. # 7
tata97Cent30 Accepted Answer
Content Protected
  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.

Request Support

Support is currently Offline

Support Availability

Working days: Monday to Friday. The support staff is not available on weekends; in the most of cases tickets will not be answered during that time.

Reply time: Depending on the complexity of your support issue it's usually between a few minutes and 24 hours for paid members and about one week for free members. When we expect longer delays we will notify you.

Guidelines

Before you post: read the documentation and search the forums for an answer to your question.

When you post: include Site Details if you request a support (you can use the form below the reply in Site Details tab).

Auto Solved Question: If after a week the author of the post does not reply to a request by moderator, the question will be marked as resolved.

Language: only English

Search Users

Easy Profile® is not affiliated with or endorsed by Open Source Matters or the Joomla Project. Joomla is Free Software released under the GNU/GPL License.