wikiext

A Wiki extension for Yii
2 followers

This extension is just a simple Wiki parser-class for Yii, extended from CodeHolic's (Creole) Wiki Markup Parser

Resources

Documentation

Requirements

  • Yii 1.0 or above

Installation

  • Extract the release file under protected/extensions

Usage

See 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 );

Change Log

April 26, 2010

  • Initial release.

Total 4 comments

#3685 report it
imehesz at 2011/04/27 09:15pm
answer

@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

#3674 report it
shahram at 2011/04/27 08:59am
@imehesz

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.

#3673 report it
imehesz at 2011/04/27 08:44am
sure

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

#3670 report it
shahram at 2011/04/27 07:17am
Error!

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 to leave your comment.

Create extension
Downloads
  • License: New BSD License
  • Developed by: imehesz
  • Category: Others
  • Votes: +1
  • Downloaded: 365 times
  • Created on: Apr 26, 2010
  • Last updated: Apr 26, 2010