Yii Framework Forum: Simple blog with multi-lang and theme - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Simple blog with multi-lang and theme Rate Topic: -----

#1 User is offline   FlyBot 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 64
  • Joined: 20-January 09
  • Location:Ukraine

Posted 26 February 2009 - 02:08 PM

I'm not designer. Blog look is not very good  :-\
www.kosiy.phpnet.us
0

#2 User is offline   ekerazha 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 525
  • Joined: 10-October 08
  • Location:European Union

Posted 27 February 2009 - 05:46 AM

Gradients are good
0

#3 User is offline   jonah 

  • Advanced Member
  • Yii
  • Group: Yii Dev Team
  • Posts: 733
  • Joined: 27-November 08
  • Location:California (US)

Posted 27 February 2009 - 06:09 PM

Actually if you changed it from fluid to static (with all the content in a 'column' in the center of the screen) i think it would look better than just ok
0

#4 User is offline   nurul 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 3
  • Joined: 19-February 09

Posted 28 February 2009 - 01:47 AM

Not bad design , Cool , Let me  know one thing , how did you managed multiple language content ? I m new here.

Thanks
0

#5 User is offline   FlyBot 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 64
  • Joined: 20-January 09
  • Location:Ukraine

Posted 28 February 2009 - 05:11 AM

Quote

Let me  know one thing , how did you managed multiple language content ? I m new here.

In table "Post" I'm added field "lang" for storing language for every article.
When application start I check default language from browser settings or the user's selected in current session and set
Yii::app()->language
.
Then select from table "Post" only record's in needed language.
Code: http://kosiy.phpnet....show/id/18.html
Sorry for bad English.
0

#6 User is offline   nurul 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 3
  • Joined: 19-February 09

Posted 04 March 2009 - 01:25 AM

Thanks buddy, Hope this will help me :)
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users