Hello all :-)
i need the var $this->template ... what is need to do, to get this var in Chronoengine Forms ?
Thanks a lot
René
i need the var $this->template ... what is need to do, to get this var in Chronoengine Forms ?
Thanks a lot
René
Hi René,
I've no idea, try echoing $this->template and see if the object is available.
Bob
I've no idea, try echoing $this->template and see if the object is available.
Bob
No .. i get this message
Fatal error: Using $this when not in object context in /srv/www/htdocs/trendimobilien/components/com_chronocontact/chronocontact.html.php(320) : eval()'d code on line 1
Fatal error: Using $this when not in object context in /srv/www/htdocs/trendimobilien/components/com_chronocontact/chronocontact.html.php(320) : eval()'d code on line 1
Hi René,
So it's not available in that form :-(
Say a bit more about what you need to do.
Bob
So it's not available in that form :-(
Say a bit more about what you need to do.
Bob
i like to load some pictures ......
and the pictures are diffrent every template ... some are darke
my english is bad ..
and the pictures are diffrent every template ... some are darke
my english is bad ..
Hi René,
Try
Bob
PS Ihr Englisch ist besser als mein Deutsch :-(
Try
<?php
global $mainframe;
$template = $mainframe->getTemplate();
?>
Bob
PS Ihr Englisch ist besser als mein Deutsch :-(
This topic is locked and no more replies can be posted.