1. hsmdk
  2. Support
  3. Monday, November 09 2015, 03:05 AM
Hi

The solution do not save any custom fields

Have no any strange plugin and only one other component ( have Work on another site before)

Regards
admin Accepted Answer
Admin
Hi,
you have set "Brugertype" fieldgroup only for guest users, so the field "Brugertype" inherit this config and it lost value because is not a part of registered users profiles (only for guests).

So both conditions are not met and Easy Profile reset al forfatter and forlag fields.

Now I solved on your site by doing:
- Set Acl to public for "Brugertype" field group
- Removed "Brugertype" field from edit profile

Now "Brugertype" field is a part of profile but hidden on edit profile page.
  1. more than a month ago
  2. Support
  3. # 1
hsmdk Accepted Answer
Content Protected
  1. more than a month ago
  2. Support
  3. # 2
admin Accepted Answer
Admin
Right now i cant find head´s and talis in how to set up so the user altså can edit the data.
In your scenario you do not need to use ACL, so set all fields to public and works only with conditions. If you want a field only in registration you can set it only to see on registration form. ACL are helpful for advanced use.

For example (see also screenshot):
You have field group called "Egne oplysninger " with Availability set to Guest, so all registered users not have available all fields in this group. This is bad because you lost data of these fields.
The best way is to set ACL to public and show the fields only on registration.

Another problem of your configuration:
- you have "Forfatterprofil" fielgroup with ACL set to "forfatter reg"
- you have "Forlagspræsentation" fielgroup with ACL set to "forlag reg"
But these fields are already hidden by conditions, so you need to set to public.
Otherwise you have this:
- Guest make a registration as forfatter (this is ok)
- Condition Remove foreleg fields from form (this is ok)
- Guest Become Registered (this is ok)
- ACL remove forfatter fields (THIS IS BAD, user is not guest and is not forfatter)
- Condition add to usergroup "forfatter"

Conclusion:
for your scenario set all Availability to Public, show/hide fields is already managed with condition.


Las bu not leat, i read someware here in the forum that the system have possibilty til redirect users at login depend af usergroup, but i can find the place to set it up
No sorry, in Easy Profile you can set redirect after login, but this works for all users
Attachments (1)
  1. more than a month ago
  2. Support
  3. # 3
hsmdk Accepted Answer
Hi,

Thanks for you reply, made all the ajustments an it seems to work as i schould

Reagrds redirect based on usergroup, what will it take to make a plugin there can solve this ?

THANSKS for your help
  1. more than a month ago
  2. Support
  3. # 4
admin Accepted Answer
Admin
Hi,
you need to write a user plugin and use onUserLogin event to add function to redirect.
here some Joomla docs https://docs.joomla.org/Plugin/Events/User#onUserLogin
  1. more than a month ago
  2. Support
  3. # 5
  • 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.