Posts Tagged ‘Typoscript’

TYPO3: Quick RSS feed of tt_news

RSS-feeds of tt_news are really simple. To make it even more easy just copy-paste this to your TypoScript setup: plugin.tt_news { # SYS-Folder with newsitems pid_list = # Page with single view singlePid = displayXML { xmlTitle = Your RSS title xmlLink = Your website url xmlDesc = Your RSS description subheader_stdWrap.crop = 250 | [...]

Read the rest of this entry »

TYPO3: Clear all cache for non-admins

With this line of User TSConfig you can enable non-be-admin’s to clear all cache the way an admin would. options.clearCache.all = 1

Read the rest of this entry »

TYPO3: A better tt_news page browser

Sometimes you walk into things you should have known by now… This week I was setting up a tt_news configuration, which I have done like a million times, and found this code: plugin.tt_news { usePiBasePagebrowser = 0 } Now, just out of curiosity I set it to 1, just to see what happened… What do [...]

Read the rest of this entry »

TYPO3: Cleanup your FE HTML source code

TYPO3 produces a lot of comments, prefixes, metatags etcetra… You might want to clean your HTML source code when your website is complete. In order to do this you need TypoScript!

Read the rest of this entry »

TYPO3: Simple way to convert content to PDF

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 »

TYPO3: Javascript at the bottom of your page

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 »