When using Cakephp to generate a link with Html->link
, the code looks like this:
echo $this->Html->link('Download',array(
'plugin'=> 'galleries',
'controller'=> 'galleries',
'action'=> 'download',
$download),array('class'=>'down'));
The output is:
<a href="/galleries/galleries/download/schiffchen_seide.jpg" class="down">Download</a>
However, this generated link is not clickable. To make it work, I had to manually add the link in the HTML code.
Even when trying to echo the link directly, the same issue persists.
Below is a snippet from my view:
<nav><a href="#" class="rght">next</a><?php if($download){ echo $this->Html->link('Download',array('plugin' => 'galleries', 'controller' => 'galleries','action' => 'download', $download),array('class'=>'down')); } ?><a href="#" class="lft">prev</a></nav>
If anyone has any insights on how to fix this issue, I would greatly appreciate it!