friendsofvictoire / table-widget
Victoire DCMS Table widget
Installs: 5 579
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 9
Forks: 2
Open Issues: 2
Type:symfony-bundle
Requires
- php: >=5.5.9
- symfony/framework-bundle: ~2.8|~3.0
- victoire/victoire: ~2|~3.0
This package is not auto-updated.
Last update: 2021-12-21 22:44:52 UTC
README
What is the purpose of this bundle
This bundle gives you access to the Table Widget. With this widget, you can install table on any page.
You can change the order of any line or column.
Set Up Victoire
If you haven't already, you can follow the steps to set up Victoire here
Install the Bundle
Run the following composer command :
php composer.phar require victoire/table-widget
Reminder
Do not forget to add the bundle in your AppKernel !
class AppKernel extends Kernel
{
public function registerBundles()
{
$bundles = array(
...
new Victoire\Widget\TableBundle\VictoireWidgetTableBundle(),
);
return $bundles;
}
}
Front dependencies
Redactor and X-Editable
To get the table-widget work, you need redactorjs and x-editable.
You can fetch these vendors with bower:
"dependencies": { "redactor": "https://github.com/lenybernard/bower-redactor/archive/10.2.5.zip", "x-editable": "~1.5.1" }
And load the following stylesheet files:
"@bowerDirectory/redactor/redactor/redactor.less"
"@bowerDirectory/x-editable/dist/js/bootstrap3-editable/css/bootstrap-editable.css"
And load the following javascript files:
"@bowerDirectory/redactor/redactor/redactor.min.js"
"@bowerDirectory/redactor/redactor/langs/fr.js"
"@bowerDirectory/redactor/redactor/plugins/fontcolor/fontcolor.js"
"@bowerDirectory/redactor/redactor/plugins/fontfamily/fontfamily.js"
"@bowerDirectory/redactor/redactor/plugins/fontsize/fontsize.js"
"@bowerDirectory/x-editable/dist/js/bootstrap3-editable/js/bootstrap-editable.min.js"
where @bowerDirectory is the directory set in your .bowerrc file