Quantcast
Channel: NBStore Discussions Rss Feed
Viewing all articles
Browse latest Browse all 4081

New Post: Wishlist

$
0
0
sachatrauwaen wrote:
Hi,

Just a little more info about url rewriting :

Urls contain a path and a query separated by ?
www.mysite.com/path?queryparam1=queryvalue1
the query is a collection of name=value separated by &

When you use a url rewriter in dnn the path is transformed by the url rewriter in a query

www.mysite.com/Default.aspx?name1=value1&name2=value2&queryparam1=queryvalue1

The dnn modules manage only this final url with the query parameters.

If something is bad structured in the initial url, the url managed by the module is maybe bad transformed.

If you use OpenUrlRewriter, and open the developer tools (F12) and go to network tab, analyse the response headers you find the url managed by the module :

X-StbUrlRewriter-Debug:/tabid/86/wishlist/Default.aspx, /Default.aspx?TabId=86&wishlist

This is not very good because the "wishlist" name have no corresponding value.
In this case i am not sure nb_store detect the query parameter.

So change the url to /tabid/86/wishlist/wishlist/Default.aspx

Nb_store don't use the content of parameter, he just verify if it exist. So you can put the value you want but don't leave it empty.

This works fine :
http://www.modainlinea.com/tabid/86/wishlist/1/Default.aspx

Regards,
Sacha
Hello Sacha,
thank you for detailed reply.
After reading you're post, maybe i can leave openURL or to resolve this issue have to de-activate (uninstall?) openURL module and wait for next nbStore (& DNN) release? What i need it's only to remove .aspx extension.
In case,tried to setup minicart template with you're advice but no luck. Have any idea how to setup it?
Next months wish to add second language to our website,do yuo think can have some issues with actual config?

Thank you
RL

Viewing all articles
Browse latest Browse all 4081

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>