[TYPO3-ttnews] Move the "by" outside the <a> tags in news-single-author

Oliver Rowlands oliver at liquidlight.co.uk
Sun Sep 7 12:57:34 CEST 2008


Hi Stig,

Try the following TS Setup:

plugin.tt_news {

   displaySingle {
     author_stdWrap.wrap =
     author_stdWrap.dataWrap = <p 
class="news-single-author">{LLL:EXT:ll_fe/locallang.xml:fe.site_search}|</p>
   }

   _LOCAL_LANG {
     default {
       preAuthor =
     }
   }

}

Alternatively you could extend tt_news and add an additional marker 
containing only the author name and link.

Best regards,

Oliver

Stig Kjeldsen wrote:
> is it possible to move the textstring "By" out of the <a></a> tags?
> 
> Right now the wrapping is done so the "By" is inside the <a></a> like this:
> 
> <p class="news-single-author"><a href="j">By: Stig Kjeldsen</a></p>
> 
> I would like to have it this way
> 
> <p class="news-single-author">By: <a href="">Stig Kjeldsen</a></p>
> 
> 
> Best regards
> 
> Stig Kjeldsen


-- 
Oliver Rowlands
:: Liquid Light ::

E - oliver at liquidlight.co.uk
W - http://www.liquidlight.co.uk

T - 00 44 (0)845 6 58 88 35
F - 00 44 (0)845 6 58 44 35


More information about the TYPO3-project-tt-news mailing list