tag:help-archives.hannonhill.com,2010-02-09:/discussions/how-do-i/18795-prevent-cascade-from-removing-anchor-tagsCascade CMS: Discussion 2018-10-18T20:37:36Ztag:help-archives.hannonhill.com,2010-02-09:Comment/373726402015-07-13T16:42:37Z2015-07-13T16:42:37ZPrevent Cascade from removing anchor tags.<div><p>Now, the same page is eating a link I'm trying to create. Every
time I put in a link, it then somehow removes the value out of the
"href" field, replacing it with a #. Why is it doing this?</p></div>webadmintag:help-archives.hannonhill.com,2010-02-09:Comment/373726402015-07-13T18:41:29Z2015-07-13T18:41:29ZPrevent Cascade from removing anchor tags.<div><p>Hi,</p>
<p>When you have a moment, please attach or paste the HTML that is
being rewritten.</p>
<p>Offhand, I believe the issue is due to the way TinyMCE is
currently configured. That is, we're using an xHTML configuration
so block level elements are considered invalid within
<code><a></code> tags. This will cause TinyMCE to rewrite the
content in an attempt to create valid xHTML code. Your best bet at
this point would be to try using <code><span></code> tags
instead of <code><div></code> and style them as block
elements using CSS.</p>
<p>Please let me know if you have any questions.</p>
<p>Thanks!</p></div>Ryan Griffithtag:help-archives.hannonhill.com,2010-02-09:Comment/373726402015-07-13T19:02:44Z2015-07-13T19:02:44ZPrevent Cascade from removing anchor tags.<div><p>Here's the chunk of code I'm attempting to use:</p>
<pre>
<code><ul class="item-list">
<li>
<a href="/why/default">
<div class="img-box">
<img src="[system-asset]/_skin/images/img4.jpg[/system-asset]" height="342" width="266" alt="image description">
<span class="title">new orleans</span>
</div>
</a>
</li>
<li>
<a href="/extensions/default">
<div class="img-box">
<img src="[system-asset]/_skin/images/img5.jpg[/system-asset]" height="342" width="266" alt="image description">
<span class="title">extension centers</span>
</div>
</a>
</li>
<li>
<a href="/online-seminary/default">
<div class="img-box">
<img src="[system-asset]/_skin/images/img6.jpg[/system-asset]" height="342" width="266" alt="image description">
<span class="title">online</span>
</div>
</a>
</li>
<li>
<a href="/graduate-program/graduate-hybrid-courses">
<div class="img-box">
<img src="[system-asset]/_skin/images/img7.jpg[/system-asset]" height="342" width="266" alt="image description">
<span class="title">hybrid</span>
</div>
</a>
</li>
</ul></code>
</pre>
<p>Are you saying there's no way for me to force Cascade to accept
this code? I'd really like for the entire div to be clickable.</p></div>webadmintag:help-archives.hannonhill.com,2010-02-09:Comment/373726402015-07-13T19:20:33Z2015-07-13T19:20:33ZPrevent Cascade from removing anchor tags.<div><p>Hi,</p>
<p>The only ways around this would be to:</p>
<p>Surround the code with a <code><!--#protect</code> code
section:<br></p>
<pre>
<code><!--#protect
<ul class="item-list">
<li>
<a href="/why/default">
<div class="img-box">
<img src="[system-asset]/_skin/images/img4.jpg[/system-asset]" height="342" width="266" alt="image description">
<span class="title">new orleans</span>
</div>
</a>
</li>
<li>
<a href="/extensions/default">
<div class="img-box">
<img src="[system-asset]/_skin/images/img5.jpg[/system-asset]" height="342" width="266" alt="image description">
<span class="title">extension centers</span>
</div>
</a>
</li>
<li>
<a href="/online-seminary/default">
<div class="img-box">
<img src="[system-asset]/_skin/images/img6.jpg[/system-asset]" height="342" width="266" alt="image description">
<span class="title">online</span>
</div>
</a>
</li>
<li>
<a href="/graduate-program/graduate-hybrid-courses">
<div class="img-box">
<img src="[system-asset]/_skin/images/img7.jpg[/system-asset]" height="342" width="266" alt="image description">
<span class="title">hybrid</span>
</div>
</a>
</li>
</ul>
#protect--></code>
</pre>
<p>Or, use an XML Block since it will not be adhered to the TinyMCE
validation routines.</p>
<p>Please let me know if you have any questions.</p>
<p>Thanks!</p></div>Ryan Griffithtag:help-archives.hannonhill.com,2010-02-09:Comment/373726402015-07-13T20:26:03Z2015-07-13T20:26:03ZPrevent Cascade from removing anchor tags.<div><p>Protect worked, though I'm still having the other problem. I'm
looking at a link, and it's formatted correctly, but it won't click
at all. Here's the page: <a href="http://www.nobts.edu/academics/defaultNew.html">http://www.nobts.edu/academics/defaultNew.html</a></p>
<p>Under the heading "World-Class Faculty", the second sentence
ends with "click here". Problem is, I'm unable to click the link,
even though it looks perfectly fine to me.</p></div>webadmin