Hi there,

i give users the ability to use flag-module in combination with the ddblock-slideshow to flag images they like. I do that with the ajax-flag-link so the page wont reload but: what actually happens is, that in the background the URL is reloaded and the slideshow switches back to the first image after a flag-link is clicked.

Since flag takes the current URL (query-string plus flag-token), my problem would be solved if ddblock could extend the current query-string and update my URL on every imageswitch with slidenum=[slidenumber]
to www.myurl.com/slideshow/fashion?slidenum=[slidenumber]

Any idea how to slove this?

Thanks in advance and best regards,
Fabian

Comments

stone_d’s picture

Title: display and update slidenum=X as query string » append and update slidenum=X as query string
ppblaauw’s picture

Status: Active » Postponed (maintainer needs more info)

Do you have a link to your Internet site, so I can see how it (not) works now.

I don't think changing the URL on every imageswitch would be a solution.

stone_d’s picture

Title: append and update slidenum=X as query string » Chaging the URL would solve my problem

Hi Philip,

thanks for the reply. I tested it, and changing the URL would solve my problem, since the current URL is taken as the variable with the flag-link where to redirect. Is there any possibility to do that?

Thanks in advance,
Greetz, stone

ppblaauw’s picture

No, don't think you can change the URL of a page.

stone_d’s picture

Title: Chaging the URL would solve my problem » www.myurl.com/slideshow/fashion?slidenum=[slidenumber] => Possible?

hm - i thought it would be possible, cause i read something that you can change the URL by jQuery. But im not that good in it - thats why i asked for that feature.