Jump to content

iNoize

Members
  • Posts

    165
  • Joined

  • Last visited

Everything posted by iNoize

  1. Hello, i dont know what happendet. But my PW Websites need sometimes 20 - 30 Seconds to load ? I cant find the reason why. If the site is loaded the first time then all seems to be OK. But the first visit is an torture. Example www.krohnluedemann.com Please help. Tnx
  2. Hello, ok so what is the problem ? Ill try to explain it short. 1. Install the Module 2. Create a Field called "seo" with the type of "SeoMaestro" (Screen 1) 3. Edit your Template e.G. basic to add Seo field to the template which you heve created (Screen 2) 4. Put the code in your head from the site. (Screen 3) echo $page->seo->render(); So i hope you can understand:). The other settings you can setup in the seo field under the "Details" tab
  3. Hello, how to set the values to "Inherit defaukt value" via API ? With some tests i have now the Title is empty in the $page->seom->title. e.G. here https://prnt.sc/t2r1vr I have something like this. $seom is my SeoMaestro TV $seiten = $pages->find("template=basic-page, include=hidden"); foreach ($seiten as $p) { $p->of(false); if ($p->seo_title != '') { $p->seom->meta->title = $p->seo_title; }else { $p->seom->meta->title = $p->title; } $pages->save($p); } but it does not work for me. I need to set it to default Value if its possible ?
  4. OK thanks, it means I have to set manually for each document where the images fiels is called immo_images. This Module don't check also for the TV value. Example if images is empty use the next one placeholder from main config
  5. Hello, some of my sites have the Image TV called {images} and some {immo_images} if i try to define the basic value like {images} {immo_images} it doesnt work. for images. For descriprion is no problem but how i can solve this for images in open graph ? Thanks.
  6. Hello, i tried to install this module. (currently MarkupSeo in USE) created a TV called $seom applied to home template and basci page to test. Maybe how to define the meta tags values ? Can i use the current tags from MarkupSeo or for example i want to use the summary as description. in the sitemap i see only one entry with the home template. The basic pages are not shown. Have I to set something specially ? Thanks
  7. iNoize

    PW OnOffice import

    Hello, need some help for an RealEstate project. It have to use the OnOffice to import the objects. https://apidoc.onoffice.de/
  8. 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
  9. @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
  10. @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.
  11. @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
  12. 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?
  13. 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
  14. 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
  15. Has nobody the same problem with this module? I think instagram changed the Api or something?
  16. 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 ?
  17. 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 ?
  18. 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
  19. 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 ?
  20. 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 ?
  21. Can anybody help me with this FB Problem ?
  22. How to replace ? Ive downloaded the latest mpdf but which files i have to replace in the Modules Folder ?
  23. 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
  24. Hello, can anyone sho thw right example ? The one with plain HTML doesnt work. And i really dont understand why ?? Parse Error: syntax error, unexpected '}' (line 26 of /usr/www/xxxxx/site/templates/contact.php)
×
×
  • Create New...