Last active
December 2, 2019 23:43
-
-
Save steveosoule/004f13fe27c8c71cc2c30919e77ad377 to your computer and use it in GitHub Desktop.
Miva - Render all ReadyTheme Items
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<mvt:do file="g.Module_Library_DB" name="l.success" value="Module_Load_Code( 'readytheme', l.settings:readytheme )" /> | |
<mvt:assign name="l.settings:readytheme:full_path" value="g.Module_Root $ l.settings:readytheme:module" /> | |
<mvt:do file="l.settings:readytheme:full_path" name="l.success" value="ReadyTheme_ImageList_Load(l.settings:readytheme:images)" /> | |
<mvt:foreach iterator="image" array="readytheme:images"> | |
<h2 class="c-heading-bravo c-heading-bravo u-bg-black u-color-white">ReadyTheme Image: &mvt:image:name; (&mvt:image:code;)</h2> | |
<mvt:assign name="g.Code" value="l.settings:image:code" /> | |
<mvt:item name="readytheme" param="image( g.Code )" /> | |
</mvt:foreach> | |
<mvt:do file="l.settings:readytheme:full_path" name="l.success" value="ReadyTheme_BannerList_Load(l.settings:readytheme:banners)" /> | |
<mvt:foreach iterator="banner" array="readytheme:banners"> | |
<h2 class="c-heading-bravo c-heading-bravo u-bg-black u-color-white">ReadyTheme Banner: &mvt:banner:name; (&mvt:banner:code;)</h2> | |
<mvt:assign name="g.Code" value="l.settings:banner:code" /> | |
<mvt:item name="readytheme" param="banner( g.Code )" /> | |
</mvt:foreach> | |
<mvt:do file="l.settings:readytheme:full_path" name="l.success" value="ReadyTheme_ContentSectionList_Load(l.settings:readytheme:contentsections)" /> | |
<mvt:foreach iterator="contentsection" array="readytheme:contentsections"> | |
<h2 class="c-heading-bravo c-heading-bravo u-bg-black u-color-white">ReadyTheme ContentSection: &mvt:contentsection:name; (&mvt:contentsection:code;)</h2> | |
<mvt:assign name="g.Code" value="l.settings:contentsection:code" /> | |
<mvt:item name="readytheme" param="contentsection( g.Code )" /> | |
</mvt:foreach> | |
<mvt:do file="l.settings:readytheme:full_path" name="l.success" value="ReadyTheme_NavigationSetList_Load(l.settings:readytheme:navigationsets)" /> | |
<mvt:foreach iterator="navigationset" array="readytheme:navigationsets"> | |
<h2 class="c-heading-bravo c-heading-bravo u-bg-black u-color-white">ReadyTheme NavigationSet: &mvt:navigationset:name; (&mvt:navigationset:code;)</h2> | |
<mvt:assign name="g.Code" value="l.settings:navigationset:code" /> | |
<mvt:item name="readytheme" param="navigationset( g.Code )" /> | |
</mvt:foreach> | |
<mvt:do file="l.settings:readytheme:full_path" name="l.success" value="ReadyTheme_ProductListingList_Load(l.settings:readytheme:productlistings)" /> | |
<mvt:foreach iterator="productlisting" array="readytheme:productlistings"> | |
<h2 class="c-heading-bravo c-heading-bravo u-bg-black u-color-white">ReadyTheme ProductListing: &mvt:productlisting:name; (&mvt:productlisting:code;)</h2> | |
<mvt:assign name="g.Code" value="l.settings:productlisting:code" /> | |
<mvt:item name="readytheme" param="productlisting( g.Code )" /> | |
</mvt:foreach> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment