Welcome to Geeklog, Anonymous Sunday, December 22 2024 @ 04:57 pm EST
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
10
8
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.
11
9
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
13
13
Quote
All times are EST. The time is now 04:57 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