Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2009
    Location
    Bedford, England
    Posts
    966
    Plugin Contributions
    0

    Default Force Template Selection

    Hi all,

    I have two site running from the same database, however I want them to use different templates.

    can anyone tell me where the main variable/query for the the template directory is set so on the site that isn't going to be on the admin set template I can override it manually by hard coding it?

    Thanks in advance.

    Phil

  2. #2
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Force Template Selection

    init_templates.php
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Aug 2009
    Location
    Bedford, England
    Posts
    966
    Plugin Contributions
    0

    Default Re: Force Template Selection

    Quote Originally Posted by DrByte View Post
    init_templates.php
    Perfect! Worked a charm. Thanks mate

 

 

Similar Threads

  1. attributes force selection
    By buildingblocks in forum Setting Up Categories, Products, Attributes
    Replies: 6
    Last Post: 28 Oct 2011, 01:06 PM
  2. Force attribute selection?
    By jenpen in forum Setting Up Categories, Products, Attributes
    Replies: 10
    Last Post: 28 Jan 2011, 12:18 AM
  3. Force Attribute Selection
    By michellepchy in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 5 Aug 2010, 09:16 PM
  4. Force Selection of an Attribute
    By FoodDudes in forum General Questions
    Replies: 1
    Last Post: 22 Feb 2009, 03:53 AM
  5. How to force selection of a checkbox?
    By karma-lab in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 5 Jun 2008, 07:09 PM

Posting Permissions

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