Cara mengganti Theme di Yii

Pemirsa…secara default jika membuat web app tentunya dengan theme yg itu2 aja. Pengen diganti? Nyok kita ganti :)

  • Lebih cepetnya download dulu berbagai mcam theme. Contohnya di http://yiithemes.mehesz.net/theme/view?id=123
  • Theme itu letaknya ada di root/themes
  • Letakkan folder theme baru anda di dalam root/themes
  • buka file main.php pada direktori root/protected/config/main.php
  • Tambahkan kode berikut:

return array(

….

//ganti theme
‘theme’=>’endis1′,

…..

  • Selesai silahkan refresh [F5]  :)
About these ads

Cucunya Nek Yayang

Posted in Programming, Yii

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

January 2013
M T W T F S S
« Jul   Apr »
 123456
78910111213
14151617181920
21222324252627
28293031  
Arsip
Pages
Follow

Get every new post delivered to your Inbox.

%d bloggers like this: