Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • tangierc Friend
    #138562

    I want my highslide images to link to articles or another photo gallery. is this possible?

    Anonymous Moderator
    #293734

    HI 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.

    hmmmm3 Friend
    #295984

    how 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 ?????

    hmmmm3 Friend
    #296016

    So 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>’;

    kimmc7 Friend
    #303253

    There 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.

    ralfakerkhoff Friend
    #319197

    Its 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

Viewing 6 posts - 1 through 6 (of 6 total)

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