visitor A > template A, visitor B > template B
Posted: Thu Sep 18, 2008 8:49 am
Hi,
title says it in short, but what I need:
When a regular user (A) visits the site they see a certain template, let's call it template A.
But when a registered user B visits the same site/pages, they see template B. (with added content blocks, different page layout and different print template)
This registered user may be a FEU (FrontEndUser maybe through FEU module), or just a BEU (BackEndUser an editor or whatever.)
It's not that important, because user B will only be 1 person...
I need registered user B to be able to view different content blocks and print the same page_id but in a different template then a regular user A.
Maybe like this:
• User B first sees template A, but like the {editif} tag, they see an extra link/button in the page (unlike user A).
When user B clicks the linke/button the page reloads with template B (and then they can print it)
• User B only sees template B (and then they can print it, so no step in between)
• (providing only user B with a different print template would not suffice, they need a different page template to, due to diff. content blocks, or maybe hiding them in css, so then: same template but use stylesheet A and stylesheet B approach??)
• better option you came up with
I already modified {editif} tag to reload the same page with the page_alias, this action is only provided to user B.
Now, how can I add a if/else load template thingie to it? Or is this a foolish approach?
^^^ I think so... I guess we can consider this a "foolish approach"...
title says it in short, but what I need:
When a regular user (A) visits the site they see a certain template, let's call it template A.
But when a registered user B visits the same site/pages, they see template B. (with added content blocks, different page layout and different print template)
This registered user may be a FEU (FrontEndUser maybe through FEU module), or just a BEU (BackEndUser an editor or whatever.)
It's not that important, because user B will only be 1 person...
I need registered user B to be able to view different content blocks and print the same page_id but in a different template then a regular user A.
Maybe like this:
• User B first sees template A, but like the {editif} tag, they see an extra link/button in the page (unlike user A).
When user B clicks the linke/button the page reloads with template B (and then they can print it)
• User B only sees template B (and then they can print it, so no step in between)
• (providing only user B with a different print template would not suffice, they need a different page template to, due to diff. content blocks, or maybe hiding them in css, so then: same template but use stylesheet A and stylesheet B approach??)
• better option you came up with

I already modified {editif} tag to reload the same page with the page_alias, this action is only provided to user B.
Now, how can I add a if/else load template thingie to it? Or is this a foolish approach?
^^^ I think so... I guess we can consider this a "foolish approach"...