Support

  1. davidunwin
  2. Support
  3. Sunday, February 24 2019, 02:25 PM
2 questions:
1. Is it possible to put html code around fields displayed in the list ? We have a some of our own fields , one of these is called 'Position' By default it looks like a normal text field when displayed. We would like to make is Bold and increase the text size. Is this possible?
2. On of the fields we want to display is a users email address. We put this as the last field in the list in the module. but when we save the module, the field email address moves to the top?? How can we stop this .
The screen shots attached show the before save and after save of the module
Attachments (2)
Accepted Answer
admin Accepted Answer
Admin
Hi,
1) this is already possible, you can do this by adding a simple CSS code to your template like this:
.jsn-l-fields .field_alias{font-size:25px;font-weight:bold}
Replace "field_alias" with the alias of "Position" field

2) the order is the same order of registration/edit profile field. Anyway there are different ways to manage this, for example:
Way 1
Use HTML delimiter field type: instead to show email field you can show some HTML delimiter field type that load email address with the Content Plugin
- Create an HTML delimiter field type at the bottom of the other fields with this code in description
{user email displayed}
This code will be replaced by email address of the user
- Set this field to be not available in edit profile, registration and profile pages
- Set the module to show the new HTML delimiter field type instead email address
Docs about HTML delimiter field type at http://docs.easy-profile.com/index.php/article/html-delimiter-field-type
Docs about content plugin at http://docs.easy-profile.com/index.php/article/content-plugin

Way 2
You can use template override to customize the HTML code of the list, and of course you can load email field after other field.
- Copy file from /modules/mod_jsnusers/tmpl/default.php at /templates/your-template-folder/html/mod_jsnusers/default.php
- Edit the new file
  1. more than a month ago
  2. Support
  3. # Permalink
davidunwin Accepted Answer
Hi
Answer to my Question 1 - That works Fine.....Thank you

Answer to My Question 2 - That works fine also with WAY 1 .

Thanks so much for your help
Kind regards

David
  1. more than a month ago
  2. Support
  3. # 1
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Request Support

Support is currently Online

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.