Results 1 to 8 of 8

Hybrid View

  1. #1
    Join Date
    Aug 2007
    Posts
    41
    Plugin Contributions
    0

    red flag Where are the Default Values saved ?

    Where are the Default Values saved ?
    For Example:
    I'd like "199px" as the default value in Admin of Configuratin -> Layout Settings -> Column width - left .
    Surely we can set it in admin after we installed successfully.
    But if I wanna install several sites with the same setting Parameters,
    I have to set them several times manually.
    Can I set the Default Values in the programming files before install ?
    Then I will get my favorite setting as soon as I finish installing my sites without setting in the admin manually.
    Where do the default values locate in ?
    Give me some directs pls!

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Where are the Default Values saved ?

    The Configuration settings are stored in the configuration table ...

    Be careful of settings that are site specific ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Aug 2007
    Posts
    41
    Plugin Contributions
    0

    Default Re: Where are the Default Values saved ?

    Where does the Configuration table ? Which files ?

    PS: for Zen Cart V1.3.7

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Where are the Default Values saved ?

    The configuration table is in your database ... this is not a file on your site ...

    This is accessible via phpMyAdmin ...

    The database name can be read in the file:
    /includes/configure.php

    this you setup when you installed the site and will be different with each installation ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  5. #5
    Join Date
    Aug 2007
    Posts
    41
    Plugin Contributions
    0

    Default Re: Where are the Default Values saved ?

    Many Thanks for Your Quick Reply, Ajeh!
    I couldn't find the file Configure.php in /includes for Version 1.3.7

    I think the default records in the Database were created by SQL script files.
    So there must be some files saving the default values.
    Not via phpMyAdmin.

    I think it is no difference to set via phpMyAdmin and via in ZenCart Admin.
    Because both of them will be done after installing ZenCart successfully.
    I hope to modify the default values before installing.

  6. #6
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Where are the Default Values saved ?

    Speak to your hosting site about how to access your databases ...

    The configuration table is in that database not a file on the server ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  7. #7
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: Where are the Default Values saved ?

    Are you wanting to change these so that they default on install,

    that would mean that you would go through
    zc_install/sql/mysql.sql

    dig carefully cause if you hit the wrong thing it can make a mess

    unless you are 1 comfortable with making changes to a database manually, dosnt seem like you are. and 2 doing a MASS amount of sites, I mean more than 2 or 3 a day, yur better off just making htese changes manually once you get the admin setup
    Zen cart PCI compliant Hosting

  8. #8
    Join Date
    Aug 2007
    Posts
    41
    Plugin Contributions
    0

    Default Re: Where are the Default Values saved ?

    Quote Originally Posted by Merlinpa1969 View Post
    Are you wanting to change these so that they default on install,

    that would mean that you would go through
    zc_install/sql/mysql.sql

    dig carefully cause if you hit the wrong thing it can make a mess

    unless you are 1 comfortable with making changes to a database manually, dosnt seem like you are. and 2 doing a MASS amount of sites, I mean more than 2 or 3 a day, yur better off just making htese changes manually once you get the admin setup
    Thanks for your directs and advices, Merlinpa1969!
    Why do you think I seem not like to comfortable with making changes to a database manually ?
    I'm a newbie to ZenCart and PHP, but learn something about SQL and other Programming Language. I think that's enough !

    I found so many commands like "INSERT INTO configuration (configuration_title,..."
    Pay more attention to it, I think I can solve it now.

 

 

Similar Threads

  1. where are the product reviews saved?
    By w2e in forum General Questions
    Replies: 5
    Last Post: 21 Feb 2012, 06:17 AM
  2. Where are the "values" of the attributes stored in a session?
    By MrNoBrainer in forum Managing Customers and Orders
    Replies: 2
    Last Post: 26 Apr 2011, 07:27 PM
  3. Where are my products saved?
    By still_learning in forum General Questions
    Replies: 3
    Last Post: 1 May 2010, 07:40 AM
  4. Where are the user passwords saved?
    By majamer in forum Installing on a Windows Server
    Replies: 7
    Last Post: 26 Mar 2008, 10:38 PM
  5. Where are product descriptions saved?
    By janeausten72 in forum General Questions
    Replies: 1
    Last Post: 19 May 2006, 09:38 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