It's not pretty, but here's how I was able to make lightwindow work (after the $html->css('lightwindow')) in my view:
<a href="<?php echo(IMAGE_MED_DISPLAY . $image['Image']['filename']); ? >" class="lightwindow page-options" title="<?php echo($image['Image'] ['filename']);?>" caption="<?php echo($image['Image']['title']); ?>"><? php echo $html->image(IMAGE_SMALL_DISPLAY . $image['Image'] ['filename'], array('class'=>'thumb_view')); ?></a> MAGE_MED_DISPLAY and IMAGE_SMALL_DISPLAY are constants in my bootstrap.php file. This is for a thumbnail image that links to lightwindow. Hope this helps... On Feb 3, 8:22 am, Abhishek <abhishek...@gmail.com> wrote: > Hi, > Does cakephp support lightwindow... the thing is when i give an > absolute url like > <a href="http://www.test.com/listings/view/20" class="lightwindow">Test</a> > > it works fine .. but when i use the helper > > <?php echo $html->link('View',array > ('controller'=>'test','action'=>'temp1'),array > ('class'=>'lightwindow')); ?> > > it doesnt work .. basically i think its not working with relative > url .. or it something that am doing wrong > > Abhishek --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---