Thanks Jo Morg,
It did not work here. It seems like I will have to workaround this problem.
Ronny.
Search found 3 matches
- Tue Nov 19, 2013 2:08 pm
- Forum: The Lounge
- Topic: Cannot use $this in a template
- Replies: 4
- Views: 1727
- Mon Nov 18, 2013 11:14 am
- Forum: The Lounge
- Topic: Cannot use $this in a template
- Replies: 4
- Views: 1727
Re: Cannot use $this in a template
It is an existing website with many {php} tags.
I will not convert them all.
Is there any simple solution to my problem?
I will not convert them all.
Is there any simple solution to my problem?
- Mon Nov 18, 2013 6:32 am
- Forum: The Lounge
- Topic: Cannot use $this in a template
- Replies: 4
- Views: 1727
Cannot use $this in a template
Hi I am CmsMs new comer, but experienced in smarty. I bumped into a strange behavior in a template. It does not recognizes $this as a smarty pointer and crashes when I try to use it for assign. {php} $solutions = get_solutions_from_db(); $this->assign('solutions', $solutions); // CRASHES {/php} {$so...