Announcement

Collapse
No announcement yet.

Skins: Images in external css file

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Skins: Images in external css file

    1. Does the css have to be embedded in the HEAD Tag Content in order for background images it references to be included in the skin?

    All images in my custom framework are background images <link'd in an external css file.

    2. Can I manually add the images to the package file?
    Ray Yates
    "If I have seen further, it is by standing on the shoulders of giants."
    --- Sir Isaac Newton

    #2
    Re: Skins: Images in external css file

    Originally posted by RayYates View Post
    1. Does the css have to be embedded in the HEAD Tag Content in order for background images it references to be included in the skin?

    All images in my custom framework are background images <link'd in an external css file.

    2. Can I manually add the images to the package file?
    3. Can the external .css and .js files be included in the framework/skin?
    Ray Yates
    "If I have seen further, it is by standing on the shoulders of giants."
    --- Sir Isaac Newton

    Comment


      #3
      Re: Skins: Images in external css file

      Originally posted by RayYates View Post
      1. Does the css have to be embedded in the HEAD Tag Content in order for background images it references to be included in the skin?
      All images in my custom framework are background images <link'd in an external css file.
      This is a known bug that will be fixed in our Release Candidate. Currently, external CSS files are not parsed nor included when saving a framework.

      Originally posted by RayYates View Post
      2. Can I manually add the images to the package file?
      You can, but you'd also have to alter the control.xml file and specify the image locations.


      Originally posted by RayYates View Post
      3. Can the external .css and .js files be included in the framework/skin?
      "css" files yes, "js" files no.
      Alex Kruglyak
      Software Engineer
      Miva Small Business Solutions
      http://www.mivamerchant.com

      Comment


        #4
        Re: Skins: Images in external css file

        I found a work-a-round. I added this the the SFNT template below the </html> tag. The files and images are not compiled onto the screen but are included in the skin file.

        <mvt:comment>
        External Files included in the skin package.
        <img src="/mm5/gold_green/gold_green.css" />
        <img src="/mm5/gold_green/gold_green.js" />
        <img src="/mm5/gold_green/pci_external.mvc" />

        <img src="/mm5/gold_green/btn_green_100.png" />
        ...more image files here...
        <img src="/mm5/gold_green/payment_logos.png" />

        </mvt:comment>
        Ray Yates
        "If I have seen further, it is by standing on the shoulders of giants."
        --- Sir Isaac Newton

        Comment

        Working...
        X