Jump to content

Juergen

Members
  • Posts

    1,421
  • Joined

  • Last visited

  • Days Won

    18

Everything posted by Juergen

  1. 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.
  2. 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.
  3. After updating to PW 3.0.36 a mail body looks like this: Problem is still there
  4. 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
  5. 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.
  6. 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
  7. 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
  8. Hello adrian, I will test it tomorrow and post the result here. Best regards
  9. Thanks @BitPoet changing core files is not what I want. I will send my emails with PHPmailer again. It works really well without problems.
  10. 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
  11. 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.
  12. Yes I also use PW 3.0.35, but its the first time I have tried to use 2 pagetable fields in 1 template. So I am not able to say if it had been working in lower versions.
  13. I dont know if it works if I change the db type in $config->dbEngine . I dont want to crash the site.
  14. Unfortunately I cannot use this module: InnoDB database engine needs to be used
  15. 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?
  16. 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.
  17. Thanks adrian. So for lower PHP versions you have to write: $page->set('siteviews', ($page->siteviews)? 0: + 1); Is this correct?
  18. This gives me an error: unknown ??
  19. As discussed in this thread it would be great to add alternate link text for the add new page links to the AdminPageFieldEditLinks.module. So we are able to add a custom label text.
      • 1
      • Like
  20. Oh yes. It really comes from the AdminPageFieldEditLinks.module. So its time to hook into !
  21. You are right! I dont know where it comes from.
  22. 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.
  23. I know but I have hoped that there is another way. I have a multilingual site and changing the text with JS to every language is not what I prefer.
  24. But I only want to change the text for this type of template (eventpage) not at all for this field. I use the same field in several templates and I want to change the text depending on the content (fe New event category, New price category and so on).
×
×
  • Create New...