Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: aro_slideshow
Tried everything i can think of, and am sure I’m setting it up properly. I continue to get a javascript error “this.b has no properties”. Any ideas
Offline
#14 2006-05-22 16:37:24
- lee
- Member
- From: Normandy, France
- Registered: 2004-06-17
- Posts: 831
Re: aro_slideshow
Sorry to keep taking up your time with this, but could running it on a subdomain a problem?
Like: www.subdomain.site.com
Offline
Re: aro_slideshow
mrdale wrote:
Tried everything i can think of, and am sure I’m setting it up properly. I continue to get a javascript error “this.b has no properties”. Any ideas
I bet this is a browser thing – can you tell me your Browser/Version/OS and I will try to duplicate it here? Also – I haven’t tried this, so I don’t know if it’s a problem – is the tag being used inside a link? For example:
<code><txp:permlink><txp:aro_slideshow /></txp_permlink></code>
Travel Atlas * Org | Start Somewhere
Offline
Re: aro_slideshow
lee wrote:
Sorry to keep taking up your time with this, but could running it on a subdomain a problem?
Like: www.subdomain.site.com
It shouldn’t, no. And definitely not if you are calling it: <txp:aro_slideshow js="2" />
Last edited by rloaderro (2006-05-22 16:50:24)
Travel Atlas * Org | Start Somewhere
Offline
Re: aro_slideshow
Don’t work on Win/Mac FF 1.5. Works on Win IE 6.
My article form
<txp:aro_slideshow js="2" />
My Article call
<txp:article form="galleryTest">
Last edited by mrdale (2006-05-22 17:10:12)
Offline
#18 2006-05-22 18:20:18
- lee
- Member
- From: Normandy, France
- Registered: 2004-06-17
- Posts: 831
Re: aro_slideshow
I can confirm it don’t‘t work on FF 1.5 WIN or MAC
Offline
Re: aro_slideshow
You are correct! I found the bug – completely missed it – will released fixed version later today. I am sorry!
Fixed!! Get the working version here
Last edited by rloaderro (2006-05-22 20:08:32)
Travel Atlas * Org | Start Somewhere
Offline
#20 2006-05-22 20:22:14
- lee
- Member
- From: Normandy, France
- Registered: 2004-06-17
- Posts: 831
Re: aro_slideshow
Brilliant, working perfectly now. Thank you.
A suggestion if you decide to add to it: A custom field to specify an image category would be useful.
Offline
Re: aro_slideshow
lee wrote:
A suggestion if you decide to add to it: A custom field to specify an image category would be useful.
hi Lee! I added a category attribute to the plugin – you can now use it independantly of the article form (in a page template or misc form for example) with this new attribute! Let me know if there are any problems…
Travel Atlas * Org | Start Somewhere
Offline
Re: aro_slideshow
Works, Yay! Thanks for the great work.
Category attribute is great. I’m starting to get excited about possibilities for this plugin.
- Idea: Why not use a different tag altogether for the article-less version, then have it accept categories category from the url.
- Idea2: How about attributes to display title and caption fields?
Cool!
Offline
#23 2006-05-24 00:48:40
- mstark71
- New Member
- Registered: 2005-12-30
- Posts: 5
Re: aro_slideshow
Sorry, if this is just too stupid to respond to. I just installed the plugin. Now I am in the ‘write’ tab in content. How can I get the slideshow to work in a new article?
Thanks,
m
Offline
Re: aro_slideshow
mstark71 wrote:
Sorry, if this is just too stupid to respond to. I just installed the plugin. Now I am in the ‘write’ tab in content. How can I get the slideshow to work in a new article?
The slideshow tag must be called from within a page or form template (presentation > page
or presentation > form
). If it will be article-dependant you must use it in the form that displays the article content — if you have not defined any custom forms it will be the one named default
. Simply add the slideshow tag: <txp:aro_slideshow js="2" />
— somewhere in the form. But that’s not all — in the article itself, in the field named article_image
(under advanced options
) you must enter a list of image ID’s to display. To find the image ID (and this is somewhat un-intuitive) go to the tab content > images
and click on the link named textpattern
next to the image in the image list that you would like to appear in the slideshow. A window should popup with some text like: <txp:image id="10" />
— that 10
is the image ID. So what you need to do is add a list of image ID’s, separated by commas, to that article_image
field — something like: 10,11,12
. And the slideshow should appear now. I haven’t mentioned it anywhere else, but to work as intended, all the images must be the same size!
If you would like to use the slideshow in a page template — in other words it will not be associated with any one article — you must associate it with an image category. In the content > organize
tab you must create some image categories. Then in the content > images
tab you must associate some of your images with those categories. Then, from within a page or form template, you call the slideshow tag as follows: <txp:aro_slideshow category="your_image_category_name_here" js="2" />
— and that’s it!
Good luck!
Travel Atlas * Org | Start Somewhere
Offline