Archives
If you like to use the link wizard to link to an internal or external url you may want to change the start tab. You can to this very easy. Just open the tca.php of your extension. Find the field you want to change and replace “script” => “browse_links.php?mode=wizard”, with “script” => “browse_links.php?mode=wizard&act=page”, to start [...]
Using the the typoLink function in your own Typo3 extension is very simple. First you need an instance of the tslib_cObj object. Then setup the config array and call the method. That’s all. To create the instance you need to include the object first: include_once(PATH_site.’typo3/sysext/cms/tslib/class.tslib_content.php’); Then create the tslib_cObj: $cObj=t3lib_div::makeInstance(‘tslib_cObj’); Setup the config array: (See [...]
When you are using cron to do some automatic jobs and want the output to be mailed, be sure you are entering the mail address in the right format. In this case it means that the mail address must not contain an “_” (underscore)! If you enter into the MAILTO env of the crontab a [...]
Again I need to talk about the default section of the locallang.xml. When you are following the tip of my last post you may encounter an other problem. You don’t have a default anymore (yeah! I know I suggest to remove the default section). This is may a problem if you need to handle many [...]
After you had finally master your the utf8 convert of you Typ3 installation may encounter an other problem. Your own extension is not producing utf8 output. Your first idea will be to add “SET NAMES UTF8;” to you database connection when using the DBAL of Typo3. But this is not your problem $GLOBALS['TYPO3_DB']->exec_SELECTquery (which is [...]
Building a multi language site can be very hard. First of all you need be sure that you are running Typo3 and your database with the correct encoding. UTF-8 is your friend! Apply all the setting you need for you installation (have a look at http://wiki.typo3.org/index.php/UTF-8_support will may help you) and also ensure your database [...]