Hi,
I'm sort of new here..my friend and I just setup my Linux Server and I added the Gallery2 app so I could share pictures with my family. Its really great, and I'm enjoying using it.. but I have a question..
Is there a way to configure the Cart so that everytime I add an item, I'm NOT redirected to the Cart Contents page?
Its really sort of annoying to have to keep clicking back to return to the album thumbnail view to select another picture to add to the cart.
thanks,
george
Posts: 32509
no, there's no such option out of the box. you'd have to change the module to return to the originating view instead of redirecting to the cart.
Posts: 2
thanks for the quick response.. i was thinking that was what the answer was going to be.. unfortunately, I don't think I have the skillz to change the original module. I guess I'll just have to live with it the way it is.. Its not that big of a deal anyway. .really just a minor annoyance.. I have the carts turned off for my users anyway.. I was just trying to select some pictures for another project..
thanks again!!
-george
Posts: 35
in gallery2\modules\cart\AddToCart.inc.
change:
$results['redirect']['view'] = 'cart.ViewCart';
to:
$results['return']['view'] = 'cart.ViewCart';