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 September 26, 2008Maarten
To reduce spam people have found numerous ways to place their email address on a website. TYPO3 can encrypt your emailadresses by default though. Just put the following lines in your Typoscript Setup: config.spamProtectEmailAddresses = 2 config.spamProtectEmailAddresses_atSubst = (at) Now all @ will be replaced by (at) and the link will be encrypted.
Read the rest of this entry »
Posted on September 21, 2008Maarten
Sometimes you want a record to be placed on every page and still to be in the TYPO3 backend as a dynamic record. Like a flash header plugin for example. Of course you can do this by placing the record on every page but that wouldn’t be very handy. Luckily it can be done a [...]
Read the rest of this entry »
Posted on September 8, 2008Maarten
This is probably the most simple way to add a dynamic menu to your TYPO3 website. Just put the code into the Typoscript setup and parse temp.menu through the autoparser. temp.menu = HMENU temp.menu.1 = TMENU temp.menu.1 { NO.ATagBeforeWrap = 1 } Now you have a menu with nothing more than just an anchor tag.
Read the rest of this entry »