Hi All,
on
http://uniquenantucket.com/portfolio.html i have a ditto call that populates a wedding planner’s portfolio page. For each wedding that she planned there are different vendors involved. Somtimes there are florists, photographers, event suites, reception sites, rehearsal dinners. So I set up a bunch of Template variables so that for each wedding the planner could fill in all of the applicable template variables. Thus in my chunk, the Tvs are text inputs, the widget is html generic tags, that are all dd tags. In each tv I define the class of each tv, but have left the id field blank.
However when the chunk outputs there are multiple instances of the same (and thus non validating) id. How do I remove the id?
Here is the ditto call
[!Ditto?startID=`48` &tpl=`MyEventChunk` &extenders=`summary` &display=`all` &debug=`0` &dateSource=`mydate` &sortBy=`menuindex` &dateFormat=`%c` &sortDir=`asc` !]
with the MyEventChunk code as
<div class="port_vendors span-3">
<h5 class="port_title"> <a href="[~[+id+]~]"> [+pagetitle+] </a> </h5>
<a class="noBorder" href="[~[+id+]~]"><img src="[+jobImg+]" alt="the Happy Couple" /></a>
<a href="[~[+id+]~]"> +go to page</a>
<dl>
<dt>Photos courtesy of:</dt>
[+photographer+]
<dt>Flowers:</dt>
[+florist+]
<dt>Ceremony:</dt>
[+ceremony+]
<dt>Reception:</dt>
[+reception+]
</dl>
</div>
and when page outputs the html it looks like:
<div class="port_vendors span-3">
<h5 class="port_title"> <a href="bodenstab-boyle.html"> Bodenstab / Boyle </a> </h5>
<a class="noBorder" href="bodenstab-boyle.html"><img src="assets/images/portbodenstab.jpg" alt="the Happy Couple" /></a>
<a href="bodenstab-boyle.html"> +go to page</a>
<dl>
<dt>Photos courtesy of:</dt>
<dd id="tvphotographer" class="photgrapher">Claudia Kronenberg</dd>
<dt>Flowers:</dt>
<dd id="tvflorist" class="florist">Soiree Floral</dd>
<dt>Ceremony:</dt>
<dd id="tvceremony" class="ceremony">First Congregational Church</dd>
<dt>Reception:</dt>
<dd id="tvreception" class="reception">Wingspread Lane</dd>
</dl>
</div>
How do I remove the ids ie id="tvflorist" from the output?
Many Thanks in advance,
Noah