Support

  1. Jesusregalado
  2. General
  3. Wednesday, February 08 2017, 05:19 PM
Can I add custom field with maximum character limit and a message that can contain all character types? help
admin Accepted Answer
Admin
Hi,
Maximum chars
Yes, you can use Text field type and set a custom format, for example for a maximum chars you can use regex like
.{0,20}

see an example in screenshot

With Regex you can specify also which chars are allowed. Of course if you do not have knowledge about Regular Expressions then you need to read some docs in internet (if your requirement is simple then we can help you ;) )

Message (Tip)
There are 2 different ways to add description messages,
1. Tooltip on mouse hover: you can fill html editor in Edit field mode
2. Static text in a field position: you can create a field of type HTML Delimiter (docs at http://docs.easy-profile.com/index.php/article/html-delimiter-field-type)
Attachments (4)
  1. more than a month ago
  2. General
  3. # 1
Jesusregalado Accepted Answer
Pro
Thanks! Is solved with your answer. So I have one more question, Can I put a message when someone exceeds the character limit in a field type textarea?
  1. more than a month ago
  2. General
  3. # 2
admin Accepted Answer
Admin
Hi,
sorry for late reply, it was night for us.

Sorry this is not possible.
The best way is to add some javascript code to manage this (maybe with a chars counter).
  1. more than a month ago
  2. General
  3. # 3
Jesusregalado Accepted Answer
Pro
thanks! for everything!. And the last question, How can I show larger profile image in a profile view?
  1. more than a month ago
  2. General
  3. # 4
admin Accepted Answer
Admin
You can manage this with simple CSS, try to add for example this code in your template style:

.jsn-p-avatar img{
width:200px /* Width of profile image */
}
.jsn-p-top-a .jsn-p-title, .jsn-p-top-a .jsn-p-before-fields {
margin-left: 220px; /* Margin of profile header info, basically ImageWidth+20 */
}
  1. more than a month ago
  2. General
  3. # 5
Jesusregalado Accepted Answer
Pro
I have added, but I´m not sure if I added it in correct file. I put in the file style.css from folder \components\com_jsn\assets\css but doesn't work
  1. more than a month ago
  2. General
  3. # 6
admin Accepted Answer
Admin
Please do not add this into component folder, you will lost your changes on component upgrade, Styles should be managed only from Template.

Many templates have a setting to add custom code or a custom CSS file ( normally at /templates/your-template-folder/css/custom.css )
  1. more than a month ago
  2. General
  3. # 7
  • 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.