Welcome, Guest
Username: Password: Remember me

TOPIC: Need Help with the Basics!

Need Help with the Basics! 16 Dec 2012 22:47 #6155

  • elitefit
  • elitefit's Avatar
  • Offline
  • New Member
  • Posts: 3
  • Karma: 0
Hey guys,

I'm trying to develop a "Client Dashboard" so that when my clients log in to my website, the first thing they see is their own information with the ability to edit only their own details.

HANG ON!.. i know what you're thinking! "omg, another NEWBIE question that has been answered 10 times before!"

I've been reading this Forum for 5 days now and these are the posts I've studied and tried to follow...

www.j-cook.pro/forum/advsearch?q=Set+Pub...ildforums=1&catids=7
www.j-cook.pro/forum/14-news-a-chillout/2149-userguide#2168
www.j-cook.pro/forum/7-design-your-appli...ecords-without-admin
www.j-cook.pro/forum/7-design-your-appli...-with-relations#5896
www.j-cook.pro/forum/25-faq/3996-how-to-...on-with-joomla-users

I think I need help before I even get to this point!! What's missing on this forum is a user manual for Cook explaining what all the Wizards and Data Type tools are for and their function.

For example, I understand that I use the Authoring tool and set it to "zero (0)" or "false" and to pre-fill the form and then set permissions to my user groups in Joomla etc...

Where I'm having trouble is... what Wizards and Data Fields do I use on my form and how?? do i use a "default text string" for the users first name, last name and address details? and an 'integer' field for their phone number?

or there seems to be a tool in the "data type" section called Joomla User ... but I'm not sure if I should be using that tool to somehow create the above mentioned fields and somehow link them to a specific 'user id' field/table.
(which i'm guessing is somehow related to the chart located under projects/database tab - seeing what fields are related to others??)

Can someone please provide some clarification on this? I'm obviously new to Cook but I've been stuck for days going around in circles trying to figure this out with out any help. :unsure:

Thanks to anyone that is able to help me out with this! ;)
The administrator has disabled public write access.

Re: Need Help with the Basics! 16 Dec 2012 22:52 #6156

  • elitefit
  • elitefit's Avatar
  • Offline
  • New Member
  • Posts: 3
  • Karma: 0
ps: here's a non-functional 'mock-up' of the "client dashboard" i'm trying to create. it's purely so clients can keep their information up to date which of course i can access from the joomla back-end or administrator front-end login...

The administrator has disabled public write access.

Re: Need Help with the Basics! 17 Dec 2012 14:31 #6158

  • JoomGuy
  • JoomGuy's Avatar
  • Offline
  • Moderator
  • Joomla Enthusiast, Lover of Cooking
  • Posts: 1115
  • Thank you received: 195
  • Karma: 64
Hi and welcome!

Firstly, there's no need to apologise for asking a question. We were all newbies at some point!!! ;)
Where I'm having trouble is... what Wizards and Data Fields do I use on my form and how?? do i use a "default text string" for the users first name, last name and address details? and an 'integer' field for their phone number?
Well, all of this depends upon your needs...

From reading your post and looking at your mockup, it seems to me that all of the user data you are concerned with might be considered profile information, right? I mean, this is the sort of data that your users would provide at the point of registration.

If so, I think that you would be best using a user profile plugin - please see this post in the thread you've been reading already: www.j-cook.pro/forum/7-design-your-appli...-with-relations#5896 - links to relevant stuff in the post.

Advantages
  1. Useful for the storing data that will be the same type for the same type of users
  2. Can be different for different types of users
  3. Will allow you to immediately access user info upon login, registration, logout etc through plugins
Then, using the user type field in Cook, you can create component specific records relating to the user. To clarify, you might wan't to use the author wizard to capture automatically the user filling in the data. This is useful for tasks where you want the user to be able to create multiple entries of something - like booking a gym session, logging their training activities or diet plan etc.

Of course, this could all be accessible on their profile page too via a module if you wanted.

In short, Profile = Data that is stored once for everyone
Component records = Data that you would most likely want the user to keep adding to n times.

Of course, this you could limit the user being able to create only one or any number of records inside your component but I think that the above distinction is a pretty good basis on which to decide what kind of data belongs where. This would be where custom coding would need to take over.

naturally, if you have user data that you only want the 'creator' to access, for instance a training diary or something, then yes, some of the posts you linked to have the answers.

Hope this helps,

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

Re: Need Help with the Basics! 19 Dec 2012 02:52 #6179

  • elitefit
  • elitefit's Avatar
  • Offline
  • New Member
  • Posts: 3
  • Karma: 0
Thanks audibleid for your help!

I've sent you a private message via your "MindYourBizOnline" facebook page.
The administrator has disabled public write access.

Re: Need Help with the Basics! 19 Dec 2012 08:51 #6181

  • JoomGuy
  • JoomGuy's Avatar
  • Offline
  • Moderator
  • Joomla Enthusiast, Lover of Cooking
  • Posts: 1115
  • Thank you received: 195
  • Karma: 64
Thanks for you message!

I've responded to it and skype requested you if you want to chat it through...

Speak soon!

Gez
Need help with your Cook/Joomla Project? . PM me to find out what I can help with. NO time wasters please!!!
The administrator has disabled public write access.
Time to create page: 0.245 seconds

Get Started