Support

  1. krnsgrffn
  2. Features Request
  3. Tuesday, September 15 2020, 10:02 PM
HI-

I really, really need your registration/edit profile module, but I need to be able to declare a value so that the correct fields show. Is there any way you might be able to add the ability to declare a value for this module?

Thanks!
admin Accepted Answer
Admin
Hi,
sorry but I did not understand your request, can you please explain your uses case
  1. more than a month ago
  2. Features Request
  3. # 1
krnsgrffn Accepted Answer
Pro
Yes. I have two types of users, and their registration and user profile fields are very different. I use a field "user_type" and use its value to determine which fields to show for that user. I set that value in the URL in menu links, so the user sees the correct registration form based on how they get to it.

I would like to be able to do something similar with your module, creating two modules that each show the correct set of fields based on the user type, which would require my being able to set the value of the field prior to the module being rendered.

I hope that makes sense?
  1. more than a month ago
  2. Features Request
  3. # 2
admin Accepted Answer
Admin
Hi,
ok, you can use Joomla template override feature to make this, follow these steps:
- Copy file from /modules/mod_jsnform/tmpl/default.php to /templates/your-theme-folder/html/mod_jsnform/second.php
- Open the new file and edit line 18 from
src="<?php echo $url; ?>"
to
src="<?php echo $url; ?>&user_type=VALUE"

- Go to Extensions->Modules->Create a second module of type "Easy Profile - Registration/Edit Profile"
- In the module parameters at "Advanced" tab set the option called "Layout" to "Second" (the title comes from the file name, n this case second.php)
  1. more than a month ago
  2. Features Request
  3. # 3
krnsgrffn Accepted Answer
Pro
Thank you!
  1. more than a month ago
  2. Features Request
  3. # 4
  • 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.