Support

  1. zielwasser
  2. General
  3. Wednesday, February 20 2019, 11:05 AM
Hi.

Is it possible to add some title field to the file field?
Some users like to upload some files and give them custom titles.

Looking forward your andswer

Best regards

Manni
Accepted Answer
admin Accepted Answer
Admin
Hi,
to do this you can use HTML delimeter field type, it will support also our content plugin.

For example:
in edit profile/registration page I have 6 fields (3 text and 3 files) with following alias
- title_file1 (text)
- file1 (file)
- title_file2 (text)
- file2 (file)
- title_file3 (text)
- file3 (file)

Instead show file fields in profile page I will show 3 HTML delimiter field types with a content like this
Delimiter for file1
Alias: html_file1
Description:
<a href="/{user file1 displayed raw}">Download file called: {user title_file1 displayed raw}</a>

Delimiter for file2
Alias: html_file2
Description:
<a href="/{user file2 displayed raw}">Download file called: {user title_file2 displayed raw}</a>

Delimiter for file3
Alias: html_file3
Description:
<a href="/{user file3 displayed raw}">Download file called: {user title_file3 displayed raw}</a>


So basically in profile page you will see HTML delimiter field type that load content from other fields.

Of course if the user does not upload a file then the corresponding HTML delimiter should be hidden. To have this behavior you can use conditions like:
- Condition for field "file1": if equal to custom value empty (leave empty custom value parameter) then hide html_file1 field
- Condition for field "file2": if equal to custom value empty (leave empty custom value parameter) then hide html_file2 field
- Condition for field "file3": if equal to custom value empty (leave empty custom value parameter) then hide html_file3 field

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
  1. more than a month ago
  2. General
  3. # Permalink
admin Accepted Answer
Admin
Hi,
can you please explain me better? maybe this is already possible with some workaround.
  1. more than a month ago
  2. General
  3. # 1
zielwasser Accepted Answer
Pro
Content Protected
  1. more than a month ago
  2. General
  3. # 2
zielwasser Accepted Answer
Pro
Content Protected
  1. more than a month ago
  2. General
  3. # 3
  • 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 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.