This module make it possible to mange bbcode in the database.
This is a beta the are still bugs.
- in the manageBbCode grid You can't search on the replace column
future ¶
- 0.9 Convert your html tags in to bbcode and back by select a table and column
- 1.0 multiple language support(bbcode description in editor description and names multiple language)
If you have some ideas for this module let my known
Requirements ¶
...requirements of using this extension (e.g. Yii 1.1 or above)...
Usage ¶
Unzip this in your module dir
Config module ¶
add the text below to your main.php(config)
'import' => array(
..........
'application.modules.epicBbCode.*',
'application.modules.epicBbCode.components.*',
'application.modules.epicBbCode.controllers.*',
'application.modules.epicBbCode.models.*',
'application.modules.epicBbCode.extensions.*',
'application.modules.epicBbCode.extensions.epicEdit.*',
'application.extensions.MyCode.*',
..........
),
'components' => array(
..........
'MyCode' => array(
'class' => 'ext.MyCode.MyCode',
'theme' => 'sons-of-obsidian',
),
..........
),
Import The database {module dir}/database/epicBbCode.sql
Get editor ¶
$this->Widget('EpicEdit', array(
'model' => $model,
'attibute' => 'text',
'htmlOptions' => array(
'cols' => 120,
'rows' => 20
),
));
convert bbcode in to html code ¶
BbCode::renderText($model->text);
If you have any questions, please ask in the forum instead.
Signup or Login in order to comment.