Manol

Members
  • Content count

    273
  • Joined

  • Last visited

Community Reputation

115 Excellent

About Manol

  • Rank
    Distinguished Member

Profile Information

  • Gender
    Male
  • Location
    spain

Recent Profile Visitors

4,496 profile views
  1. Manol

    Hello. Maybe somebody has had the same problem: I've a webpage that gives a cooking recipe for every day, on a computer it show the right data but in mobile doesn't, is like in mobile phones keep the web in cache for many days, any hints? https://www.su-sana.com
  2. Manol

    Solved, it happened after moving to a new server with PHP 7.0 apt-get install php7.0-gd
  3. I get the following error trying to upload images, any idea, thanks. 2018-04-19 08:49:34 manol ... Error: Uncaught Error: Call to a member function getConfigData() on null in /home.../wire/core/Pageimage.php:486 Stack trace: #0
  4. Hello. I'm developing a cooking recipes website, people subscribe to it to get daily recipes. What would be the best way to send emails to them using fields and images from a template and most important that those email can be opened from a mobile device and most email clients and see it correctly. Thanks.
  5. Manol

    <?php $pdf = $modules->get('WirePDF'); $pdf->pageFormat = 'A4'; $pdf->bottomMargin = 10; $mpdf = $pdf->mpdf; $mpdf->AddPageByArray(array( 'orientation' => 'L', 'mgl' => '50', 'mgr' => '50', 'mgt' => '50', 'mgb' => '50', 'mgh' => '10', 'mgf' => '10', )); ?> Still not getting the margin within header and body, not sure if I've defined it the right way
  6. Manol

    Does anybody know how to solve with Pages2Pdf second page content top margin?, I attach an image so you can see that the paragraph hasn't got any padding or margin although is set.
  7. Manol

    That look very promising I'll give it a try
  8. Manol

    Hello forum. I've about 10000 vehicles to filter in a table in the frontend with about 10 fields, c3, title, image, km, date, axes, url ... in the past I did something similar with angular but probably there are to many items to filter with this technology. It will be a kind of excel table with filters. What do you think? is it better to filter them in php with pw api or angular would be better, any other ideas? Thanks.
  9. Manol

    Trying to resize an image that way but gives me a 500 error //OPTION A (500 error) echo "<img src='{$page->images->eq(0)->resize(340,480)->url}' alt=''>" //OPTION B (500 erro either) $myImage = $page->images->eq(0); $myResized = $myImage->resize(340,480); echo "<img src='{$myResized->url}' alt=''>"
  10. I Installed a fresh processwire classic-site in an Ubuntu 16.04 machine to check if it would work, but still can't access other pages than the root one.
  11. With virtualmin installed, you get virtual servers and the path for each one is: /home/myweb_1/public_html /home/myweb_2/public_html /home/myweb_3/public_html
  12. Hello. I host my pages in AWS, I had all installed in a ubuntu 14 with virtualmin and all worked perfectly until I installed a new machine with ubuntu 16.04 (php 7...) now all subpages and /processwire point to the root url. I've followed those links without exit. Has anybody faced the same problem?, Any ideas?
  13. Manol

    Yes I'm running PW 3, thank you BitPoet, now is working perfectly.
  14. Any ideas how to solve: Error: Class 'Pagefiles' not found (line 38 of /home/aristol/public_html/site/modules/FieldtypePDF/FieldtypePDF/PagePDFs.php) Thank you.
  15. Manol

    To install a fresh pw site I use a bitnami server that way: wget https://bitnami.com/redirect/to/100724/bitnami-processwire-2.7.2-1-module-linux-x64-installer.run chmod a+x bitnami-wordpress-4.5-1-module-linux-x64-installer.run sudo ./bitnami-wordpress-4.5-1-module-linux-x64-installer.run It installs pw under /opt/bitnami/apps/processwire. Is there an easy way to install multiple instances of pw in different folders?