[TYPO3-english] unique div around plugin and the belonging headline

Rupert Germann rupi at gmx.li
Sat May 9 18:13:14 CEST 2009


hi Aneta,

tt_content.login.stdWrap.dataWrap = <div id="uid{field:uid}">|</div>

TSRef is your friend ;-)

greets
Rupert


Aneta Jaroslava wrote:

> Hi all,
> 
> I have boxes in my border column:
> 
> If I use e.g. the felogin , the HTML looks like this:
> 
> <div class="csc-header csc-header-n1">
> <h5 class="csc-firstHeader">HEADLINE</h5>
> </div>
> <div class="tx-felogin-pi1">
> <form id="" onsubmit="superchallenge_pass(this); return true;"
> method="post" target="_top" action="home.html">
> </form>
> <div style="clear: both;"/>
> <p>
> </p>
> </div>
> 
> 
> Now I want to have a div with an unique id around that.
> The Problem is, if I put wrap around felogin, the header is not included
> 
> The result should be this:
> 
> <div id="uid6435">
> <div class="csc-header csc-header-n1">
> <h5 class="csc-firstHeader">HEADLINE</h5>
> </div>
> <div class="tx-felogin-pi1">
> <form id="" onsubmit="superchallenge_pass(this); return true;"
> method="post" target="_top" action="home.html">
> </form>
> <div style="clear: both;"/>
> <p>
> </p>
> </div>
> </div>
> 
> How can I make this happen?
> 
> Anyone idea?
> 
> Thanks



More information about the TYPO3-english mailing list