Search the Community
Showing results for tags 'extension'.
Hey guys I am using imperavi-redactor-widget and i am having problem with toolbar Yii::import('ext.imperavi-redactor-widget.ImperaviRedactorWidget'); $this->widget('ImperaviRedactorWidget', array( // you can either use it for model attribute 'model' => $model, 'attribute' => 'description', // or just for input field 'name' => 'description', // some options, see http://imperavi.com/redactor/docs/ 'options' => array( 'lang' => 'en', //'toolbar' =>'' , 'iframe' => true, 'buttons'=>array( 'formatting', '|', 'bold', 'italic', 'deleted', '|',
I'm back to "Book 1" ("Repetition is the mother of knowledge") - - and I have a question. When I separate recurrent parts of the web application into separate files, to be included in the index.php, is it possible to use file extensions for included files other than .html, or .inc.html, or .php? For example, what if I want to save my header and footer as header.txt and footer.txt, or even header.jpg and footer.jpg. Would the code contained in them still work if I include them with modified extensions? Is this, or something similar, ever done, for example, as a security trick?