Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

33 Excellent

About iNoize

  • Rank
    Sr. Member
  • Birthday 12/01/1982

Contact Methods

  • Website URL
  • Skype

Profile Information

  • Gender
  • Location

Recent Profile Visitors

4,901 profile views
  1. @wbmnfktr OK I think the error is not in the pages2pdf I use to import files the ImportPages2Xml module and when the multilanguage is on then the error comes that pages2pdf Fatal Error: Uncaught TypeError: Argument 2 passed to Pages2Pdf::getPDFFilePath() must be an instance of Language, instance of ProcessWire\Language given, called in /usr/www/users/ulmmsc/2018cms/site/modules/Pages2Pdf/Pages2Pdf.module on line 177 and defined in /usr/www/users/ulmmsc/2018cms/site/modules/Pages2Pdf/Pages2Pdf.module:259
  2. @wbmnfktr ok thats really embrrassing now. With the Templates I was in the wrong path. The module path not the template. With the multilanguage i installed not the profile only the module (part of PW Multilanguage Support ) But thanks a lot for the HELP. Now it works with the PDF files without multilanguage.
  3. @bernhard @wbmnfktr Thanks for the fast answer. So i try to describe the situation. I have installed the module. CURRENTLY SITCHED OFF THE MULTINLANGUAGE SUPPORT ON PW ProcessWire 3.0.126 © 2019 PHP 7.2 So now if i try to change the templates in /site/modules/Pages2Pdf/default_templates for example default.php <h1><?= $page->get('headline|title') ?></h1> <p><?= $page->body ?></p> <?php if (count($page->immo_images)): ?> <?php foreach ($page->immo_images as $image): ?> <div class="image"> <img src="<?= $image->size(400, 400)->url ?>" alt="<?= $image->description ?>" /> </div> <?php endforeach; ?> <?php endif; ?> _header.php <?php /* * Pages2Pdf default header markup * Styles defined in styles.css file * * You can use {PAGENO} for the current page number and {nbpg} for the total of pages * */ ?> <div class="head">Test </div> Hier kommt EXPOSE <hr> Hallo WELT Then try to generate the file on the site $options = array( 'title' => 'Expose als PDF', 'markup' => '<a href="{url}" target="_blank" class="btn button-sm border-button-theme col-lg-12 col-md-12 col-xs-12 margin-b-10" >{title}</a>', //'page_id' => '', // Pass a page ID if you want to download the PDF for another page ); echo $modules->get('Pages2Pdf')->render($options); nothing happens. It generates always the same PDF see as attached. There is the standart header and footer. Also on the content is the standart code. THE CACHE IS ON 1 neubau-einfamilienhaus-in-burgrieden-pdf-1148 (1).pdf
  4. Guys I'm really desperate. The templates can not be changed, I have no idea why. Not the headers or not the default it always stays the same. It also does not work with Multilanguage. Is nobody there who can help me?
  5. Hello I get this Error if I try to Execute ImportPagesFrom XML Fatal Error: Uncaught TypeError: Argument 2 passed to Pages2Pdf::getPDFFilePath() must be an instance of Language, instance of ProcessWire\Language given, called in /usr/www/users/ulmmsc/2018cms/site/modules/Pages2Pdf/Pages2Pdf.module on line 177 and defined in /usr/www/users/ulmmsc/2018cms/site/modules/Pages2Pdf/Pages2Pdf.module:259 Language Support is installed. Also is Multilanguage Checked in the pages2PDF Module
  6. Hmm Strange get still {"error_type": "OAuthException", "code": 400, "error_message": "Only response type \"code\" and \"token\" is allowed"} OKAY IT WORKS. There was a empty space on the end from URL Thanks a lot
  7. Has nobody the same problem with this module? I think instagram changed the Api or something?
  8. hey together, for few days i have some trouble with this Module I cant find the error. Also Updatet the language as @AndZyk told the post before. Anybody else the same problem ?
  9. Yes I think also, but i have approved me then the company and dont know what facebook need more ? is there some steb by step guide or something else ?
  10. Hello, i have imported locations as seperate variables longtitude and latitude How to use the module with this templatevars ? Can anybody give me an example from scratch ? I have to add the css and js files manuelly ? And the how to call the map ? Thanks
  11. Don't really work for me with the 1 in the cache. I'll try to update mpdf and set php to 7.3 maybe then. EDIT: Ok the latest mpdf have other filestrukture i think i cant replace the folder so easy also i will stay at 6.1 but i cant see my custom template files. Where could the problem be ?
  12. Thanks now it works Which PHP Version schould I use ? I I want the 7.3 I have to take the latest mpdf ?? EDIT: Have stiill problems. If I edit something in the default_templates the Module dont use the new changes ? Something with cache or how can i change this ? Also tried to delete the module folder in the cache but where the module take the basic changes again ?
  13. Can anybody help me with this FB Problem ?
  14. How to replace ? Ive downloaded the latest mpdf but which files i have to replace in the Modules Folder ?
  15. Hello i have some wizzard and the radio group is always empty ? Do i make something wrong ? This is the Formexample <div class='tab-pane' id='type'> <h5 class='info-text'>Welchen Immobilientyp möchten Sie bewerten. </h5> <div class='row'> <div class='col-sm-12 '> <div class='col-sm-3 col-xs-6 '> <div class='choice' data-toggle='wizard-radio'> <input type='radio' name='imoart' value='Ein/Zweifamilienhaus'> <div class='card card-checkboxes card-hover-effect'> <i class='lnr lnr-home'></i> <p> Ein-/ Zweifamilienhaus</p> </div> </div> </div> <div class='col-sm-3 col-xs-6 '> <div class='choice' data-toggle='wizard-radio'> <input type='radio' name='imoart' value='Fertighaus / Fachwerkhaus'> <div class='card card-checkboxes card-hover-effect'> <i class='ti-home'></i> <p>Fertighaus / Fachwerkhaus </p> </div> </div> </div> <div class='col-sm-3 col-xs-6 '> <div class='choice' data-toggle='wizard-radio'> <input type='radio' name='imoart' value='Doppelhaushälfte / Reihenhaus'> <div class='card card-checkboxes card-hover-effect'> <i class='ti-home'></i> <p>Doppelhaushälfte / Reihenhaus </p> </div> </div> </div> <div class='col-sm-3 col-xs-6'> <div class='choice' data-toggle='wizard-radio'> <input type='radio' name='imoart' value='Grundstück'> <div class='card card-checkboxes card-hover-effect'> <i class='ti-package'></i> <p>Grundstück</p> </div> </div> </div> </div> </div> </div> This is my code to get the values $art = $sanitizer->text($input->post->imoart); But its always empty ? What do i wrong ? Thanks
  • Create New...