Yii Framework Forum: Nanya Tanggal Kok Bahasa Jepang - Yii Framework Forum

Jump to content

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

Nanya Tanggal Kok Bahasa Jepang Rate Topic: -----

#1 User is offline   mikroba 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 2
  • Joined: 26-February 13

Posted 26 February 2013 - 04:09 AM

Teman2, mau nanya donk mungkin basic ya.. tapi ga bisa juga.. kan ane pake themes, nah terus pas ane masukin datepicker itu kenapa ya tulisannya jepang, padahal di scriptnya itu udah language = id.. tapi kalo themesnya di lepas, jadi bisa.. apa karna bentrok di javascriptnya ya? mohon bantuannya..


scriptnya:

<?php	$this->widget('zii.widgets.jui.CJuiDatePicker', array(
    'model'=>'$model',
	'name'=>'SuratMasuk[tanggal_surat]',
	'value'=>$model->tanggal_surat,
	'themeUrl'=>Yii::app()->request->baseUrl.'/css/juitheme/',
	'theme'=>'bkf',
    'language'=>Yii::app()->language=='id' ? 'id' : null,
    'options'=>array(
		'showAnim'=>'fold', // 'show' (the default), 'slideDown', 'fadeIn', 'fold'
        'showOn'=>'button', // 'focus', 'button', 'both'
        'buttonText'=>Yii::t('ui','Select form calendar'),
        'buttonImage'=>Yii::app()->request->baseUrl.'/images/calendar.png',
        'buttonImageOnly'=>true,
		'showButtonPanel'=>true,
		'changeYear'=>true,                                      
		'changeYear'=>true,
		'dateFormat'=>'yy-mm-dd',
    ),
    //'htmlOptions'=>array('style'=>'width:80px;vertical-align:top'),
	'htmlOptions'=>array(
		'size'=>10,
		'style'=>'width:80px !important',
		'readonly'=>'readonly',
	),
));?>



terima kasih teman2...

Attached File  tanggal.jpg (40.22K)
Number of downloads: 12
0

#2 User is offline   mikroba 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 2
  • Joined: 26-February 13

Posted 26 February 2013 - 09:21 PM

ada yang bisa bantu kah??
0

#3 User is offline   superusercloth 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 2
  • Joined: 28-February 13

Posted 28 February 2013 - 04:45 AM

sepi, gan. coba ke forum induknya aja, siapa tau ada yang punya jawabannya di sana.
0

#4 User is offline   ruderbytes 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 15
  • Joined: 05-November 12
  • Location:Indonesia

Posted 17 May 2013 - 09:12 PM

Quote

Teman2, mau nanya donk mungkin basic ya.. tapi ga bisa juga.. kan ane pake themes, nah terus pas ane masukin datepicker itu kenapa ya tulisannya jepang, padahal di scriptnya itu udah language = id.. tapi kalo themesnya di lepas, jadi bisa.. apa karna bentrok di javascriptnya ya? mohon bantuannya..


scriptnya:

<?php $this->widget('zii.widgets.jui.CJuiDatePicker', array(
'model'=>'$model',
'name'=>'SuratMasuk[tanggal_surat]',
'value'=>$model->tanggal_surat,
'themeUrl'=>Yii::app()->request->baseUrl.'/css/juitheme/',
'theme'=>'bkf',
'language'=>Yii::app()->language=='id' ? 'id' : null,
'options'=>array(
'showAnim'=>'fold', // 'show' (the default), 'slideDown', 'fadeIn', 'fold'
'showOn'=>'button', // 'focus', 'button', 'both'
'buttonText'=>Yii::t('ui','Select form calendar'),
'buttonImage'=>Yii::app()->request->baseUrl.'/images/calendar.png',
'buttonImageOnly'=>true,
'showButtonPanel'=>true,
'changeYear'=>true,
'changeYear'=>true,
'dateFormat'=>'yy-mm-dd',
),
//'htmlOptions'=>array('style'=>'width:80px;vertical-align:top'),
'htmlOptions'=>array(
'size'=>10,
'style'=>'width:80px !important',
'readonly'=>'readonly',
),
));?>


coba gan tambahin ini
'language'=>'id',

semoga bisa
~Happy :)) Coding~
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