Articles tagged with "theme", sorted by date (updated)X
Displaying 1-7 of 7 result(s).

Tutorial about How to Integrate Yii2 with fantastic theme AdminLTE

Updated 2 years ago by YiiJekaHow-tos8 comments – viewed 81,948 times – ( +16 / -1 ) – 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

Themed translations (i18n)

Updated 2 years ago by le_topHow-tos0 comments – viewed 4,297 times – ( +1 ) – version 1.1
When using themes you want to changes some of the translations specifically to the theme while keeping the standard translations for most of the text. Duplicating the main translation file is a headache for maintainance. This how to provides a solution.

Yii configuration: Dynamic & User dependent

Updated 2 years ago by le_topHow-tos0 comments – viewed 5,387 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.

Override/Eliminate Bootstrap CSS/JS for Yii 2.0 widgets

Updated 2 years ago by Kartik VHow-tos2 comments – viewed 29,867 times – ( +38 / -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

Updated 3 years ago by trondHow-tos0 comments – viewed 9,248 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

Updated 5 years ago by bgleeHow-tos3 comments – viewed 25,554 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

Updated 6 years ago by samdarkTips7 comments – viewed 17,567 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: