Results 1 to 7 of 7
  1. #1
    Join Date
    Jan 2010
    Posts
    22
    Plugin Contributions
    0

    Default Losing all configuration from the "layout boxes controller" when changing templates

    Hi,

    I have installed 1.38 successfully and in addition have bought and successfully installed a new template (using the override system).

    I now want to create my own custom variation of the new template I bought but I don't want to mess around with those new template files. I have therefore created another new override folder and duplicated the template files I bought wherever they exist.

    The problem I am having is that when I go to "template selector" and choose to switch to my own new custom template, I lose all configuration from the "layout boxes controller" section. This in turn causes my navigation to disappear. I was under the impression that switching between templates in the "template selector" shouldn't cause any of your other settings to change? You can see my site here: http://www.kukistudio.com/index.php?main_page=index

    I have ensured that all my folder names are spelt correctly, I have also edited template_info.php correctly.

    Any help would be appreciated.

    Many thanks
    Costas

  2. #2
    Join Date
    Jan 2010
    Posts
    22
    Plugin Contributions
    0

    Default Re: Override Template = Losing data configuration,

    just to add, that when i use "template selector" to switch to my own custom template, everything switches over correctly except for the fact that I lose my settings in "layout boxes controller" and my navigation refuses to display.

  3. #3
    Join Date
    Jan 2010
    Posts
    22
    Plugin Contributions
    0

    Default Re: Override Template = Losing data configuration,

    I have just dumped the entire database and found that the table "layout_boxes" saves your settings with the specific name of your override template name.

    So the settings of "layout_box_controller" need to be reentered each time you create a new override template. These settings are reset when you switch for the first time to your new template.


    Am I correct here? or did I miss something when I set up my own custom template?

  4. #4
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Override Template = Losing data configuration,

    Quote Originally Posted by cmavroudis View Post
    So the settings of "layout_box_controller" need to be reentered each time you create a new override template.
    Those settings need to be set at least *once* for each new template you add, yes.

    Quote Originally Posted by cmavroudis View Post
    These settings are reset when you switch for the first time to your new template.
    The settings for *THAT* new template will need to be set, yes.
    But the master settings and all settings for *other* templates will *NOT* be affected when changing templates.
    .

    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.

  5. #5
    Join Date
    Jan 2010
    Posts
    22
    Plugin Contributions
    0

    Default Re: Losing all configuration from the "layout boxes controller" when changing templat

    Thankyou for your reply and clarification on this issue.

    Cheers
    Costas

  6. #6
    Join Date
    Apr 2011
    Posts
    1
    Plugin Contributions
    0

    Default Re: Losing all configuration from the "layout boxes controller" when changing templat

    Geia sou file eida oti eisai apo ellada tha ithela tin simvouli sou an ksereis...Exw egkatastisei kapoia templates sto site mou alla meta tin egkatastasi ta koumpia sto menou pou einai panw sto site emfanizontai kapws etsi TOP_MENU_HOME , TOP_MENU_NEW_PRODUCTS , TOP_MENU_SPECIALS ktl mipws ksereis pws tha mporousa na diorthosw to provlima?se euxaristw

  7. #7
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,826
    Plugin Contributions
    31

    Default Re: Losing all configuration from the "layout boxes controller" when changing templat

    this mod may be what you are looking for:
    http://www.zen-cart.com/forum/showth...446#post881446

 

 

Similar Threads

  1. Changing "Default Order Status" from "Delivered" to "Shipped"
    By CookieMonster in forum Customization from the Admin
    Replies: 1
    Last Post: 25 Nov 2014, 12:22 AM
  2. Replies: 18
    Last Post: 29 Sep 2009, 02:37 PM
  3. Can I make all "add: 0" input boxes on product pages to "more info..."?
    By sfklaas in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 15 Aug 2009, 06:05 PM
  4. cutting certain categories from the "featured" and "new" products boxes
    By get bucked in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 6 Jan 2009, 08:58 AM
  5. How many listed in the "layout Boxes controller"?
    By greenenergies in forum Basic Configuration
    Replies: 4
    Last Post: 30 Jan 2008, 11:25 AM

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