Yii Framework Forum: Can not opne new Window - Yii Framework Forum

Jump to content

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

Can not opne new Window Rate Topic: -----

#1 User is offline   nemo 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 142
  • Joined: 24-February 10

Posted 05 March 2010 - 08:38 AM

HI,
In Yii-1.0.11, I use
<?php echo CHtml::link('Show', array('show','id'=>$model->id), array('target'=>'_blank')) ; ?>

And that is working fine but in YII 1.1

I use this way

array(
'name'=>'Action',
'type'=>'raw',
'value' => 'CHtml::link("Show", array("show","id"=>$data->id,"target"=>"_blank"))',
),

And this is not working. Have any idea where is my problem
0

#2 User is offline   jayrulez 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 348
  • Joined: 29-July 09

Posted 05 March 2010 - 10:50 AM

http://articles.site...compliant-world
php:
foreach(array('cat', 'dog', 'cow') as $animal) echo $animal."\n";

python:
[(animal, print(animal)) for animal in ['cat', 'dog', 'cow']]

ruby:
['cat', 'dog', 'cow'].each {|animal| puts animal}


You say Tomato, I say Tomato.
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