Website with user registration and personal page

Permalink
Hi, I'm trying to setup a website where a visitor can register/login and create a personal page for public view.

The personal page will be a pre-defined template with room for personal details.

I was able to setup the registration/login using the 'Login' add-on. But I don't know how to make it so that each unique user can create their own personal page.

Hope you can help,
Luca

ZillionProductions
 
JohntheFish replied on at Permalink Reply
JohntheFish
You can make the personal page the user's profile page (or a single page beneath that) and enable public profiles.

You can then set up user attributes for each piece of data a user can edit.

The profile page has a standard way of displaying user attributes. If you want formatting/layout of the attributes you can:

a) Override the single page view and write php/css to format the attribute display.

b) Create a custom block that displays user attributes to your format and add it to the page.

c) Its an ideal application for my Magic Data addon, where you can layout the data in blocks or stack with magic data tokens to insert the attributes for the profile owner. With that you would also need to do any of:

- leave block caching disabled;
- create un-cached versions of the block controllers;
- use Universal Content Puller to pull a stack onto the page and process the magic data from the stack;
- magic data enable the theme;

(If you don't do one of these, a single user's data will get stuck in the concrete5 cache and be shown to all)
ZillionProductions replied on at Permalink Reply
ZillionProductions
Hi John, thnks for taking your time with the elaborated answer.

However, I'm hoping you can help me in a more 'step-by-step' way because I'm not sure how to do all the steps you mentioned.

Thanks again!
JohntheFish replied on at Permalink Reply
JohntheFish
There is too much to micro-detail. It would be like saying 'tell me how to build a house'.

However, by experimenting on a test site you should be able to teach yourself. Just go to the dashboard search and look for 'users', 'profiles' and 'attributes' and have a play. Also search/read the editors guides, howtos and documentation on concrete5.org and watch any videos on youtube.

Do this on a test site and you can make as many mistakes as you like. Make notes. Then once you have an idea how profiles and user attributes hang together you should be able to get as far as the line before a,b,c fairly easily.

Note that a,b,c are not steps. They are alternative solutions for the next step after that. But you need to get to the previous step before it would be useful or beneficial to explain further.