Results 1 to 7 of 7

Thread: Template switching based on user rights

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Sep 2009
    Bucharest, Romania

    Question Template switching based on user rights


    One of my clients asked me if i can get the template to change colors automatically after the agents are logged in. He wanna have the main template as it is for anonymous users and members.

    I know it can be done by hard-codding the template files and use the {check_agent } conditional comments.. however, this is probably also the hardest and longest way.. having to duplicate basically all css just for a color change (red will become blue ).

    The other way is to load different templates, and i think this is the simplest way.. so, my question is:

    Is there a simple way , or and add-on already developed that can do that or can be modified to perform that automatically?

    I use O.R. 2.5.8 for this client.

    Thank You in advance.
    Last edited by marin; 04-12-2011 at 03:46 PM. Reason: removed some lines

Similar Threads

  1. 3.0.2 switching to seo turns off lazuli template
    By OwnerDirectSpain in forum Installation/Configuration Help
    Replies: 31
    Last Post: 07-08-2010, 01:25 PM
  2. Broken template after switching to Linux
    By egubert in forum Templates - Help/Ideas/Discussion (CLOSED)
    Replies: 0
    Last Post: 01-05-2010, 06:12 AM
  3. URL based template switching
    By NovaBurn in forum Templates - Help/Ideas/Discussion (CLOSED)
    Replies: 11
    Last Post: 04-18-2009, 08:28 AM
  4. URL based template switching
    By NovaBurn in forum General Help (CLOSED)
    Replies: 4
    Last Post: 04-17-2009, 10:10 AM
  5. PbFlash TemplateChanger choose template based on agent
    By Andrea80 in forum Addon help, ideas and discussion (CLOSED)
    Replies: 3
    Last Post: 02-20-2007, 01:29 PM

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts