Announcement

Collapse
No announcement yet.

g.theme_path

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

    g.theme_path

    I just updated to the new 1.04 version of Shadows in my dev store. The web icons were not showing properly. So after going around in circles, I finally found the g.theme_path was hardcoded with mm5:

    HTML Code:
    <mvt:assign name="g.theme_path" value="'/mm5/themes/shadows'" />
    I fixed it by changing the path to Merchant5 (which is my path). I then changed it to:

    HTML Code:
    <mvt:assign name="g.theme_path" value="'themes/shadows'" />
    Does it make sense to do this by default since it should then not have to be changed by users of the theme to their path?

    #2
    It tis a bit odd, but IME, default url paths are notoriously inconsistent (meaning the work 98% of the time and then you run into some weird setup/configuration that doesn't abide.

    You SHOULD be able to use "&mvt:global:module_root_versionless;"
    Bruce Golub
    Phosphor Media - "Your Success is our Business"

    Improve Your Customer Service | Get MORE Customers | Edit CSS/Javascript/HTML Easily | Make Your Site Faster | Get Indexed by Google | Free Modules | Follow Us on Facebook
    phosphormedia.com

    Comment


      #3
      The theme path is set based off the theme being installed with new hosting service. It is possible, as you found, that it may need to be adjusted for other installation with different directory structures.
      Matt Zimmermann

      Miva Web Developer
      Alchemy Web Development
      https://www.alchemywebdev.com
      Site Development - Maintenance - Consultation

      Miva Certified Developer
      Miva Professional Developer

      https://www.dev4web.net | Twitter

      Comment

      Working...
      X