Announcement

Collapse
No announcement yet.

Ready Them Content Wrapper

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

    Ready Them Content Wrapper

    Is it possible to have the readytheme items not wrapped with a containing div:

    <div id="name" class="readytheme-contentsection"></div>
    http://www.alphabetsigns.com/

    #2
    Re: Ready Them Content Wrapper

    Yes, you have the ability to load the data yourself. See the functions at the bottom of this page:

    http://www.miva.com/videos/articles/...-documentation

    Code:
    <mvt:item name="readytheme" param="Load_ContentSection(code, output )" />
    This will load all the data associated with the content section and you can output only what you need/want.
    Brennan Heyde
    VP Product
    Miva, Inc.
    [email protected]
    https://www.miva.com

    Comment


      #3
      Re: Ready Them Content Wrapper

      Thanks Brennan,

      Code:
      <mvt:item name="readytheme" param="Load_ContentSection('global-jquery', g.global_jquery )" />
      &mvt:global:global_jquery;
      Output: 1,global-jquery,Global jquery,11,Global Jquery,1802

      How do I output the template?
      http://www.alphabetsigns.com/

      Comment


        #4
        Re: Ready Them Content Wrapper

        Sorry, i guess the actual template is not returned in that function. Here is how you can get it:

        Code:
        <mvt:item name="readytheme" param="load_contentsection( 'test' )" />
        <mvt:do name="l.return" file="g.Module_Feature_TUI_DB" value="ManagedTemplate_Load_ID( l.settings:readytheme:loaded:templ_id, l.loaded_template )" />
        <mvt:do name="l.null" file="g.Store_Template_Path $ l.loaded_template:filename" value="Template_Render( l.null, l.all_settings )" />
        Last edited by Brennan; 04-09-15, 09:21 AM.
        Brennan Heyde
        VP Product
        Miva, Inc.
        [email protected]
        https://www.miva.com

        Comment


          #5
          Re: Ready Them Content Wrapper

          Thanks Brennan that worked perfectly!
          http://www.alphabetsigns.com/

          Comment

          Working...
          X