[TYPO3-english] Adding template to extension

2011-02-03 Thread Andre Cheung Tam He
Hi, I'm relative new to Typo3 extension programming. The alpha extension I made with kickstarter is working fine (getting data and displaying it). Now I want to add an template to make the extension more flexibele and the problems start ;-) I followed this wiki entry: http://wiki.typo3.org/E

Re: [TYPO3-english] Adding template to extension

2011-02-04 Thread Andre Cheung Tam He
Yes! That fixed it! Thank you :) On 02/03/2011 06:22 PM, JoH asenau wrote: I created an ext_typoscript_setup.txt in the extension root folder (typo3/typo3conf/ext/lucas_helpdesk) with this line: plugin.lucas_helpdesk.templateFile = EXT:lucas_helpdesk/template.html Added code as mentioned in t

Re: [TYPO3-english] Adding template to extension

2011-02-04 Thread Andre Cheung Tam He
It was indeed a wrong plugin name :) Thank you for the book tip! best regards, André On 02/03/2011 07:30 PM, Jigal van Hemert wrote: Hi, On 3-2-2011 18:22, JoH asenau wrote: I created an ext_typoscript_setup.txt in the extension root folder (typo3/typo3conf/ext/lucas_helpdesk) with this li

[TYPO3-english] Getting 'title' for usergroup ID's

2011-03-24 Thread Andre Cheung Tam He
Hi, I'm using the following method to get the usergroups for a logged in visitor: $usergroup = $GLOBALS["TSFE"]->fe_user->user["usergroup"]; This gives back a string with usergroup ID's: 10,16,17,179 Is there a method to convert these ID's to the 'title' in the fe_groups table? Or do I have

Re: [TYPO3-english] Getting 'title' for usergroup ID's

2011-03-25 Thread Andre Cheung Tam He
Ok, thanks for the quick answer! On 03/24/2011 06:30 PM, Dmitry Dulepov wrote: Hi! Andre Cheung Tam He wrote: Or do I have to write my own function which queries the table? Yes, you have to write a method (you can use TYPO3 API for that but it would be more complicated than writing your