Announcement

Collapse
No announcement yet.

Need help migrating from Sebenza Category Template Manager

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

    Need help migrating from Sebenza Category Template Manager

    I'm trying to get rid of the Sebenza Category Template Manager module and use the built-in Miva functionality. Everything works great EXCEPT the mobile content. When I use the Sebenza module for alternate categories the mobile content loads just fine, but when I switch over to the built-in "Alternate Display Page" method in Miva, the site loads the non-mobile version on a mobile device.

    Miva implemented our mobile site a couple years ago. It's not responsive, but separate "mobile" code.

    Any help would be appreciated.

    Thanks,
    Eric

    #2
    Re: Need help migrating from Sebenza Category Template Manager

    Hi Eric,

    There is code that can be found usually at the beginning of each Page that is using the Toolkit Mobile Commerce implementation. Look for a tag similar to this

    Code:
    <mvt:item name="html_profile" /><mvt:if expr="g.mobile EQ 'TRUE'">
    	<mvt:item name="mobile_content" />
    <mvt:else>
    <head>
    don't forget to close it out at the bottom of the template.

    For the CTGY type template that you are creating, make sure you also have a Content (mobile_content) item. It should have something similar to this:

    Code:
    <head><title>&mvt:category:name; - &mvt:store:name;</title>
    <mvt:item name="head" param="head_tag" />
    </head>
    <mvt:item name="body">
    	<mvt:item name="toolkit" param="render|MBL_HEAD" />
    	<mvt:item name="toolkit" param="render|MBL_FOOT" />
    </mvt:item>
    Yours may vary.

    And don't forget to make sure that the Toolkit item is assigned to the page.

    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: Twitter | Facebook | FourSquare | Pinterest | Flickr

    Comment


      #3
      Re: Need help migrating from Sebenza Category Template Manager

      Thanks, Leslie, for all your help with this. It's nice to finally get off those Sebenza modules!

      Comment


        #4
        Re: Need help migrating from Sebenza Category Template Manager

        You can also just use the native render function:


        <mvt:do name="l.result" file="g.Module_Feature_TUI_MGR" value="TemplateManager_Render_Page( 'MBL_HEAD' )" />

        Not positive, but it should be faster than toolkit.
        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

        Working...
        X