IntSmarty working completely (Finally and for now)
Well I finally have the Intsmarty completly displaying the login page correctly. YEAH!!!
The problem was in the smarty_lang_prefilter. The code originally has the strings being replaced in the ISO-8859-1 character set (using the utf8_decode). But my page is in the utf8 character set (so it can be more flexable). So of course there were problems with the display of 2 character sets on 1 page. Once I removed the the utf8_decode it worked perfectly.
[php]
/**
* hack starting here
*/
/** the line below is the original line of code
*$content = preg_replace(“!{$ldq}l{$rdq}$q_str{$ldq}/l{$rdq}!s”,
*utf8_decode($inst->translation [$hash]), $content);
*/
// here I am removing the utf8_decode because my page is in the utf8 character set
$content = preg_replace(“!{$ldq}l{$rdq}$q_str{$ldq}/l{$rdq}!s”,$inst->translation [$hash], $content);
/**
* end hack
*/[/php]




Dear blog owner
(couldn’t really find your name somewhere)
) – found a way solving it?
I will also starting to use IntSmarty with some bigger projects as soon as I feel it’s working stable and reliable.
One problem I am facing is that chances only become visible after I manually delete the cache folder. Disabling caching or ‘force_compile’ have no effect whatsoever.
Did you run into this very problem – and (which is much more interesting
regards
Thomas
test
tsetsetset
Sorry Thomas – I get spammed quite a bit so comments have to be approved to be displayed.
As for your problem – I have force_compile = true in myIntSmarty. Or if you are using firefox you could get the web developer extension and use it to clear your cache.