I use the 5.x-1.x-dev version.
I have the extra fieldset in views edit, and I have enabled the mediarss argument under views, with the third option enabled.
In the "default" selection box, I chose "Display all values".

I get the blue arrow, with the javascript link, but no slideshow starts... :(

Any hints?

Comments

z.stolar’s picture

Title: cklicking the blue arrow does nothing » clicking the blue arrow does nothing

(fixed a typo in the title and...)

BTW, firebug reports no javascript errors.

swentel’s picture

That's weird, do you have an online example or are you testing on a local machine ?

z.stolar’s picture

I do: http://www.common-paradise.net/illustration/gallery
Tested with FF on XP, with and without the extension, as well as with FF on Linux.

swentel’s picture

ok thanks for the link. The rss feeds seem to be empty (ie http://www.common-paradise.net/illustration/en/piclens/piclens_views/gal...) - are their any watchdog errors after you surf directly to this url ?

z.stolar’s picture

OK, I've done some more debugging.
Not yet done, but here are my first results:

In piclens_views module, in function piclens_views_mediarss_items, $args is used twice: Once as a parameter to the functions, which includes the name of the view, and then as the array of arguments passed on to views, in views_build_view.

To fix this, the first line should be:

<?php
$viewtitle = array_shift($args);
?>

Now the problem is that the arguments are not passed to the feed. If I add them manually, I get the RSS feed: http://www.common-paradise.net/illustration/en/piclens/piclens_views/gal...

("Growing+children" is the argument)

z.stolar’s picture

Got it!
I leave you to beautify the code, but I found the second breaking point:
In piclens_views module, in function piclens_views_post_view, the arguments passed to the view, are not passed to the feed_url.

Try this instead:

<?php
mediarssapi_feed_url(url('piclens/piclens_views/'. $view->name . '/' . implode('/', $view->args), $filters), $view->title);
?>

And now it works :)

swentel’s picture

Wow great debugging! I'll test tonight with my setup at home and commit as soon as I can, I'll let you now when it's committed!

swentel’s picture

Status: Active » Closed (fixed)

Tested and commited to drupal 5 branch. Thanks for the report and fix!