Howdy Folks,
Hopefully this hasn't been asked before... Also, please forgive my crude explanations - I've not been doing this very long, so there is an awful lot I don't fully understand.
I have been playing around with Couch to see if it is possible to show content based on a specific member name / id / email etc etc.
While toying around, I went back to basics and played around with a blog, trying to determine whether its possible to show specific folders based on user login. So for example with a blog, I know I can list all the single / cloned blog pages on one page i.e. the blog list with
What I cannot figure out is if its possible to adjust the view based on the individual logging in.
So the task I have in hand, is to list a bunch of documents that are specific to one individual person only. What I wanted to do is set it so that once logged in the view would show only the content from a folder that is identical to their name/id/email etc or 100% focused to them - essentially making the view:
Is this even possible? If so, does anyone please have any suggestions? I appreciate I could probably do this if I had individual pages / templates for each individual user, however we are talking a huge user base... So if I can ideally use just one template cloned for all users it would be much easier.
Thanks!
***Update***
OK - so I played around a little more, I have managed to achieve similar to what I want, although its a little inelegant. By adding multiple clonable pages (i.e. one per member) and then changing the k_member_title to the name of the page. I managed to embed a list of content for specific users with:
Any alternative suggestions would be most welcome!
Thanks
Hopefully this hasn't been asked before... Also, please forgive my crude explanations - I've not been doing this very long, so there is an awful lot I don't fully understand.
I have been playing around with Couch to see if it is possible to show content based on a specific member name / id / email etc etc.
While toying around, I went back to basics and played around with a blog, trying to determine whether its possible to show specific folders based on user login. So for example with a blog, I know I can list all the single / cloned blog pages on one page i.e. the blog list with
- Code: Select all
<cms:pages masterpage='blog.php' folder=k_folder_name>
- Code: Select all
<cms:pages masterpage='blog.php' folder='myfolder'>
What I cannot figure out is if its possible to adjust the view based on the individual logging in.
So the task I have in hand, is to list a bunch of documents that are specific to one individual person only. What I wanted to do is set it so that once logged in the view would show only the content from a folder that is identical to their name/id/email etc or 100% focused to them - essentially making the view:
- Code: Select all
<cms:pages masterpage='blog.php' folder=k_folder_name===k_member_email / id / title / name etc>
Is this even possible? If so, does anyone please have any suggestions? I appreciate I could probably do this if I had individual pages / templates for each individual user, however we are talking a huge user base... So if I can ideally use just one template cloned for all users it would be much easier.
Thanks!
***Update***
OK - so I played around a little more, I have managed to achieve similar to what I want, although its a little inelegant. By adding multiple clonable pages (i.e. one per member) and then changing the k_member_title to the name of the page. I managed to embed a list of content for specific users with:
- Code: Select all
<cms:pages masterpage=k_member_title folder=k_folder_name >
Any alternative suggestions would be most welcome!
Thanks