Project:Flash gallery
Version:6.x-1.0
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

Hello,

can anybody tell how I can theme the overview page (mysite.tld/fgallery)?
I'd like to add thumbnails to the overview page.
I couldn't find any .tpl.php files.

Thanks a lot for your help!

Kind regards,
Stefan

Comments

#1

I think thumbnails are already supposed to be part of the list at /fgallery. I'm having the same problem. The thumnails are not showing. Looking at the code generated, there is only an empty link.

Thanks in advance!

#2

I have same problem. Anyone found a way to patch this?

Really appreciate any help on this, and I'm sure I'm not the only one :)

#3

In flash_gallery.module change lines 84 to 87 to this code:

      $descendant_tids = array_merge(array($galleries[$i]->tid), array_map('_taxonomy_get_tid_from_term', $tree));
  $sql = "SELECT n.nid FROM {node} n INNER JOIN {term_node} tn ON n.nid = tn.nid $join WHERE tn.tid IN (" . implode(',', $descendant_tids) . ") AND n.type = 'image' AND n.status = 1 $where $order";
  if ($nid = db_result(db_query(db_rewrite_sql($sql), $args))) {
  $galleries[$i]->latest = node_load(array('nid' => $nid));
  }