hheyne

Members
  • Content count

    76
  • Joined

  • Last visited

Community Reputation

16 Good

About hheyne

  • Rank
    Distinguished Member
  • Birthday 12/08/1971

Contact Methods

  • Website URL
    http://www.redroot.de

Profile Information

  • Gender
    Male
  • Location
    Bad Zwischenahn, Germany

Recent Profile Visitors

3,104 profile views
  1. Hi awebcreature, I'm actually developing 2 projects which are similar to this. In on project it's possible to manage time entries for projects an in the other project the people can manage keys, smartphones, cars, clients, entries for clients, documents which are nessecary for clients. So my advice is that you plan everything on a white sheet of paper and then you can code it with ease in ProcessWire. You can manage the structure of the project with the help of ProcessWire
  2. Hi pppws, you can do this by defining an extra field e.g. URL as textfield. The you can implement a hook which saves the URL of the page into this field. I've done this for one project. This code can be used within the hellword Module. It's very simple. It saves the URL into the field shortname and fullurl when the user saves the page. In my project the field is locked, but you can define it the way you want. I hope this helps. public function init() { // add a hook after the $pages->save, to issue a notice every time a page is saved $this->pages->addHookBefore('save', $this, 'example1'); } public function example1($event) { $page = $event->arguments[0]; if($page->template->name!="presse-post" && $page->template->name!="presse-postev" ) return; $page->shortname = wire( "sanitizer" )->pageName( $page->shortname, Sanitizer::translate ); $page->fullurl = wire( 'pages' )->get( "/presse/" )->httpUrl() . "r/" . $page->shortname; }
  3. As evan mentioned above, ProcessWire lacks support of shop modules. I built 3 Shops with ProcessWire within the last year. The first one with the help of Padloper, the other two (b2b-shops) without Padloper. Take the time to write down evertything about the structure of your producst and then you can start developing your own very flexible solution for your customer. By the way, it's very easy to do complex imports (XML or JSON) and exports of products or orders (PDF - pages2pdf, XML, JSON) for other systems. So there is no need to manage the orders within ProcessWire. The import can be startet manually or via cron by night. But you can do this also... maybe not so shiny as in magento or shopware. In one solution the customer can put everything with an import into the shop and the orders run back via email into the system. The customer nearly never uses the backend.
  4. Hi, I have a problem with the automatic cropping of pictures which are in other orientations. The automatic correction of pw works like a charm and the manual cropping works also fine. But the automatic cropping gives me the other orientation in which the picture was uploaded. Is there any fix for this?
  5. Hello everyone, I have a site which was updated from pw 2.7 to 3.0.x upto 3.0.47. Now we have the problem (which was not initial there after last update) that it's not possible to save most of the pages in backend. If I push the save-button it leads to a white page. I can't see anything within the log-files. Debug mode is on. I have uninstalled most of the modules. Only the basic modules are activ. Is there a way to get more informations why pushing the save-button leads to a white page. Btw if I try to copy a page I get an Popup which says undefined. The same happens when I try to move a page to the trash. A hook was the problem. I used a exit instead of a return.
  6. Hello everyone, I made it. Thank you very much for the detailed informations above. Actually I have a new project with 5.000 or more datasets. I tried the three solutions. Native DT, Ajax DT ans SSPDT. Has anyone some tricks to speed up the generation of the data in SSP. It tooks around 4 Seconds to generate the data (10.000 records). I think it should be faster on the real server which will have 128GB of RAM with SSD. The testserver has only 4GB RAM and SSD on a virtual host.
  7. Hi Horst, thank you for the hint. Yes with repeater_slider_repeater it works like a charm.
  8. Hi horst, thank you very much for explaining this. I tried it but it's the same thing. My repeater-field ist named slider_repeater and the corresponding template is also named slider_repeater. Under it there are subpages which are named home like the pagename of the page which contains the slider field. My line is slider,1280,573,slider_repeater,home_final Only if I write it without any of the to template-names the button will be shown on the page home. It doesn't matter if I use only one of the. Only none of them works ;-) In this project it's not critical. But I think this could be something people are desire for. Best Regards
  9. Hi horst, thank you for your work on this modul. Is there a problem when I use it within a repeater? When I define an image-field like this: slider,1280,480,home_final the slider-croping-button don't appear on the page. If I define it without the template it works.
  10. Same problem here. I fixed it by using wiremailsmtp as addon to wiremail.
  11. Hello, a client of me wants to do most of the work in the backend of ProcessWire. He asked me if there is a more „responsive” way to work with the backend. I think he means the things like edit page, new page, move page (mostly the first two). Has anyone here some hints howto change the behaviour in the backend so that these functions are within a menu or similar constructs? Thanks
  12. I want to let it work with PHP7. I get this error message: Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; mPDF has a deprecated constructor in /site/modules/Pages2Pdf/mpdf/mpdf.php on line 66 Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; grad has a deprecated constructor /site/modules/Pages2Pdf/mpdf/classes/grad.php on line 3 Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; form has a deprecated constructor in /site/modules/Pages2Pdf/mpdf/classes/form.php on line 3 Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; cssmgr has a deprecated constructor in /site/modules/Pages2Pdf/mpdf/classes/cssmgr.php on line 3 %PDF-1.4 % 3 0 obj <> /Contents 4 0 R>> endobj 4 0 obj <> stream xOO0\IhN=bZW$~wi+(\ `'l4cm=@Κ|҃7X(c)qe8嶴~wuxj=ϭ; Gۗ}q؃E k4FX"%7_Y`Id-#US,qڪQ!)$5|LJO(qiuYvr]ǿbnsP\\ Ґb,ߞymAM*{Hv6EÞy{(ŵjV/M x98F&P{y=+^mKi߀&mKU^0}Y֊';#lKO)]Iҍ,<_216=q0 endstream endobj 1 0 obj <> endobj 5 0 obj <> endobj 6 0 obj <> endobj 7 0 obj <> endobj 8 0 obj <> endobj 9 0 obj <> endobj 2 0 obj <> /ExtGState << /GS1 5 0 R >> >> endobj 10 0 obj << /Producer (mPDF 5.7.4) /CreationDate (20160904200643+02'00') /ModDate (20160904200643+02'00') >> endobj 11 0 obj << /Type /Catalog /Pages 1 0 R /OpenAction [3 0 R /XYZ null null 1] /PageLayout /OneColumn >> endobj xref 0 12 0000000000 65535 f 0000000713 00000 n 0000001255 00000 n 0000000015 00000 n 0000000223 00000 n 0000000802 00000 n 0000000863 00000 n 0000000959 00000 n 0000001060 00000 n 0000001158 00000 n 0000001401 00000 n 0000001529 00000 n trailer << /Size 12 /Root 11 0 R /Info 10 0 R /ID [<3df5fdeb256069fc900acdab6c3ab3f0> <3df5fdeb256069fc900acdab6c3ab3f0>] >> startxref 1639 %%EOF Any hints? Thanks!
  13. Hi Wanze, thank you very much for the lightning fast response. It works with this addition. BR Henning
  14. Hello, big thanks for this wonderful modul. I have here a interesting problem. If I save 2 pages with individual templates, the second page always gets the first template. I want to create an invoice and a list of items. Is there something to keep an eye on when doing such stuff? This is my code: $rechnung = new Page(); $rechnung->template = "rechnung"; $rechnung->parent = wire('pages')->get("/rechnungen/"); $rechnung->title = "HG-".$order->id; $rechnung->orderid = $order->id; $rechnung->save(); $rechnung->of(false); $mail->attachment(wire('modules')->get('Pages2Pdf')->getPDFFilePath($rechnung)); $stueckliste = new Page(); $stueckliste->template="stueckliste"; $stueckliste->parent = wire("pages")->get("/stuecklisten/"); $stueckliste->title = "HGSL-".$order->id; $stueckliste->orderid = $order->id; $stueckliste->save(); $stueckliste->of(false); $mail->attachment(wire('modules')->get('Pages2Pdf')->getPDFFilePath($stueckliste)); Both templates are configured for pages2pdf and I have for both of them an template-file underneath pages2pdf. The first one use the template rechnung and the second page also uses the page rechnung. I use the newest version of pages2pdf and processwire 2.7.2 in combination with the actual release of padloper. Has anyone here in the forum an idea howto solve this? Thanks Henning
  15. Hi Teppo, I have the same problem as Joss. I use version 2.7.2 of ProcessWire. When I don't use the modul pw sends mails. If I use swiftmailer from the api it works. But when I try to send a testmail it says 0 receipients and it sends nothing. Any hints? Edit: I tried just Wire Mail SMTP. With that modul everything seems to work as expected. I'm using uberspace.de as hosting provider.