Results 1 to 4 of 4

Thread: Saving Theme

  1. #1
    Client pdunton's Avatar
    Join Date
    Apr 2006
    Location
    Tucson, Arizona
    Posts
    555
    Squirrelcart version
    v3.4.1

    Saving Theme

    Not important but just a heads up.

    When starting out to set up a custom theme, I copied the squirrelcart theme and modified it.
    I designated the folder that the new theme would exist in.
    That folder had not been set up.
    On saving the theme, the application did not set up the folder so it could write the xml.

    A good touch after the dust settles a bit would be to let the application cover that detail if needed.

  2. #2
    Squirrelcart Staff Jamie's Avatar
    Join Date
    May 2002
    Posts
    6,829
    Squirrelcart version
    v3.3.7
    The process actually requires you create the themes folder, as you used to in v2.x. If you click the Add New button when viewing the Themes table, it explains how to do it.

    We could have Squirrelcart create the folder, but that would require yet another required permission on the squirrelcart/themes/ folder that shouldn't be necessary for most people creating custom themes as they will be using FTP to modify the templates anyway.

    I don't believe this has been discussed, but an XML config file is now written to a theme's folder when it's record is saved. That config file can then be used to install that theme in another Squirrelcart installation. If Navigation Blocks or Content records associated with the theme aren't present, they are automatically created.

  3. #3
    Client pdunton's Avatar
    Join Date
    Apr 2006
    Location
    Tucson, Arizona
    Posts
    555
    Squirrelcart version
    v3.4.1

    Works Good

    I excercised that little bit of code. Works good.

    Can I anticipate that a theme designed for beta2 will import to the end product OK?

  4. #4
    Squirrelcart Staff Jamie's Avatar
    Join Date
    May 2002
    Posts
    6,829
    Squirrelcart version
    v3.3.7
    Yes, it should.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

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