WebsiteBaker 2.13.8 is now available!
R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WBhttps://forum.websitebaker.org/index.php/topic,32355.0.html
<form action="[SHOP_URL]" method="post"><input type="submit" name="view_cart" class="mod_bakery_bt_cart_ f" value="[VIEW_CART]" /></form>
<form action="[SHOP_URL]" method="post"><input type="image" src="http://<websitename>/<image.img> name="view_cart" class="mod_bakery_bt_cart_ f" /></form>
Hello,I want to change the input type from submit to image:Quote<form action="[SHOP_URL]" method="post"><input type="submit" name="view_cart" class="mod_bakery_bt_cart_ f" value="[VIEW_CART]" /></form>toQuote<form action="[SHOP_URL]" method="post"><input type="image" src="http://<websitename>/<image.img> name="view_cart" class="mod_bakery_bt_cart_ f" /></form>When i click on the image the webshop is reloaded instead of showing the cart.Do i overlook something?ThanksFrank
<form action="[SHOP_URL]" method="post"> <input type="hidden" name="view_cart" value="[VIEW_CART]" /> <input type="image" src="http://websitename/image.img" name="view_cart_submit" class="mod_bakery_bt_cart_f" alt="[VIEW_CART]" /></form>
<form action="[SHOP_URL]" method="post"><input type="image" src="http://www.yourwebsite/your_directory/your_image.img>" name="view_cart" value="[VIEW_CART]" alt="[VIEW_CART]" class="mod_bakery_bt_cart_ f" /></form>
Note: For graphical buttons not only of any existing value in the attribute value is transferred, but additionally the coordinates of the click on the image. The (as of PHP from name_x / name_y) states, two additional values sent in the form and Name.x name.y. IE will only send the coordinates.
value = "" inside an input tag of type image can be a trap to run in an issuse.