Hi guys
Is there a way of adding a variable to my pages? I guess metadata would be an option, but is there a different option.
I'm creating a simple site which only has a few pages. My dilemma is I have bootstrap style icons in the menu, as well as text. In the desktop menu I'm only showing a "home" icon, but the mobile version I want to show each icon for each page. Is having the icon code in a metadata field the only way to do this?
Here's my Original HTML code, and starting Normal Menu code:
################ Norman Menu Design So Far ####################
<div class="right menu">
<MySource_AREA id_name="menu" design_area="menu_normal">
<MySource_SET name="settings.class.normal" value="item" />
<MySource_SET name="settings.class.current" value="active item" />
<MySource_ASSET>
<a href="<MySource_PRINT var="asset_link" />" class="<MySource_PRINT var="settings.class" />">
%asset_metadata_iconField% <MySource_PRINT var="asset_short_name" />
</a>
</MySource_ASSET>
<MySource_DIVIDER></MySource_DIVIDER>
</MySource_AREA>
</div>
Cheers
Wardy