Welcome to Geeklog, Anonymous Wednesday, May 01 2024 @ 05:59 pm EDT
Geeklog Forums
Gallery Random Pictures - http link problem
Status: offline
congleal
Forum User
Full Member
Registered: 11/08/04
Posts: 179
I've got the random pictures block working on my site but what I would like to do is for each random picture in this block, I would like to remove the hyperlink pointing to gallery and point it to another website.
I've look through all the discussions and haven't found the answer. I'm not sure it can be done...please help!
Lee
I've look through all the discussions and haven't found the answer. I'm not sure it can be done...please help!
Lee
8
5
Quote
tokyoahead
Anonymous
I think the code for this is in the lib-Custom-function that you installed with the random photo block. search for the HTML in that function and replace it with the stuff you need.
7
6
Quote
Status: offline
congleal
Forum User
Full Member
Registered: 11/08/04
Posts: 179
You were right about the link back to gallery. I found it on the lib-custom:
if (isset($index)) {
$id = $album->getPhotoId($index);
$retval = ""
//."
fields["name"], $id) .">"
.$album->getThumbnailTag($index)
."";
But I'm not sure where to go to create individual hyper links for each graphic in the random display. I've checked the block-random.php, init.php any other suggestions?
Lee
if (isset($index)) {
$id = $album->getPhotoId($index);
$retval = ""
//."
fields["name"], $id) .">"
.$album->getThumbnailTag($index)
."";
But I'm not sure where to go to create individual hyper links for each graphic in the random display. I've checked the block-random.php, init.php any other suggestions?
Lee
8
7
Quote
All times are EDT. The time is now 05:59 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content