Hi Guys,
Hoping you can help with a Template Q, should be an easy one. I need
to provide the ability for the content manager to add links (to other
pages on our website) to a list dynamically. Easy enough to do,
however they also want the ability to add an image next to each link.
Now I can provide the ability for dynamic links using an Anchor
Structural Element wrapped in a Dynamic Block for a Content Class
called "Site Links" whereby the Content Manager selects ''Expand
Dynamic Link" to create a new link. The problem becomes when the
Content Manager edits the Image of the new link as it results in all
link images in the list changing to mirror the one just modified.
Code snippet below to exemplify:
Content Element: 'Img_link' (image)
Structural Element: 'anc_link' (anchor)
<table>
<!IoRangeDynLink>
<tr>
<td>
<!IoRangeRedDotEditOnly>
<!IoRedDot_lmg_link><span class="txt
red">edit link</span>
<!/IoRangeRedDotEditOnly>
<%Img_link%>
</td>
<td>
<!IoRangeRedDotEditOnly>
<!IoRedDot_anc_link><span class="txt
red">edit link</span>
<!/IoRangeRedDotEditOnly>
<a href="<%anc_link%>" ><%headline%></a>
</td>
</tr>
<!/IoRangeDynLink>
</table>
Surely I shouldn't have to create two Content Classes - one for the
list and one for its links (in being able associate an Image Content
Element with each link)?
--
You received this message because you are subscribed to the Google Groups
"RedDot CMS Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/reddot-cms-users?hl=en.