-
Posts
82 -
Joined
-
Last visited
Everything posted by hheyne
-
I have found the fix for this. It's easy. Just update ProcessWire to a newer version. https://github.com/processwire/processwire-issues/issues/1143
- 1 reply
-
- 3
-
Hello, am having a question regarding the suppression of errors on the Browser. We are using some API calls from within via AJAX called PHP files. If there's an error occuring the message is visible within the Dev-Tools of Firefox or Chrome. Is there a way to suppress these messages on a production server? It's showing the paths to the called scripts which could be an issue (at least for the auditing teams). The message comes in German but I will try to translate it as good as possible here: Many thanks in advance for any advises
-
-
Hi, I'm wondering if there is an easy way to let it run on mobile devices e.g. iPhone. If I open it, the content in the lightbox won't scroll when I drag the conten within the iframe. The content behind is scrolling. Is it a but in my setup or is this normal behaviour?
-
I think I found a little glitch in the module. I've installed the module within a subdir based pw instance. Then the module won't find the nessecary js and css files. The field shows on the page edit page only a blank value and not that it find's no data. I fixed it - for me - with the following change at line 64 in file site/modules/FieldtypeRockGrid/FieldtypeRockGrid.module.php: After that it seems to work for me. Many thanx for the great module!!!
-
What happens if you exchange the png file with a jpeg file?
-
Is it possible - simple project management with ProcessWire
hheyne replied to awebcreature's topic in General Support
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 -
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; }
-
Is it possible to create an advance eCommerce website?
hheyne replied to Samk80's topic in Getting Started
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.- 29 replies
-
- 2
-
- product configuration
- product filter
-
(and 1 more)
Tagged with:
-
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?
-
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.
-
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.
- 17 replies
-
- jquery
- datatables
-
(and 1 more)
Tagged with:
-
Hi Horst, thank you for the hint. Yes with repeater_slider_repeater it works like a charm.
-
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
-
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.
-
Wiremail problem with charset and german umlauts
hheyne replied to Juergen's topic in General Support
Same problem here. I fixed it by using wiremailsmtp as addon to wiremail. -
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
-
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ۗ}qE 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!
-
Hi Wanze, thank you very much for the lightning fast response. It works with this addition. BR Henning
-
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
-
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.
-
Hello, has anyone here implemented something that gives the users a 2-factor authorization via username, password and SMS? BR Henning
-
Any tips on expoting/importing site content translations?
hheyne replied to cream's topic in Multi-Language Support
I've done something similar a few years ago. Unfortunately I don't have the code anymore. From my vague recollection I've done the export this way: I built an array with all templates which contain translateable fields and the translateable fields. With this informations I built a foreach loop which loops over the the templates and writes the contents of the fields in csv-files. The import was done the same way but only the other directions ;-) The translators could do so the translations of 6 languages and got no access to the backend. I hope I could give you a helpful tip. Edit: I can remind me that we had done this with 6 independent branches without textLanguage fields. If you want to get the values you have to switch the user language for the languages to get the right values. This must also be done in the case you want to import the values. In an other project I had also to import a huge collection of values from 2 languages. If you have further questions don't hesitate ;-) -
I just saw that there will be PW 3.0.19 on the way with $pages->findMany() ... I think this should fix the problem. If I had known about this new feature http://processwire.com/blog/posts/find-and-iterate-many-pages-at-once/
- 17 replies
-
- jquery
- datatables
-
(and 1 more)
Tagged with:
-
@kongondo: Thanks. Great explanation. I'll give it a try and report. Yesterday my mind had gone away :-(
- 17 replies
-
- jquery
- datatables
-
(and 1 more)
Tagged with: