Use of html->link helper inside a cell view

Hi everyone,

Could anyboy tell me if it is possible to use $this->html->link() inside a cell view?

I’m trying this:

$this->Html->link(‘Recibo’, [‘action’ => ‘nomina’, $var1, $var2, $var3], [‘class’ => ‘btn btn-sm btn-primary’]);

but, it (this link button) did not even appear in the rendered view.

What I’m doing wrong?

Please, I’ll really apreciate any help

what do you mean by cell view? Cell in Excel/Calc or cell in table?

Sorry, I’m talking about view cells from cakephp 3.5

So Im of no help here… Lets wait for someone else to help…

Try adding controller:

$this->Html->link(‘Recibo’, [‘controller’ => ‘Thecontroller’, ‘action’ => ‘nomina’, $var1, $var2, $var3], [‘class’ => ‘btn btn-sm btn-primary’]);

Ok. jose. I’ll try and let you know.

hi José. I tried. Didn’t work. it is still the same. the link button don’t even appear

Should’nt it begin width “echo” ?

Done!, Thank Jose, you’re really, right. now is working!!!. Thanks a lot.

I’m sorry, I made a mistake. Thanks a lot 6120, you’re the One!