Jump to content

ank

Members
  • Posts

    41
  • Joined

  • Last visited

Recent Profile Visitors

2,163 profile views

ank's Achievements

Jr. Member

Jr. Member (3/6)

2

Reputation

  1. Solved, It was the image itself, with another image everything works well.
  2. 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.
  3. Is there a way to change the order of the products in the webshop. Thanks, Ank
  4. 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
  5. 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
  6. 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.
  7. i added the coordinates manually and now i get the map but Is it possible to change the colors of the map
  8. 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 ?
  9. Yes this solved my problem, Thanks @Autofahrn!
  10. 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 ?
  11. You have to enable the Analytics API in the Google console
  12. I have the same problem with Mamp. Has someone already a solution to make it work with mamp ?
  13. 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 ?
  14. ank

    video upload

    I check this out, seems very suitable ! Thanks
  15. ank

    video upload

    @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
×
×
  • Create New...