tag:help-archives.hannonhill.com,2010-02-09:/discussions/how-do-i/75-template-regions-inside-attributesCascade CMS: Discussion 2011-04-07T22:12:01Ztag:help-archives.hannonhill.com,2010-02-09:Comment/23148162010-07-22T15:37:05Z2010-07-22T15:37:05Ztemplate regions inside attributes?<div><p>I apologize if I'm misunderstanding your question, but if you
are looking to dynamically change this particular attribute for
your pages, you might be able to do the following:</p>
<ul>
<li>Create a new region in your Template to 'hold' this
<code><div/></code></li>
<li>Create a 'current page' Index Block and attach it to that
region (a 'current page' Index Block is just an Index Block which
returns the data from the page you are on and nothing else)</li>
<li>Write a Velocity or XSLT Format to transform the Index Block
(basically, find the Title in the Index Block XML output and then
output the <code><div/></code> tag with the Title as the
value of the class attribute)</li>
</ul>
<p>Let me know if this makes sense.</p></div>Tim