Chandan Web Blog.

Entries Tagged ‘typoscript’

Changing Menu based on selected Templavoila TemplateObject using TypoScript

TypoScript has so much features that it is indeed impossible to document each and every feature hidden with it. As we start adding extensions the feature list would increase as well. Consider you have selected a specific Templavoila Template and you wish to have a different type of menu based on the selected template. In [...]

date2cal for mailformplus

In order to set date2cal for mailformplus we need to follow 3 important steps: 1. Include the necessary js and css files page.headerData.80 = TEXT page.headerData.80.value ( <script type="text/javascript" src="typo3conf/ext/date2cal/js/jscalendar/calendar.js"></script> <script type="text/javascript" src="typo3conf/ext/date2cal/js/jscalendar/lang/calendar-en.js"></script> <script type="text/javascript" src="typo3conf/ext/date2cal/js/jscalendar/calendar-setup.js"></script> <script type="text/javascript" src="typo3conf/ext/date2cal/js/date2cal.js"></script> <script type="text/javascript" src="typo3conf/ext/date2cal/js/naturalLanguageParser.js"></script> <link rel="stylesheet" type="text/css" href="typo3conf/ext/date2cal/js/jscalendar/skins/aqua/theme.css" /> ) # add translations # French – DEFAULT [...]

Dynamically change class attribute of body tag using typoscript

This is a small note about how we can change the class attribute of body tag using typoscript. # bodyTag page.bodyTag > page.bodyTagCObject = TEXT page.bodyTagCObject.data = levelfield:-1 :, myfeildname, slide page.bodyTagCObject.wrap = <body class="myclass_|"> Well here I am using a custom field added to pages table. If you wish to use the page id [...]

Changing default image width of 600 px in Typo3

Typo3 by default limits image width to 600 px. You can easily change this setting using TypoScript. These TypoScript can be usually located on the root Template record. If not you can try using the object browser to find the exact location. You may have to change this in setup and in constants as shown [...]

How to set ATagParams for menu items (except for some pages)

This code may be useful when you may wish to have some extra parameter to all anchor tags in menu items, the code even shows how you can avoid these parameters for some selected pages.

  
Subscribe to this page grab our RSS feed
Theme & Wordpress Integration - by Chandan