This extension is just a simple Wiki parser-class for Yii, extended from CodeHolic's (Creole) Wiki Markup Parser
protected/extensionsSee the following code example:
Yii::import('application.extensions.wikiext.wikiext'); // or you can include it in the config/main.php file // if needed // ... // 'import'=>array( // 'application.models.*', // 'application.components.*', // 'ext.wikiext.*' // ) // ... $wiki=new wikiext(); $wiki->parse( $string );
Total 4 comments
@shahram
hello,
so, I looked at the code, and the problem is PHP5.3 - I checked on the Creole site if they have a PHP5.3 version of their Class, but they don't have it :/
I might be able to fix it, but I'd need more time.
You might wanna take a look at this instead: http://www.yiiframework.com/forum/index.php?/topic/13692-simplewiki-for-yii/
I hope this helps ...
--i
Dear imehesz,
Thank you for your quick support.
Currently, I am using Yii/1.1.6 on Mac OS X 10.6.7 running Apache/2.2.17 (Unix) PHP/5.3.4 with 20090626 PHP API.
I thank you for your help in advanced.
shahram,
Thanks for trying to use it, sorry that it doesn't work :/
I'm more than happy to help. Could you please tell me more about your environment? Operating system, PHP version?
thanks, --iM
Hello
After using this extension I got following error:
PHP Error
get_class() expects parameter 1 to be object, array given
/Library/WebServer/Documents/danaservers/protected/extensions/wikiext/wikiext.php(100)
I seems that the error is coming from parse() function. Can you help me to solve the problem?
Thank You
Leave a comment
Please login to leave your comment.