Posted on January 21, 2009Maarten
A simple way to let FE-users download your content as a PDF file: First install the extension: PDF Generator (html2fpdf) nc_pdfgen Now add a download link at the bottom of the content: subparts.your_content_id = COA subparts.your_content_id { 10 < styles.content.get 20 < temp.PDF } Setup the downloadlink using the extension: temp.PDF = COA temp.PDF { [...]
Read the rest of this entry »
Posted on January 6, 2009Maarten
Yslow tells you to put your javascripts at the bottom of your pages. Normally when you include your JS files TYPO3 puts them in your head by default. To fix this you can easily: Old style: page.includeJS.file1 = file.js Solution: page.20 < lib.javascript lib.javascript = HTML lib.javascript.value = <script type=”text/javascript” src=”file.js”></script> Note: In this example [...]
Read the rest of this entry »
Posted on January 3, 2009Maarten
This makes sure tt_news never displays duplicate news items on the same page. Put this is your typoscript setup: plugin.tt_news { excludeAlreadyDisplayedNews = 1 } This can be usefull when you have multiple news plugins on one page, like latest and list.
Read the rest of this entry »
Posted on November 24, 2008Maarten
Here’s a snippet for a nice language menu… temp.languagemenu = COA temp.languagemenu.wrap = <div id=”language”> | </div> temp.languagemenu.10 = HMENU temp.languagemenu.10 { special=language special.value = 0,1,2,3 1 = TMENU 1 { wrap = <ul>|</ul> NO = 1 NO { stdWrap.cObject = TEXT stdWrap.cObject { value = Default Language (id=0) || Language with id=1 || Language [...]
Read the rest of this entry »
Posted on November 20, 2008Maarten
Some while ago I needed to make a GMENU with a different image for each menu item. This was tricky since normally I used CSS to include the image before or behind the menu. After a lot of thinking I realised TYPO3 had a BE field (even a tab!) I had never used; Page properties [...]
Read the rest of this entry »
Posted on November 16, 2008Maarten
I just found this line in the TSRef.. It’s not perfect but it makes your BE field like setup and constants in list mode wider. Just a small User TSConfig line so why not… ## Makes the BE fields wider setup.override.edit_wideDocument = 1 See screenshots!
Read the rest of this entry »