Hi,

When i select tilte link to node its not working and same problem with image linked to node. How can i solve this? Basically no links are working with selected fields.

Cheers,
Anil

Comments

anthonyjhall’s picture

Loving this module. It's solving a longstanding problem for me.

I'm having the same issue though.. I'd like the titles to link to their node but can't find how to get this working.

acouch’s picture

Thanks for posting this.

This is by design. The module is setup to accept multiple images from one node OR multiple nodes. If all of the images are coming from the same node it wouldn't make sense to click through to the same node you are seeing.

You can override this in the code however if your slideshow is coming from multiple nodes and you want to have a link to the node by adding:

$vars['fields']['title_link']->content = l($vars['fields']['title_field']->content, 'node/' . $vars['row']->nid);

on line 87 of the views_galleriffic.module file (after the line that starts ' $vars['fields']['title_field']->content')

Then change '$fields['title_field']->content' to '$fields['title_link']->content' on line 15 in the views-galleriffic-view-gallerifficrows.tpl.php

Let me know if you need any help with that.

Also, I'd be interested to see urls for whatever projects you have used this on!

acouch’s picture

Status: Active » Closed (works as designed)
anthonyjhall’s picture

Aaron.

Thanks.. that works great.

I'm working on an image browser page for a client which will allow a few thousand screenshots from TV shows to be viewed by tag or keyword search. It won't be online for a while but I'll send a link when it is.

I just used this module for a fairly simple gallery on my personal site here though:

http://anthonyjhall.net/2009images

acouch’s picture

Nice. I added your link to the module front page.