Page List on Slate; behavior on clicking on images
Permalink Browser Info Environment
When using Page List on Slate, and when an image is clicked, the image will pop up in a larger size. Typically, the page thumbnail images are chosen so that they are discernible in small size and this function is unnecessary. I'd rather have the image to jump to the assigned page.
Can that be changed in the next version, and since I'd rather change it now, can you provide a patch or even just a pointer (filename and line number) to look into?
I think unnecessary interactions can hurt the visitor attention, especially on mobile terminals.
Thanks!
Can that be changed in the next version, and since I'd rather change it now, can you provide a patch or even just a pointer (filename and line number) to look into?
I think unnecessary interactions can hurt the visitor attention, especially on mobile terminals.
Thanks!
Type: | Discussion |
---|---|
Status: | New |
Thanks!
Actually, in order to do what I wanted to do, I had to change it to
because I wanted the link to go to the referenced page not to the raw URL of the image. But thanks to your pointer it wasn't difficult. Please let me know if there's a better way to do this, but otherwise thank you for your quick response as always.
Actually, in order to do what I wanted to do, I had to change it to
<?php if ($cobj->getAttribute('thumbnail')) { ?><a href="<?php echo ($nh->getLinkToCollection($cobj)); ?>" title="<?php echo $title?>"><img class="ccm-page-list-thumbnail" src="<?php echo $thumb->src; ?>" width="<?php echo $thumb->width; ?>" height="<?php echo $thumb->height; ?>" alt="<?php echo $title?>" /></a><?php } ?>
because I wanted the link to go to the referenced page not to the raw URL of the image. But thanks to your pointer it wasn't difficult. Please let me know if there's a better way to do this, but otherwise thank you for your quick response as always.
Oh, yep. Forgot to change the href in that second line of code I posted :)
Look for this line (#25):
And change it to this:
Basically, you just want to remove the