[TYPO3] tt_news: remove link from image in single view

Rens Admiraal typo3 at ambitiondesign.nl
Tue Aug 21 09:01:36 CEST 2007


Hi Cray....

In the typoscript object browser (under templates) and google you can  
find a lot of information... Like the typoscript used for rendering  
tt_news...

I found http://www.minikoeche.de/typo3/ext/tt_news/static/ts_new/ 
setup.txt on google... This shows that tt_news renders the single  
view with the typoscript below. From this you can include that  
something like: plugin.tt_news.displaySingle.image.imageLinkWrap = 0  
should do the trick...

# - - - - - - - - - - - rendering of SINGLE news   - - - - - - - - -  
- -  #

   displaySingle {
     age_stdWrap.age = 1
     textNewsAge_stdWrap.wrap =
     date_stdWrap.strftime= %d.%m.%y
     time_stdWrap.strftime= %H:%M
     title_stdWrap.wrap =
     subheader_stdWrap.wrap = <h3>|</h3>
     subheader_stdWrap.trim=1
     subheader_stdWrap.required=1
     author_stdWrap.typolink.parameter.field = author_email
     author_stdWrap.wrap = <p class="news-single-author">|</p>
	
     addInfo_stdWrap.wrap = <div class="news-single-additional-info">  
| </div>

     links_stdWrap.wrap = <dl class="news-single-links">|</dl>
     linksHeader_stdWrap.wrap = <dt>|</dt>
     linksItem_stdWrap.wrap = <dd>|</dd>

     noNewsIdMsg_stdWrap =
     imageCount=4
     imgAltTextField = imagecaption
     imageWrapIfAny = <div class="news-single-img"> | </div>

     category_stdWrap.wrap = <div class="news-single-category"> | </div>
     email_stdWrap.setContentToCurrent = 1
     email_stdWrap.typolink.parameter.current = 1
     caption_stdWrap.wrap = <p class="news-single-imgcaption"> | </p>
     caption_stdWrap.trim=1
     # caption_stdWrap.required=1

   }
   displaySingle.image {
     file.maxW = {$plugin.tt_news.singleMaxW}
     file.maxH = {$plugin.tt_news.singleMaxH}
     wrap =
     imageLinkWrap = 1
     imageLinkWrap {
       enable = 1
       bodyTag = <body bgColor="#ffffff">
       wrap = <a href="javascript:close();"> | </a>
       width = 500m
       height = 500
       JSwindow = 1
       JSwindow.newWindow = 1
       JSwindow.expand = 17,20
     }

   }




Op 21-aug-2007, om 8:03 heeft Cray Flatline het volgende geschreven:

>
> Please help me to remove link to show big picture from image in news
> single view. (: thanks a lot!
>
>
> -- 
> W BR, Cray Flatline
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english



More information about the TYPO3-english mailing list