vitalets / x-editable-yii

Yii extension for creating editable elements
http://x-editable.demopage.ru
MIT License
112 stars 34 forks source link

bootstrap-editable.css not loading in header #133

Open nima1981 opened 9 years ago

nima1981 commented 9 years ago

I've installed the editable extension in my Yii 1.1.16

I have the following configuration in the main.php:

'editable' => array( 'class' => 'editable.EditableConfig', 'form' => 'yii_bootstrap', //form style: 'bootstrap', 'jqueryui', 'plain' 'mode' => 'inline', //mode: 'popup' or 'inline' 'defaults' => array( //default settings for all editable elements 'emptytext' => 'Click to edit' ), ),

But in my header I see that no the file bootstrap-editable.css is not loaded. I see that on your demo site (http://x-editable.demopage.ru/?r=site/widgets) the following is loaded

/assets/44a2aaba/css/bootstrap-editable.css

How can I get that to load the same way on my site?

Julian-B90 commented 9 years ago

What kind of version du you have installed from the editable extension?

nima1981 commented 9 years ago

1.3.1

nima1981 commented 9 years ago

Actually I just went through with installing the Yii Bootstrap plugin and using the "bootstrap" form now and that seems to make it work. I just thought I didn't have to do that since the installation instructions say that you can also manually include the bootstrap css and js, but for me that didn't seem to work.