epicbbcode This module make it possible to mange bbcode in the database

  1. future
  2. Requirements
  3. Usage

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);
0 0
2 followers
155 downloads
Yii Version: 1.1
License: GPL-3.0
Category: User Interface
Developed by: foxoffire33
Created on: Sep 12, 2014
Last updated: 9 years ago

Downloads

show all

Related Extensions