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.082 seconds

This is what you call a component builder. I was able to master using this in a very short time and the resulting component works like a charm. Not just a basic component builder but a fully working component builder with forms fields tables all ready to go. You can make the list and item views to display in the front and back end. Also there is a great forum just starting to evolve and I'm sure this will grow very rapidly when you all realise how good this tool is.
Kevin (JED)

         

Get Started