[TYPO3] Changing appearance of tt_news file list icons

StephenBungert stephenbungert at yahoo.de
Mon Jun 16 17:33:26 CEST 2008


Still didn't work :-(

Here's all the code for tt_news, in case I did anything wrong.

I don't understand why it doesn't change the icon.

plugin.tt_news {
  newsFiles {
    iconCObject = IMAGE
    iconCObject {
      file = fileadmin/templates/images/icons/mail.gif
    }
  }
  
   # Change some strings to suit the site design
  _LOCAL_LANG.default.preAuthor =
  _LOCAL_LANG.default.more = Read more
  _LOCAL_LANG.default.backToList = Back to %s
  _LOCAL_LANG.default.noResultsMsg = No matching articles found.
  _LOCAL_LANG.default.searchEmptyMsg = Please enter a search word.
  _LOCAL_LANG.default.noNewsIdMsg = Can't display article<br />No Article ID
could be found.
  
  _LOCAL_LANG.default.pi_list_browseresults_prev = Previous
  _LOCAL_LANG.default.pi_list_browseresults_page = Page
  _LOCAL_LANG.default.pi_list_browseresults_next = Next
  _LOCAL_LANG.default.pi_list_browseresults_first = First
  _LOCAL_LANG.default.pi_list_browseresults_last = Last
  _LOCAL_LANG.default.pi_list_browseresults_to = to
   
  # Template file
  templateFile =
fileadmin/templates/fmf/extension_templates/tt_news_v2_template.html
    
  displaySingle {

    # Remove the P tag wrapped around the authors name
    author_stdWrap.wrap >
    
    # Stop Authors name being turned to upper case
    author_stdWrap.case >
    
    date_stdWrap.strftime = %d %B %Y
    #time_stdWrap.strftime = %H:%S
    
    imageCount = 1 
  }

  displayLatest {

    # Add an obfuscated mailto: link to authors name
    author_stdWrap.typolink.parameter.field = author_email
    
    date_stdWrap.strftime = %d %B %Y
    time_stdWrap.strftime = %H:%S
  }

  displayList {
  
    # Add an obfuscated mailto: link to authors name
    author_stdWrap.typolink.parameter.field = author_email
    
    date_stdWrap.strftime = %d %B %Y
    time_stdWrap.strftime = %H:%S
  
    content_stdWrap.stripHtml = 1
    content_stdWrap.crop = 300 | ... | 1
    image.params = style="float:left; margin-right:20px; margin-top:20px 
margin-bottom:0px" 
  }
  
  #allowCaching = 0
  searchPid = 20
  limit = 6
  noPageBrowser = 0
  useMultiPageSingleView = 1
  pageBreakToken = <---newpage--->
  pageBrowser.dontLinkActivePage = 1
  pageBrowser.maxPages = 10
  excludeAlreadyDisplayedNews = 1
  substitutePagetitle = 1
}


-----
-- 
Stephen Bungert
-- 
View this message in context: http://www.nabble.com/Changing-appearance-of-tt_news-file-list-icons-tp17865196p17867016.html
Sent from the TYPO3 English mailing list archive at Nabble.com.



More information about the TYPO3-english mailing list