-
Posts
1,421 -
Joined
-
Last visited
-
Days Won
18
Everything posted by Juergen
-
Wiremail problem with charset and german umlauts
Juergen replied to Juergen's topic in General Support
It is office outlook , but unfortunately I am not able to view the sourcecode (its maybe not a HTML, but I have sent it as HTML-Mail). Show source code is disabled in this case. At the emails which were sent with PHPMailer I can view the the source. -
Wiremail problem with charset and german umlauts
Juergen replied to Juergen's topic in General Support
Email code: $mailhtmlbody .= '<html><body><p><b>' . _t('Subject', 'Form') . ':</b> ' . $subjectcontactform . '</p><p><b>' . _t('Appointment for following events', 'Events') . ':</b></p><ul>' . $eventlisting . '</ul><p><b>' . ($furtherpersoncount + 1) . ' ' . $furtherpersonpost . '</b></p><ul><li>' . $firstname . ' ' . $lastname . ' (' . _t('Person who has registered for this event', 'Events') . ')</li>' . $allpersons . '</ul>' . $message . '<p><b>' . $senderinfo . '</b><br />' . $gendername . ' ' . $firstname . ' ' . $lastname . '</p><p><b>' . _t('Contact information', 'Form') . '</b><br />' . $user->fields->get('email')->$label . ': ' . $rfemail . '<br />' . _t('Phone/Mobile', 'Form') . ': ' . $phone . '<br /><br />IP: ' . $userip . '<br />' . _t('Date/time', 'Generic') . ': ' . $sendingtime . '</p></body></html>'; $mail = new wireMail(); $mail->to($pages->get("template=imprint")->mail)->from($rfemail); // all calls can be chained $mail->subject($subjectcontactform); $mail->bodyHTML($mailhtmlbody); $mail->send(); The email will be sent from my standard provider, where I host all my websites. -
Wiremail problem with charset and german umlauts
Juergen replied to Juergen's topic in General Support
-
Hello @Soma, only to mention: your slider field doesnt work in repeater items (tested with PW 3.0.35) but outside a repeater it works well!! Best regards
-
Repeater items and Pagefield label setting not working
Juergen replied to Juergen's topic in General Support
Thanks @LostKobrakai but I have edited the first entry, it works now as expected. Maybe it will grab the first value of the repeater and this is in my case the title. -
Hello @ all, I want to change the label of a repeater item to the title value of the selected pagefield. My pagefield is called "eventpricevariation". I have tried {eventpricevariation}, {eventpricevariation->title}, {eventpricevariation->value} but I cannot get it to work. Could someone told me the right syntax if it is possible? Best regards I dont know why but the syntax {eventpricevariation} works now - everything is ok
-
Wiremail problem with charset and german umlauts
Juergen replied to Juergen's topic in General Support
Here is what I get after the changings from BitPoet: As you can see the subject line at the top works well, but in the body area the German special characters will be replaced by letters and equal signs (for example "ü" will be replaced by "=C3=BC". Also the content type, the charset and the content-transfer-encoding information will be displayed in the content area. Best regards -
Wiremail problem with charset and german umlauts
Juergen replied to Juergen's topic in General Support
Hello adrian, I will test it tomorrow and post the result here. Best regards -
Wiremail problem with charset and german umlauts
Juergen replied to Juergen's topic in General Support
Thanks @BitPoet changing core files is not what I want. I will send my emails with PHPmailer again. It works really well without problems. -
Hello @ all, today I have tried the PW wiremail function to send emails. Til now I have used phpmailer for all my emails without problems. Wiremail works and is sending emails but I have problems with German special characters (ü,ä,ö,...) and in the email body appears the content type and charset information. The code that I use to send the mail: $mail = new wireMail(); $mail->to($pages->get("template=imprint")->mail)->from($rfemail); // all calls can be chained $mail->subject($subjectcontactform); $mail->bodyHTML($mailhtmlbody); $mail->send(); This is the default code from Ryan for sending emails. Does someone has an idea what the cause could be for this behavior? Best regards
-
How can I specify default value for certain input field?
Juergen replied to PawelGIX's topic in General Support
If you need a default (pre-filled) value for a field you can also use a hook to populate this field before the page is rendered. -
Hello @ all, I have included 2 pagetable fields in a template. The first is for the child pages (events), the other one should render pages from another parent page (prices). As you can see "eventpriceitem" template is selected as the template for the pagetable field. Below I have choosen the page "Event prices" as parent. The pagetable field renders also children items too. All the items with the blank value are children (events) of the page and not part of the price page. I dont know why the page table field renders also items which are not part of the parent (Event prices), because I have choosen this page as parent. Is it possible that 2 pagetable fields are not allowed?
-
Hello @ all, I have a general translation file with over 500 phrases. I want to change the file location to a subfolder (for better structuring). What is the best way to accomplish that without re-translating all the phrases again. For the moment I have copied all the files to the new translation file and I have changed the file path at the beginning of the json file, but this doesnt work.
-
Thanks adrian. So for lower PHP versions you have to write: $page->set('siteviews', ($page->siteviews)? 0: + 1); Is this correct?
-
This gives me an error: unknown ??
-
You are right. I use the InputfieldChosenSelect.module but it is used inside the fieldtype Page to render multiple selects. It doesnt matter if I use InputfieldChosenSelect, PageListSelect or another possibility of this fieldtype - the link text is always the same. Here is a sceenshot of another option of this fieldtype: This link is not part of AdminPageFieldEditLinks it is part of the fieldtype Page where you can choose if a link to create new pages should be visible or not.