Hi,
I use mod_news_pro_gk5 to show Virtuemart products
I have 1 dynamic Virtuemart product with some parameters that change every 2 or 3 minutes (text but also image...)
I'd like to show it in News Pro module and wondering how I could get them dynamically refreshed...
What would be a way to do that?

Thanks for your help
Paul

Hi,

"dynamic Virtuemart product" means it changes parameters without refreshing the page?

Did you try to disable News Show Pro module cache?

Cheers
Joshua

Sorry for delay Joshua but I hadn't seen your answer.

Yes exactly: it changes parameters without refreshing the page . So I'd like Show Pro module to do the same thing...

I was thinking effectively to turn off cache. But I don't think that cache is related to automatic refresh. Am I wrong?

For me the News Show Pro module content (text, thumbnail,...) is created "on demand" and stays for cache duration and until next page reload from user.
How could it be automatically modified without page refresh?

Hi,

Unfortunately it's not possible with News Show Pro module, you're right the content of the module may be changed only when the page is refreshed..

Cheers
Joshua

Yes so I'd need to customize the module and add an ajax () request...
Could you help me and tell me where I should intervene with code to add the ajax functionality?

Thanks Joshua

Thanks for your suggestion Joshua
But I am sure that I'll have to do it by myself!
;-)

For now I use external json file for module. And it can be almost easily updated on content modifications (text, thumbnail,...). OK for that.
Now I'd need advise for AJAX process...
In the module carousel generation code, where do you think I should insert my AJAX code?

Thanks for your help Joshua

Write a Reply...
You need to Login to view replies.