-
Posts
41 -
Joined
-
Last visited
Recent Profile Visitors
2,436 profile views
ank's Achievements
Jr. Member (3/6)
2
Reputation
-
Solved, It was the image itself, with another image everything works well.
-
ank started following Admin password being reset after DB Synch , Resize image on onepager with child page templates , Cart reloads page and 1 other
-
Hi i'am trying to resize a image from a child page who has his own template: on the home page i render all the child pages who have there own php template: foreach($page->children() as $section){ echo $section->render(); }; On the child page the php contains: $image = $page->image; $thumb = $image->size(300, 150); echo <img src='$thumb->url'>; the $thumb is not generated and i get a error: "Look out… Fatal Error: Uncaught Error: Call to a member function size() on null in site/templates/welcome.php:23" "welcome.php" is a child template. when i use : echo <img src='$page->image->url'>; it display the image.
-
Is there a way to change the order of the products in the webshop. Thanks, Ank
-
Sorry for the late response, but are learning from the examples. I am also trying to make a sidecart with this examples but cannot refresh the cart when clicking on "add to cart" button. I can update "$padloper->cart->getNumberOfTitles()" without page reload, but how to do it with a complete render of the cart ? Is there a place where i can find all functions of padloper like the total quantity of items in the cart (not quantity of products in cart) ? Thanks
-
I tried, but it didn't worked (i am a frontend designer and know only html and the basics of php). Is it possible to post a simple example of a "add" button with no page reload ? Thanks
-
Hello, when i add or update the cart, the page reloads to the overview grid/productpage (although the cart is updated), even when i add a product from a single product page. I use the example code: // get the $cartRender class $cartRender = $padloper->cartRender; // get the product whose add to cart button you want to be rendered // @note: it is assumed you already retrieved $product as per the example linked to above // render the add product to cart form $content = $cartRender->addToCart($product); $out .= $content; Is there a way to update the cart without reloading the page, only add or update the cart.
-
i added the coordinates manually and now i get the map but Is it possible to change the colors of the map
-
i installed the module, but i'm not able to get it working, i get the error "Error geocoding address" in the backend and a blank map ? What is missing/wrong ?
-
Yes this solved my problem, Thanks @Autofahrn!
-
When i try to move a existing website back to local development on VHX (VirtualHostX) i get a error message: Couldn't find "config.php" in /var/www/webank.vhx.cloud/site/config.php. the path isn't correct, "/var/www" does not apply here, can i change this ?
-
You have to enable the Analytics API in the Google console
-
Hi everybody, i am looking for a way to "mark" only one image in a imagesfield with multiple images, so i can request it on the homepage. I am making a collection of pages with images and on the home page i want to display one image out of every childpage (not the first image of every child) "I have been thinking on a switch next to the images so that i can "mark" the image, only one image in the imagesfield can be "marked" Any ideas how to archive this ?
-
I check this out, seems very suitable ! Thanks
-
@maxf5 and @adrian thank you FieldtypeVideo seems the easiest way, but i want to "autoplay" and "loop" the movie, so i think the "file" field option is the most suitable. Ank