-
AuthorPosts
-
February 25, 2009 at 4:52 pm #138562
I want my highslide images to link to articles or another photo gallery. is this possible?
Anonymous ModeratorJA Developer
- Join date:
- September 2014
- Posts:
- 9914
- Downloads:
- 207
- Uploads:
- 152
- Thanks:
- 1789
- Thanked:
- 2008 times in 1700 posts
February 27, 2009 at 8:48 am #293734HI tangierc,
Current this extension does not support your idea, but you can modify code for your idea.
Alternatively, please take into consideration to post your requirements on Joomlancers.com to find a talent freelancer for your project.
I am sorry for not being of much help in this case.March 14, 2009 at 8:35 pm #295984how would you modify the code? I’ve looked at it and I’m not sure where to start. Im sure someone in this community has already done this ?????
March 15, 2009 at 2:55 am #296016So I was able to get something to finally work. I use Trona and what I did was to use a tag called hs.headingEval. More info about this tag can be found at “http://highslide.com/ref/hs.headingEval”
On my site, I read my images from a database of users and I wanted a link to go from the pictures to the users profile on another site. The site is no where near finished, but take a look at the highslide gallery by visiting http://www.roommatesillustrated.com Im not sure if this is the best approach but its a temporary solution. Any feedback is welcome.
Inside my ja_highslide.php code I added the line:
$headtag[] =”hs.headingEval = ”<a href=”mydestinationurl.com” target=”_blank”> Click Here To View Profile</a>”;”;What this did for me was to create a header above my image that has a clickable url
I also removed all of the “html .=” code that has the back,next, close and more see my commented code below: im not sure if this was necessary or not..but n my desperate attempt at grasping straws it worked.
// $html .= ‘<div class=”highslide-caption” id=”‘.$id_link.'”>
// <a href=”#” onclick=”return hs.previous(this); return false;” class=”control” style=”float:left; display: block”>
// Previous
// <br/>
// <small style=”font-weight: normal; text-transform: none”>left arrow key</small>
// </a>
// <a href=”#” onclick=”return hs.next(this); return false;” class=”control”
// style=”float:left; display: block; text-align: right; margin-left: 50px”>
// Next
// <br/>
// <small style=”font-weight: normal; text-transform: none”>right arrow key</small>
// </a>
// <a href=”#” onclick=”alert(hs.getExpander(this).custom.myAlert)” style=”float:left; display: block; text-align: right; margin-left: 70px”>Member: See profile</a>
// <a href=”#” onclick=”return hs.close(this); return false;” class=”control”>Close</a>
// <a href=”#” onclick=”return false” class=”highslide-move control”>Move</a>
// <div style=”clear:both”> </div>
// </div>’;
//
// $html .= ‘</div>’;May 3, 2009 at 3:26 am #303253There are a number of php files with the name ja_highslide.php. Could you please indicate which one and explain where to put it and how to modify individual photos with unique urls? I appreciate it.
September 30, 2009 at 7:20 pm #319197Its tthe file in pluginscontent.
Around line 80 there are already a few headtags.
Just add the line:
$headtag[] =”hs.headingEval = ”<a href=”mydestinationurl.com” target=”_blank”> Click Here To View Profile</a>”;”;
there and you are done.Cheers
Ralf -
AuthorPosts
This topic contains 6 replies, has 5 voices, and was last updated by ralfakerkhoff 15 years, 2 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum