Jump to content

iNoize

Members
  • Content Count

    156
  • Joined

  • Last visited

Community Reputation

34 Excellent

About iNoize

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

Contact Methods

  • Website URL
    http://www.creativ3minds.de
  • Skype
    creativ.minds

Profile Information

  • Gender
    Male
  • Location
    Germany

Recent Profile Visitors

4,954 profile views
  1. Hello, have somebody solved it now ? The Problem i found out is with the png . Tried it with jpg it works. How to handle it with PNG Files ? Updated the mpdf to 6.1
  2. @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
  3. @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.
  4. @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
  5. 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?
  6. 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
  7. 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
  8. Has nobody the same problem with this module? I think instagram changed the Api or something?
  9. 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 ?
  10. 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 ?
  11. 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
  12. 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 ?
  13. 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 ?
  14. Can anybody help me with this FB Problem ?
  15. How to replace ? Ive downloaded the latest mpdf but which files i have to replace in the Modules Folder ?
×
×
  • Create New...