Results 1 to 4 of 4
  1. #1
    Join Date
    Dec 2009
    Location
    Amersfoort, The Netherlands
    Posts
    2,819
    Plugin Contributions
    24

    Default Zen4All Template Color Picker

    !! Currently the module is still in BETA !!
    It is functional, but still needs some tweaking Current version: v1.0.0.beta.1

    Zen4All Template Color Picker is a back-end tool to set the colors for a Zen Cart theme, so store owners with no coding experience can do simple color tweaking. Based on the ideas of:

    I liked the idea of both, and have used them, but for me there was one big drawback. The color scheme values are stored in the database, making it labor intense to add new css values.

    My new module uses a standard css file. This way it is also possible to add new values through a text-editor on you computer.

    On the edit page you can set colors to:

    • backgrounds (background-color)
    • text (color)
    • borders (border-color, border-top-color, border-right-color, border-bottom-color, border-left-color)


    Installation


    • Copy all the files to your server.
    • the auto installer will add some values to your database:
      • menu items
      • mod version
      • a configuration field to set the file name for the color stylesheet


    Usage



    • Go to admin->configuration->Template Colors
    • Edit the value of the stylesheet name, if needed
    • Go to admin->tools->Template Colors
    • Select the template from the dropdown, and the values of your color stylesheet appear
    • Now you can edit, delete, or add a new property


    To-do, and limitations



    • Adding a new css element (v1.0.0.beta.2)
    • Deleting a css element (v1.0.0.beta.2)
    • Add proper documentation (v1.0.0)
    • Replace hardcoded texts with language defines (v1.0.0.beta.2)
    • Add titles to buttons (v1.0.0.beta.2)
    • Add ajax, so page reload without jumping back to top after clicking a button (v2.0.0)

    You can not use fancy css selectors like:
    .rating > input:checked + label:hover
    The + < > ~ signs are ignored. This may de fixed in the future

    Download link
    On GitHub:
    Zen4All Template Color Picker
    Once all bug are gone, and documentation is written, I will upload this mod to the Download Section

  2. #2
    Join Date
    Dec 2009
    Location
    Amersfoort, The Netherlands
    Posts
    2,819
    Plugin Contributions
    24

    Default Re: Zen4All Template Color Picker

    FYI: Tested on Zen Cart 1.5.6 and php 7.3.
    Lower Zen cart versions may not work due to missing bootstrap

  3. #3
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    7,283
    Plugin Contributions
    8

    Default Re: Zen4All Template Color Picker

    Looks like something to look at.

    I liked the idea of both, and have used them, but for me there was one big drawback. The color scheme values are stored in the database, making it labor intense to add new css values.
    I need to point out that nothing in the Color Change Mod is stored in the database. It is all edited in a text editor and the documentation describes the process in full.

    The goal is to have it where the major colors are changed in an admin menu page, but that is in the future.

    They say, "Necessity is the Mother of invention." I say, "Laziness is the Mother of invention." Open source helps us either way.
    Did you read the posting tips?!?
    Responsive Color Changes for 155-156c demo here.
    Zen Cart PCI Compatible Hosting

  4. #4
    Join Date
    Dec 2009
    Location
    Amersfoort, The Netherlands
    Posts
    2,819
    Plugin Contributions
    24

    Default Re: Zen4All Template Color Picker

    Quote Originally Posted by dbltoe View Post
    Looks like something to look at.

    I need to point out that nothing in the Color Change Mod is stored in the database. It is all edited in a text editor and the documentation describes the process in full.

    The goal is to have it where the major colors are changed in an admin menu page, but that is in the future.

    They say, "Necessity is the Mother of invention." I say, "Laziness is the Mother of invention." Open source helps us either way.
    Yeah I am lazy .
    I know your mod has no database edits, maybe should have worded that better.

    A new version is almost done. Beta 2 will be available tomorrow.

 

 

Similar Threads

  1. v155 Delivery Date Picker
    By saftek in forum All Other Contributions/Addons
    Replies: 5
    Last Post: 13 Feb 2017, 03:29 PM
  2. v150 Google Co-ordinates picker
    By msk_Kapoor in forum Managing Customers and Orders
    Replies: 2
    Last Post: 12 Jun 2013, 12:15 PM
  3. Colr Picker
    By grimshawshane in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 11 Sep 2010, 11:09 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR