Toolkit snippets in ReadyTheme Banners

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lesliekirk
    Super Moderator











    • Aug 2008
    • 9296

    #1

    Toolkit snippets in ReadyTheme Banners

    Do Toolkit snippets not work inside a ReadyTheme Banner? I tried added a snippet that I wanted to contain with in a ReadyTheme Banner, when I placed the token for the Banner, it didn't work. When I replaced the token with the code, the snippet worked.

    Kinda sucks if it can't be done.

    Leslie
    Leslie Kirk
    Miva Certified Developer
    Miva Merchant Specialist since 1997
    Previously of Webs Your Way
    (aka Leslie Nord leslienord)

    Email me: [email protected]
    www.lesliekirk.com

    Follow me: X | Facebook | Pinterest
  • Bruce - PhosphorMedia
    Developer Partner











    • Mar 2006
    • 11256

    #2
    Re: Toolkit snippets in ReadyTheme Banners

    Those don't seem to be managed templates, so toolkit/smt code would not work. You could use an ajax call. We sometimes create a single page for ajax content for management simplicity. You just wrap the content calls you need with something like:

    <mvt:if expr="g.ajaxMakeMeASandwich">
    <mvt:item name="makeSandwich" param="Use:whatever:smt:function:you:need" />
    </mvt:if>

    and just add "ajaxMakeMeASandwich=1" to the ajax url call.
    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

    • Brennan
      Super Moderator









      • Jun 2009
      • 3481

      #3
      Re: Toolkit snippets in ReadyTheme Banners

      ReadyTheme banners do not, but Content Sections do.

      Can you give me some details on what you're trying to do?
      Brennan Heyde
      VP Product
      Miva, Inc.
      [email protected]
      https://www.miva.com

      Comment

      • lesliekirk
        Super Moderator











        • Aug 2008
        • 9296

        #4
        Re: Toolkit snippets in ReadyTheme Banners

        No worries, I can move it to a content section.

        Thanks!
        Leslie
        Leslie Kirk
        Miva Certified Developer
        Miva Merchant Specialist since 1997
        Previously of Webs Your Way
        (aka Leslie Nord leslienord)

        Email me: [email protected]
        www.lesliekirk.com

        Follow me: X | Facebook | Pinterest

        Comment

        • lesliekirk
          Super Moderator











          • Aug 2008
          • 9296

          #5
          Re: Toolkit snippets in ReadyTheme Banners

          Originally posted by Brennan View Post
          ReadyTheme banners do not, but Content Sections do.

          Can you give me some details on what you're trying to do?

          Follow on to this. For another site, I tried using this in the Content Section and the token did not render
          Code:
          http://&mvt:global:domain:name;/ABUS.html
          Leslie Kirk
          Miva Certified Developer
          Miva Merchant Specialist since 1997
          Previously of Webs Your Way
          (aka Leslie Nord leslienord)

          Email me: [email protected]
          www.lesliekirk.com

          Follow me: X | Facebook | Pinterest

          Comment

          Working...
          X