Possible to have content accessible per user

More
12 years 2 months ago #35642 by FFitness
To make a private page for a user (kinda like a user profile)
But no one but the user self can access it, and only I (not the user) can edit it.

I also want to display lists on that page, these are 7 lists, connected to a calender.
The lists show what a user needs to eat, what body part to train etc on a given day.

So if they click monday on the calender, I want the user profile to show what they need to do on monday etc.

Hope to hear something soon, thanks!

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

More
12 years 2 months ago #35647 by ggppdk
Hello,

you can,
- but you need basic knowledge of Joomla ACL !
- what you ask is Requirements Analysis of a specific case problem, the Requirements Analysis is usually something done with a discussion, and the purpose is to discover what needs to be done. Many times after discussion we release the real details of what is needed. This is not exactly a support question !

1. Create 2 Content Types (for example named as)
- TraineeProfile (put what you need here)
- TraineeTask (put what you need here)
2. Create a Joomla User Group called "Trainee"
3. To this user Group (in FLEXIcontent Component Configuration)
- Give Permission "Create"
- Deny Permission "Edit"
- Give Permission "Editown"
4. Create your fields and assign them to Content Types
and also Add to your TraineeProfile a Relation Field

Again , this is not a trivial task,
so if you are not an experienced Joomla User , then please seek the help of a professional

Regards


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

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

More
12 years 2 months ago #35745 by FFitness
Thanks for the reply, but let me make it a little easier.

What if I want to create a page, only visible for clients, that retrieves their workout plan from a database and display it.

I'll make the workouts etc in advance and I just need a page that displays the correct item from the database to a certain user.

So again like a profile page, but I don't need front end editing, I'll edit it in the back end and it just has to display the workout, meal planning and supplements.

Will this make things easier ?

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

More
12 years 2 months ago #35752 by ggppdk
Hello,
using backend will not make it more possible, maybe it will make it less possible.

I think what you need (have changed title of this thread too):

is too have Content (e.g. call the Trainee Profiles) viewable per user.

This is maybe possible in Joomla/FLEXIcontent, but maybe problematic, since
1. the VIEW access is per Access Level and
2. the create/edit/etc permissions are per user group

Maybe the solution in Joomla/FLEXIcontent would be to:
to create one User Group per User and one Access Level Per User
e.g.
-- For user "Maria MM" Create User Group: "Maria MM UG" and the User Level: Maria MM UL"
-- Edit User Level: Maria MM UL" and assign it only to User group: "Maria MM UG"
-- Edit user "Maria MM" and assign her to the user group "Maria MM UG"
-- You may also want to create one User Group "Trainee" and assign it to all users along with their personal user group
-- Do NOT give create/edit/edit-own privileges to these user groups

Now every time you create a "Trainee Profile" (Create this content Type in FLEXIcontent Types manager), just set the access level of it to be the access level of the appropriate user


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.334 seconds
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline
Save