When an album is shown on the front page, clicking the picture doesn't work.
the link goes node/
but it's referred to
node//picture
Using drupal 5.3. No other modules installed.
When an album is shown on the front page, clicking the picture doesn't work.
the link goes node/
but it's referred to
node//picture
Using drupal 5.3. No other modules installed.
Comments
Comment #1
Zarei commentedIt was supposed to be
the link goes to node/*nbr*
Comment #2
Zarei commentedI found a solution:
in function theme_gallerix_album_teaser
change the line
$output .= '<a href="' . base_path() . 'node/' . $node->nid . '">';to
$output .= '<a href="' . base_path() . 'index.php?q=node/' . $node->nid . '">';Comment #3
silviogutierrez commentedZarei,
Although your solution works, it'll show 'index.php' in the link, which is sort of again coding standards. I'll still fix it and give you credit, but I'll use a different solution. Thanks for bringing it up.
Also, I strongly recommend installing Views instead of using the standard teaser view, which I just added as a placeholder for those not using Views. It's not really a supported feature.
Thanks again,
Silvio
PS. If you have more questions, please redirect them to my site, under the release of Gallerix you're using, as a comment, since I check that more often.
Comment #4
mohammadzme-1 commentedDear all,
I need your help please
I have image gallery on my site but the next button dose not work on the lightbox.
http://www.jwico.com/?q=node/240#30
i work use Gallerix and lightbox 2
i cant show the other image by the next button.
Please help
Comment #5
johnnocMarking as won't fix. I cannot move this issue back to Gallerix because the module's issue queue is disabled. The original issue is on Gallerix so I didn't move this to Lightbox2 either. I sent an e-mail to the poster of #4 regarding where to get support.