[TYPO3-english] Hot to get to constats.txt in plugin
Dawid Pacholczyk
dpacholczyk at gmail.com
Mon May 3 23:26:40 CEST 2010
Hi List,
I`m trying to find the answer on my question but realy can`t do this alone.
How to get to file constants.txt ?
For example I have in it something like that
# cat=plugin.tx_somename_pi1; type=int; label= Storage ID
storageID = 0
In BE everything is fine. I can go into constant editor and edit this value.
But how to get it in the php script, in main class of the extension ? The
class extends tslib_pibase and I tried to get it via $conf variable.
Unfortunately this didn`t give me any results.
So how to get to values from constants.txt ?
Best regards,
Dawid "Fixus" Pacholczyk
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Dawid Pacholczyk
tel: 502-054-334
gg: 5564051
skype: dpacholczyk
http://typo3blog.pl (only polish version at the moment)
More information about the TYPO3-english
mailing list