I have the RokSlideshow for MODX working on a site. Right now the slides default to having a hyperlink. I did look at the Rocketwerx documentation, adn the tip seems to only be applicable when using a txt file associated with an image file.
Anyone have any idea on how to deactivate hyperlinks for the slides?
63lincoln. did you figure this out?
perusing forums is where my comp sci degree got me.
Hi Rokslide friends,
did one of you solve that link problem?
I tried with options in the Rokslide chunk:
linked: false,
but it didn’t help. Anyone got some idea?
Cheers,
dirkl
Not Yet. Community, hello are you there?
perusing forums is where my comp sci degree got me.
BUMP - Bueller anyone? surely you can set the link?
perusing forums is where my comp sci degree got me.
A link to it would help!
http://www.rocketwerx.com/products/rokslideshow/overview
In the standalone version you set the URL in the code, but with ModX I’m not sure where you define that in the resource.
I have the following chunk setup. I think I could add
to this, but where in the resource would you define it in the resource.
imgs.push
({
file: '[+slideimage+]',
title: '[+pagetitle+]',
desc: '[+content+]'
});
perusing forums is where my comp sci degree got me.
To disable the link
uncomment line 430 of rockslideshow.js
// window.location.href = url;
Disable the pointer 170-171
// var url = this.options.images[this.curr[0]].url;
// this.img.setStyle('cursor', (url != '#' && url != '') ? 'pointer' : 'default');
@v2theg Are you using the standalone version inside MODx? What do you want to do? Change the url?
Set a MODx placeholder as Url?
I am using it in modx as an add-on or whatever the correct term is. Not as standalone. I’d like to be able to set the URL in the resource. So the end user can choose an image and a URL within the site to link it too. How can I do that? With a TV? What do you mean by placeholder? Would my previous suggestion work about setting the URL option on the chunk to a TV?
Thx for your help mrhaw!
perusing forums is where my comp sci degree got me.
You are correct add
That would be a TV.
Or use a
document object
imgs.push
({
file: '[+slideimage+]',
title: '[+pagetitle+]',
desc: '[+content+]'
url: '[+description+]'
});
Now set a url in description for your resources in the MODx tree.