I am a newbie and still finding my way around. I am studying the mocapapa enhanced blog. I have many features working on version 1.1.1 but can’t seem to get highslide working properly. It seems to come down to turning MarkdownParserHighslide.php on in the post model (from the Yii Cookbook):
Replace CMarkdownParser to MarkdownParserHighslide in the two files of blog/protected/models/Comment.php and blog/protected/models/Post.php as follows.
protected function beforeValidate($on)
I know beforeValidate has been changed in 1.1.1 What should I be using. I have tinkered with onBeforeValidate but I think my syntax is off. Can anyone supply the correct function and syntax for Version 1.1.1? Thanks.