Wiki

Articles tagged with "theme"X
Displaying 1-6 of 6 result(s).

Yii configuration: Dynamic & User dependent

Created 15 days ago by le_topHow-tos0 comments – viewed 1,291 times – ( +1 ) – version 1.1
It is difficult to perform user dependent theming through a general configuration in 'main.php'. This article proposes a method to do so through a Factory that dynamically generates classes to allow delayed resolution of actual user values. This means that you can refer to values that are stored in the database through the CActiveRecord before Yii is actually loaded. The values will be fetched from the database when actually used for the first time, which is after Yii is loaded. Actually, you can use pretty much any method that relies on Yii with this method.

Tutorial about How to Integrate Yii2 with fantastic theme AdminLTE

Created 3 months ago by ThePr0f3550rHow-tos4 comments – viewed 8,237 times – ( +8 ) – version 2.0
Yii2 comes with a charming twitter bootstrap version 3. But if it is less, then you can integrate with web templates that you like. One example is wonderfull template "adminLTE"
tags: yii2, theme, adminLTE

Override/Eliminate Bootstrap CSS/JS for Yii 2.0 widgets

Created 8 months ago by Kartik VHow-tos2 comments – viewed 6,010 times – ( +27 / -4 ) – version 2.0
In Yii 2.0, the yii widgets that use Twitter Bootstrap CSS & JS directly, are part of the yii2-bootstrap extension, starting with yii/bootstrap namespace. For customizing bootstrap extension specific widget assets, you could configure your own assets (CSS/JS) using the new Yii Asset Manager in your Yii Config file. Something like:

Make theme and layout option in your site

Created about a year ago by Narender NegiHow-tos0 comments – viewed 5,887 times – ( +1 )
Here i am writing code how to add option of theme change and layout change in your website.
tags: theme, layouts

Converting an Artisteer Theme to Yii

Created 3 years ago by bgleeHow-tos3 comments – viewed 21,265 times – ( +9 ) – version 1.1
There are two approaches to converting an Artisteer theme. The first is to simply copy an existing Artisteer – based Yii theme, overlay the CSS and images, then make any necessary tweaks to the layout files. This is undoubtedly the fastest route, but won't teach you as much as doing it from scratch. That's ok. Sometimes getting the job done is the top priority. The second approach is more general and will apply to some extent to other HTML templates that you may want to convert. I'll be covering the first approach in detail, while the second will be more of a general discussion.

Using jQuery UI 1.8.10 themes with Yii 1.1.6

Created 3 years ago by a110yTips7 comments – viewed 14,996 times – ( +2 ) – version 1.1
When using the latest stable jQuery UI themes (1.8.10) with Yii 1.1.6 (which uses 1.8.6) the widgets don't appear (they're invisible but they're there). In order to make them visible you need to change the following line: