Hi,
I have a little problem with the recipe "customising-content-in-your-templates" .
I need to put an image inline with the content at the end of the paragraph like a punctuation mark. So i tried the recipe and though it seems so simple it doesn't show anything on the published site. Flushed the page many times but no way.
I put this code into my PageType_Controller
function Content() {
return $this->Content.'<a class="info_btn" href="$Link"><img src="$ThemeDir/images/info_btn.png"/></a>';
}
even if I test with something like : return str_replace('have ','TEST',$this->Content) ;
i doesn't work.
Can someone help me on this?
Thx,