Last active
May 31, 2016 17:16
-
-
Save tessguefen/a874f69630ba14e2b9a1f4ee7bcb44fa to your computer and use it in GitHub Desktop.
Load in Image (readytheme) with link, alt text, etc.
This file contains hidden or 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:assign name="g.my_dynamic_name" value="g.Category_Code $ '_image1'" /> | |
| <mvt:item name="readytheme" param="Load_image( g.my_dynamic_name, g.sfnt_hero )" /> | |
| &mvt:global:sfnt_hero:active; etc.. | |
| <mvt:if expr="g.sfnt_hero:link_type EQ 'P'"> | |
| <mvt:do name="g.sfnt_hero:loadprod" file="g.Module_Library_DB" value="Product_Load_Code(g.sfnt_hero:link_dest, g.sfnt_hero:product) " /> | |
| <mvt:do file="g.Module_Feature_URI_UT" name="g.sfnt_hero:link" value="Store_Product_URL(g.sfnt_hero:product, NULL)" /> | |
| <mvt:elseif expr="g.sfnt_hero:link_type EQ 'C'"> | |
| <mvt:do name="g.sfnt_hero:loadcat" file="g.Module_Library_DB" value="Category_Load_Code(g.sfnt_hero:link_dest, g.sfnt_hero:category) " /> | |
| <mvt:do file="g.Module_Feature_URI_UT" name="g.sfnt_hero:link" value="Store_Category_URL(g.sfnt_hero:category, NULL)" /> | |
| <mvt:elseif expr="g.sfnt_hero:link_type EQ 'G'"> | |
| <mvt:do name="g.sfnt_hero:loadpage" file="g.Module_Feature_TUI_DB" value="Page_Load_Code(g.sfnt_hero:link_dest, g.sfnt_hero:page) " /> | |
| <mvt:do file="g.Module_Feature_URI_UT" name="g.sfnt_hero:link" value="Store_Page_URL(g.sfnt_hero:page, NULL)" /> | |
| <mvt:elseif expr="g.sfnt_hero:link_type EQ 'U'"> | |
| <mvt:assign name="g.sfnt_hero:link" value="g.sfnt_hero:link_targ" /> | |
| </mvt:if> | |
| :active=1 | |
| :category:active=1 | |
| :category:agrpcount=0 | |
| :category:code=bedroom | |
| :category:disp_order=145 | |
| :category:id=142 | |
| :category:name=Bedroom | |
| :category:page_id=0 | |
| :category:parent_id=0 | |
| :category:validated_parent_id=0 | |
| :code=sfnt_hero | |
| :css_class=column+whole | |
| :id=15 | |
| :image=graphics%2F00000001%2Fimg_sfnt-hero_2.jpg | |
| :image_alt=Dream+in+Comfort.+25%25+OFF+on+all+Bedroom+Sets.+Shop+All+Bedroom | |
| :image_hght=0 | |
| :image_id=108 | |
| :image_size=0 | |
| :image_wdth=0 | |
| :link=http%3A%2F%2Ftguefen.mivamerchantdev.com%2Fmm5%2Fmerchant.mvc%3FScreen%3DCTGY%26Category_Code%3Dbedroom | |
| :link_dest=bedroom | |
| :link_targ=_self | |
| :link_type=C | |
| :loadcat=1 | |
| :name=Storefront%3A+Hero+Image |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment