Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

[CLOSED] joomla user field not working 14 Nov 2012 07:11 #5345

Good morning to all of you :)

I added a Joomla user field to either a frontend and a backend form but they don't seem to work. Regardless to what user I select (admin, Laura) the user drop down stays empty. I tested it in sandbox and installed on site in both frontend and backend - not working.

Also, is it normal that in backend I only see admin and Laura and in frontend I see all users?

I am using V2. Dataset Flushed - no help.

Anyone knows how to fix this?

Kind regards,
Torben

Please Log in or Create an account to join the conversation.

Last edit: by torbonaut.

[CLOSED] joomla user field not working 14 Nov 2012 07:44 #5346

  • JoomGuy
  • JoomGuy's Avatar
  • Offline
  • Moderator
  • Moderator
  • Joomla Enthusiast, Lover of Cooking
  • Posts: 1115
  • Thank you received: 195
Hi @torbonaut,

When you add the field to your layout, I think that you probably dragged the user table element, not one of the fields.

To rectify, when on your target layout:
  1. remove the current user field
  2. From your fields list (on left), expand the user table by clicking the + sign
  3. Drag the field of your choice to the layout
  4. Rebuild/visit sandbox again
Hope it helps,

Gez
Need help with your Cook/Joomla Project? . PM me to find out what I can help with. NO time wasters please!!!
The following user(s) said Thank You: torbonaut

Please Log in or Create an account to join the conversation.

[CLOSED] joomla user field not working 14 Nov 2012 08:07 #5347

working now ... takes a bit to understand how everything works - would be a pain without users like you. many thanks.

Please Log in or Create an account to join the conversation.

[CLOSED] joomla user field not working 14 Nov 2012 08:43 #5348

  • JoomGuy
  • JoomGuy's Avatar
  • Offline
  • Moderator
  • Moderator
  • Joomla Enthusiast, Lover of Cooking
  • Posts: 1115
  • Thank you received: 195
No Problem!

The key to working with any Foreign Key field is that you have the stored data (id) and the label or mask (usually a title, name or in the case of users, a username, email address or something else unique) that you use to display it in a human readable fashion.

This is the case for any custom foreign fields you use in your component to relate data across tables or indeed the user table that COOK has kindly allowed us to hook in to.

Glad it helped and Happy Cooking!

Gez
Need help with your Cook/Joomla Project? . PM me to find out what I can help with. NO time wasters please!!!

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.058 seconds

First of all... I have to congratulate you guys for the awesome tool... I came here only to see what this thing was up to and I have to tell that I'm very impressed with what this tool can do. French guys are making a revolution on Joomla... first with Seblod and now Cook...
Griiettner (forum)

Get Started