site triggers?

Permalink
Hi all,

I'm evaluating several CMS' and I'm really liking the user inteface of C5. One feature of a site required by a client of mine is triggers. Let me explain what I mean by that...

A user is presented with 2 links: Personal or Business. Then, when browsing the site, the content they see can be either Generic content, Personal content, or Business Content. So each page / block could have upto 3 different pieces of content depending on which "trigger" the user clicked on.

Is there some way of making this happen in C5?

Thanks in advance for your help!

Jon

jbx
 
Remo replied on at Permalink Reply
Remo
C5 supports events -http://www.concrete5.org/help/building_with_concrete5/developers/mv...

This is what I consider as a trigger..

What you're describing sounds more like permissions, no?

You can set permissions on a per page level. Anything else should probably be done using blocks.. There are some functions you can use, but I'd need a few more details about your requirment to give you a more specific answer...
frz replied on at Permalink Reply
frz
you can do this with permissions as remo points out - it would require them to login.

You can do this with just creating different parts of the site and sending them to where they need to go..

We actually made something that sounds similar that the marketing guy called "PURL" for "personalized URL's".. send the person to:
sitename.com/user.name and it looks into a database for a matching record and does a merge on the data to make a personalized page with no logging in. this isn't part of the core, and wouldn't be free - but its something we could share with you on a project basis if its what you're really shooting for.
jbx replied on at Permalink Reply
jbx
I would need it to go a bit further than that.

For example, the user clicks on the "business" trigger. This then sets a session var, so that when he visits mysite.com/about/, he gets content tailored towards business users. Another user clicks on the "personal" trigger, gets his session var set to personal and then goes to the SAME url mysite.com/about/, but gets content tailored towards personal users.

Does that make sense?

I realize this could be quite a specific addon for the cms, but would be interested in hearing any suggestions...

Thanks,

Jon
Remo replied on at Permalink Reply
Remo
but as you write yourself it's pretty custom.

What you might be able to do:
Create a page type "Tailored Content Page" and within that type, create three Areas where you can add blocks.

An area for each group. You could then use some template hacking to display the proper area..

As a matter of fact, that's pretty easy to implement but you need basic c5 knowledge.
jbx replied on at Permalink Reply
jbx
That may well be a workable solution. I'll have to play with it and see how it works in practice.

Thanks Remo!
Remo replied on at Permalink Reply
Remo
I'd like to hear about your solution. Would be nice if you could post it once you've found one (or didn't find one).

I imagine it could be a bit confusing to have 3 areas to split the content.. But with the help of some hints which appear in the edit mode, this could still work...
jbx replied on at Permalink Reply
jbx
You'll probably have to give me a few days until I have something put together, but I'll post a link here when it's up and ready...
Remo replied on at Permalink Reply
Remo
I'm not in hurry (: I just wonder sometimes how things are working for other people. It's good to get some feedback about possible solutions/problems before they happen...

thanks!