Chandan Web Blog.

Entries for the ‘typoscript’ Category

Assigning a Favicon or Shortcuticon in Typo3 using Typoscript for multiple domains

Assigning a favicon is quite simple in Typo3. you can just use the following Typoscript to assign a favicon. page.shortcutIcon = pathToFolders/favicon.ico In case of multi-domain setup there are various ways you can achive this: 1. By adding the above code in the Typoscript Template Record of root page for each domain. 2. If same [...]

How to remove unnecessary anchor tags like <a id=”c59″/>,<a id=”c77″/> etc.?

In setup write the below code tt_content.stdWrap.dataWrap > That’s it!

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 [...]

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