maxf5

Members
  • Content count

    56
  • Joined

  • Last visited

Community Reputation

43 Excellent

About maxf5

  • Rank
    Full Member
  • Birthday January 30

Profile Information

  • Location
    Deutschland
  • Interests
    schalke04, whisky, rock 'n roll

Recent Profile Visitors

323 profile views
  1. Any ideas? How do you set up checkboxes?
  2. Uff, after a few weeks i have a problem with the checkboxes in the form. They 're not required, but the user can't send the form when not checked. Anyone with same problems? Iam using two different forms on my website (different pages) which haven't the same fields, i set the fields for the particular form with: $options = array( 'allFields' => 'sfc_tel,scf_fax,scf_email,scf_subject,scf_message,scf_haendlerwerden', .. ); scf_haendlerwerden is a checkbox, not-required. Is that where the error comes from, selecting the fields via $options["allFields"] ? ProcessWire 3.0.75
  3. Hi @Mike Rockett, i knew that "trick". But i don't want my default language urls (german/de) look like: sample.de/de/contact, or is there any option to remove that url segment of the default language in the url when having a default language name in "Home > Settings"? EDIT: Ah forget it, i just updated the module to version 0.20 and saw "ISO code for default language"
  4. Hi @Wanze, files are there on the ftp in /site/assets/files/{pageid} - also the thumbs are generated correctly. 2017-09-15 10:51:35 xxx_usr http://xxx.de/?pages2pdf=1048 IMagick Resized: captiva_sharkoon_0127-big.jpg => captiva_sharkoon_0127-big.220x220.jpg (220x220) 0.2990 secs 953844 => 14251 bytes (quality=90, sharpening=soft) 2017-09-15 10:51:35 xxx_usr http://xxx.de/?pages2pdf=1048 IMagick Resized: captiva_sharkoon_58-big.jpg => captiva_sharkoon_58-big.220x220.jpg (220x220) 0.2852 secs 814741 => 13240 bytes (quality=90, sharpening=soft) 2017-09-15 10:51:35 xxx_usr http://xxx.de/?pages2pdf=1048 IMagick Resized: captiva_sharkoon_0083-big.jpg => captiva_sharkoon_0083-big.220x220.jpg (220x220) 0.3268 secs 1532518 => 8103 bytes (quality=90, sharpening=soft) 2017-09-15 10:51:36 xxx_usr http://xxx.de/?pages2pdf=1048 IMagick Resized: captiva_sharkoon_0103-big.jpg => captiva_sharkoon_0103-big.220x220.jpg (220x220) 0.3187 secs 2139397 => 31538 bytes (quality=90, sharpening=soft) using ProcessWire 3.0.73, any known bugs here?
  5. Hi bernhard, thank you for the hint. The image field is set as single element. <td colspan="1" style="padding:15px"> <img src="<?= $page->navimg->url; ?>" width="220"/> <p><?= $page->navimg->url ?></p> </td> something between .. <?php if ($page->images->count > 0) : ?> <table> <tr> <?php $gallery = $page->images; $gallery = $gallery->slice(0,4); foreach ($gallery as $image): ?> <td> <img src="<?= $image->size(200, 200)->url ?>" width="200" height="200"/> </td> <?php endforeach; ?> </tr> </table> <?php endif; ?> template part: <?php $optionspdf = array( 'title' => 'Datenblatt', 'markup' => '<a class="uk-button gaming" href="{url}" download>{title}</a>', 'pageFormat' => 'A4' ); echo $modules->get('Pages2Pdf')->render($optionspdf); ?> result:
  6. Also having a problem with images.. On some pages the PDF shows the image, on other pages the image is missing. <img src="<?= $page->navimg->url ?>" width="220"/>
  7. Maybe @ryan can "share jobs" to the community much more that we can help. I think these points are outdated and had to be done first: a) default admin theme - it will pay more attention to people who are making the first steps into PW b) new branding/ci for PW. these identity now with the skyscrapers on facebook is looking so 90ties.. c) like @apeisa said, a new stylish/modern PW website. A powerful start-page showing the features. ( of course also updated docs, tuts,..) thinking of a clean design like pagekit ( https://pagekit.com )
  8. Great idea, looking forward to it :)
  9. Maybe one can make optional module settings for this problem. Listing every language used on the website and a field for the ISO and a checkbox. When checked it renders the "custom" ISO for this language.
  10. Hi Mike, wonderful module for languages and image integration! But what can i do to fix this case? <url> <loc>http://www.xxx.de/</loc> <lastmod>2017-09-10T00:03:12+02:00</lastmod> <xhtml:link rel="alternate" hreflang="home" href="http://www.xxx.de/"/> <xhtml:link rel="alternate" hreflang="en" href="http://www.xxx.de/en/"/> </url>
  11. You need a bit of coding experience but we can help you.
  12. $latest = $users->find('roles=anzeigen-anbieter, sort=-customer_number, limit=1'); $newnumber = $latest->customer_number + 1; $user = new User(); $user->of(false); $user->name = "Paul"; $user->pass = "max123"; $user->email = $email; $user->customer_number = $newnumber; $user->addRole("anzeigen-anbieter"); $user->save();
  13. Oh sorry my fault.. my table modules in the db had no structure and all the new modules could'nt get an ID.. sorry for that. Now it works It happened when i repaired the database:
  14. @abdus sorry, doesn't help in this case.. It only happens with installed modules. Could there be issues with following? $config->dbCache = true; $config->sessionChallenge = true; $config->sessionFingerprint = true;