-
Posts
1,080 -
Joined
-
Last visited
-
Days Won
17
Everything posted by dotnetic
-
@bernhard Did you release Alfred to the public? The gitlab page does not exist anymore and I can´t find it.
-
Please update the download link on the website http://de.processwire.com as it points to an old ProcessWire 2.7 repository.
-
Hi guys I need an estimate for the following task: I developed a job candidate application in ProcessWire and need an extension to a Lister Pro Page. My customer wants to display a summary table of the filtered data like in the attached screenshot. When you filtered the view, that summary should show how many candidates have which status according to the actual filtered view. If you change the filter, the summary table has to be updated also. Who can accomplish this task and what would it cost? I first need an estimate to tell it to my customer. If he says the price is ok I will provide you with FTP Data to a dev server version of that tool. Thank you in advance.
- 1 reply
-
- 1
-
-
Hey guys, hey @baba_mmx I just released a new version of this module on github. I also got a question, as I am planning to take this project under my wing: Should I make a new thread for it and add it to the modules directory? @baba_mmx would that be ok with you? One problem is that if I put it in the ProcessWire Modules directory it does not install it dependencies, as they are installed via composer. How could I handle this? What has been done in the latest release? v0.9.1 made the register form public so you can alter the markup and classes added Foundation classes for the errors and notices. Have to make this configurable added new function showMessage to echo messages and errors login user after successful registration removed automatic redirect enabled autocompletion for the form show either displayName from OAuth or email address after login added the ability to save the last name, first name and gender from OAuth in the user profile. Just add the fields "lastName", "firstName" and "gender" to the user template in ProcessWire
-
urls Access to the website with Processwire in a subfolder
dotnetic replied to Elías Gómez's topic in General Support
You can do that with a .htacces and mod_rewrite. Don´t know exactly what you have to write, but google for "htaccess subfolder as root". Maybe here is a solution: http://stackoverflow.com/questions/990392/htaccess-rewrite-to-redirect-root-url-to-subdirectory -
Been there done that. I proudly present a ProcessWire 3 compatible version with the latest HybridAuth (only tested with Facebook). The code can be found on Github https://github.com/jmartsch/processwire-social-login with installation instructions. Please add your suggestions or create pull requests. The module and its dependencies are installed via composer. Have phun!
-
Module FrontendUser: login, logout and register users / members
dotnetic replied to pwFoo's topic in Modules/Plugins
@mr-fan Thank you. Maybe it is the way to go without the FrontendUser Module. I also saw your post and thought "That could be the solution I want to use, if there is no simple solution with the FrontendUser module". -
Module FrontendUser: login, logout and register users / members
dotnetic replied to pwFoo's topic in Modules/Plugins
@pwFoo Could you give me an example how to do this? I think this could be of help for others too. EDIT: pls note that I do not want to send the username with the form, because it can be manipulated. See my previous post. -
Module FrontendUser: login, logout and register users / members
dotnetic replied to pwFoo's topic in Modules/Plugins
@modifiedcontent Thank you for your suggestion. But relying on JavaScript is not good. I also think that a rewrite is not needed. I don´t want no username. I just don´t want the username in the form because it could be manipulated. The username should be the same as the email address, but sanitized as pageName. -
Module FrontendUser: login, logout and register users / members
dotnetic replied to pwFoo's topic in Modules/Plugins
Hi, I would like to do a register form with email pre-registration validation, but without the username field. Instead the username should be the email sanitzed as a pageName. I have the following code right now: <?php namespace ProcessWire; // prepare register form // Additional email pre-register validation plugin (built-in) $fu->register(array('email', 'emailValidation', 'password')); $fu->form->setMarkup($form_markup); $fu->form->setClasses = ($form_classes); $fu->addHookBefore('FrontendUser::save', function ($event) { $user = wire('fu')->userObj; $form = wire('fu')->form; if (!count($form->getErrors())) { // set the username to sanitized email value // $user->name = $form->fhValue('email', 'pageName'); $user->addRole('editor'); } }); // process register / form submit $fu->process($profile_url); $register_form = $fu->render(); $view->set('registerForm', $register_form); // this is for Twig But when I submit that form I get an error: Call to a member function getErrors() on null in line 94 of FrontendUserRegisterEmailValidation.module I think it is because in the function "hookRegisterFormAfterProcess" there is line 84: $user = $form->get('username'); As I send no username, this can not work. So how can I make it work without touching the FrontendUserRegisterEmailValidation.module? Thanks in advance. -
@mr-fan You are right. I did not knew that Lister Pro came with additional downloadable modules. Found them in the Forum.
-
@adrian Is it possible to hook the "Process Children CSV Export" to a Lister Pro View so that I can export all filtered entries that are actually shown? The process should be something like: Goto Lister Page Filter my results Press "Export as CSV" Button How would I do that?
-
Wiremail problem with charset and german umlauts
dotnetic replied to Juergen's topic in General Support
I do some more testing with different settings and report back. -
Wiremail problem with charset and german umlauts
dotnetic replied to Juergen's topic in General Support
-
@justb3a Is it only possible to retrieve the recentMedia of the sandbox user? EDIT: To clarify: Can I just access images of the access token user or can I get images from every user? I get the images of my own account (which is in sandbox mode) but if I enter something diffent in the field "Username" in the modules settings, I still get the same images and not the images of the other user. I even tried $instagram = $modules->get('InstagramFeed')->getRecentMedia("cocacola"); but still my own images appear. I also tried clearing the cache via the link in the modules setting.
-
Wiremail problem with charset and german umlauts
dotnetic replied to Juergen's topic in General Support
Cool. You´re supercool! -
Wiremail problem with charset and german umlauts
dotnetic replied to Juergen's topic in General Support
@BitPoet Do you have an estimate when you can add the fix for multipart? Because I have attachments and now my email client renders both, the text mail part and the html mail part (see screenshot). Maybe a small donation from me may motivate you to do it quickly? I don´t want to go back to PHPMailer again. -
Wiremail problem with charset and german umlauts
dotnetic replied to Juergen's topic in General Support
@BitPoet I found the solution for long subjects. Please use the function mb_encode_mimeheader for that. So line 435 in WireMail.php should read if (@mail($to, mb_encode_mimeheader($this->subject), $body, $header, $param)) $numSent++; Now the long subject is separated into multiple lines and each one is correctly wrapped with the correct code. -
Wiremail problem with charset and german umlauts
dotnetic replied to Juergen's topic in General Support
@BitPoet I just edited my post. It has to do with the length of the title. Because my title was more than 78 chars. -
Wiremail problem with charset and german umlauts
dotnetic replied to Juergen's topic in General Support
Do you use the WireMail Class from dev Repository with bitpoets fixes? My problem happens only because it is a multipart message and not a plain text message. I added this to my post. -
Wiremail problem with charset and german umlauts
dotnetic replied to Juergen's topic in General Support
@BitPoet´s fix for quoted-printable mails is merged into dev. I updated my WireMail class and tried sending an E-Mail with the new class. Now the HTML Part of the message with umlauts in it displays fine, but the title with german umlauts in it still does not display correct. I tried all sorts of conversions and adding headers to the mail but nothing worked. EDIT: This happens with multipart messages because they have no header like Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable But if I add those headers the rest of the mail is unreadable. How do I get correct umlauts in the title? Edit: I found the solution, attached it to the end of my post. Here is the some of the code I used: $betr = 'öäüß testmail' $mail = new \ProcessWire\WireMail(); // $mail->header('Content-Transfer-Encoding','base64'); // $mail->header('Content-Type', 'multipart/alternative; charset="utf-8"'); // $mail->header('charset', 'utf-8'); $mail->to('info@jensmartsch.de'); $mail->from('info@jensmartsch.de); $mail->fromName("Jens Martsch"); // $mail->subject(("$betr")); $mail->subject ('=?UTF-8?B?' . base64_encode($betr) . '?='); // $mail->subject(base64_encode('$betr')); // $mail->subject = "?utf-8?Q?" . quoted_printable_encode("öäüß The ï, ö, ë, ä, and é work, but when adding the ü it doesn't") . "?="; $mail->bodyHTML(($text)); if (!$mail->send()){ echo 'Fehler'; } This is the E-Mail header that I receive if I am using $mail->subject($betr); To: info@jensmartsch.de Subject: =?utf-8?Q?=C3=B6=C3=A4=C3=BC=C3=9F Bewerbung Berechnungsingenieur / Messtechniker Aut= omotive (m/w)?= X-PHP-Originating-Script: 0:WireMail.php From: =?utf-8?Q?Jens Martsch?= <info@jensmartsch.de> X-Mailer: ProcessWire/WireMail MIME-Version: 1.0 Content-Type: multipart/alternative; What I see as the title in my mail programm is exactly the same as the Subject SOLUTION: It seems that the length of my title was the problem. Now I try to find a solution for this as well. Maybe I just shorten the title. -
@MadeMyDay Haha, in Oelde hab ich sogar mal gearbeitet. Liegt aber n bisschen weitab von deiner Heimat.
-
@MadeMyDay Haha, in Oelde hab ich sogar mal gearbeitet. Liegt aber n bisschen weitab von deiner Heimat.
-
I really love this module and think its features should be in core. So much flexibility. You can customize the backend to your preference.