forum.coppermine-gallery.net
Support => cpg1.5.x Support => cpg1.5 themes (visuals) => Topic started by: altenae on November 16, 2011, 03:58:47 pm
-
I am trying to get the USER1 and USER2 contents underneath the thumbnail...
Again....I am a dutchman, but I am willing ot pay for some help..
Thanks,
EDward
-
Forgot to mention
Only in the last additions and album view
-
Only in the last additions and album view
So where exactly shall it be omitted?
-
Take a look at www.planepix.nl
I want it to be visible underneath the lat addition thumbnails and underneath the thumbnails in an album.
Edward
-
Hi ,
I have figured it out.
I have added this to funtions.inc.php
$caption .= $row['user1'] ? "<span class=\"thumb_title\">Airlines: ".strip_tags(bb_decode($row['user1']))."</span>" : '';
This will show like this "Airlines: KLM"
Now what I want is to make KLM clickable so it will search KLM.
I tried to add this to the $caption , but without luck.
Always missing an character somewhere...
Anyone for changing this $caption so that it can be searched ?
Edward
-
Well this works:
$caption .= $row['user1'] ? '<span class="thumb_title">Airlines: <a href="thumbnails.php?album=search&search=' . strip_tags(bb_decode($row['user1'])) . '&submit=search&album=search&newer_than=&older_than=&type=AND&user1=on&user2=on&user3=on&user4=on' . '">' . strip_tags(bb_decode($row['user1'])) . '</a></span>' : '';
Maybe to much code....but it works.
Edward