Jump to content

Jochen Fritsch

Members
  • Posts

    19
  • Joined

  • Last visited

Everything posted by Jochen Fritsch

  1. Thanks @BitPoet 🙂 That was the problem. $file->filename uses the whole (system)-path and the attachement gets added to the mail
  2. Hi everyone, I tried a lot, but I don´t know if I´m on the right track. I hope, someone can help. I store orders in pages. Every order has a FileField "invoice_pdf". To prevent public access to the PDF, the page template has a pagefileSecure setting and no viewing rights for guest role. The files are then saved unter /site/assets/files/-XXXX/ -> the - prefix is part of the pagefileSecure setting, I guess. Now I want to send the PDF as mail attachment to my customer. But the PDF->url / PDF->httpURL() contains the path without the - prefix. The mail is sent without attachment. I guess because the real path doesn´t countain a file. Is it possible, to send attachment-files, uploaded to a pagefileSecure field? Thanks a lot for your help!
  3. Thank you @bernhard for your support and patience. Now, everything works fine 🙂
  4. Hi @bernhard thanks for the Support 🙂 One other question... I would like to set a field Default ->setDafaults() by a POST Parameter. When the $form is called with this POST Param the default should by set by this. How can I pass a POST Param to the buildForm() function or use it in there? Currently it is empty, when I pass it from the page and when I use it in the buildForm() function I get an Error. Call to a member function post() on null Sorry, I hope, this no "dumb" question. I`m on my way 😉
  5. Hi @fliwire thanks for this CSS "trick" but that won`t work in my case, because I have to add an additional pseudo-element ::before to the label. So I need a wrapper for the text element. But good hint 👍 Thank you!
  6. Hi @bernhard thanks for your quick reply and your hookField hint. I´ve tried to use this helper in my buildForm() function. But unfortunately I get this error: Call to undefined function RockForms\rockforms() Are there missing dependencies? Have I forgotten something? Thanks a lot!
  7. Hi @bernhard this has styling reasons. The accessibility argument is correct. I have to give the radio:checked + text element a special styling. So, I need a wrapper for the Input + text caption. Is there a way to wrap the caption?
  8. Hi PW Community, for a RockForms nette Form I need a custom Markup for the RadioList Control. addRadioList outputs the control per default as <label><Input type=radio /> Text</label> what I want to achieve: <Input type=radio /><label>Text</label> I can add classes and Separator Markup. But how can I inject a custom Markup? Any ideas?
  9. Hi bernhard, you helped me lot! The update to RockPageBuilder 6.4.0 fixed the problem for the showIf conditions. But I get an error for requiredIf conditions. -> dependency field XXX is not present in this form on page level.
  10. Hi bernhard, I wrote you a PM. I could finnaly locate the problem. Fields in rockpagebuilder_blocks with a showIf or requiredif condition only got saved in Frontend Editing. With an empty showIf / requiredif condition the field values got saved. Has anyone else ever faced this problem?
  11. Hei Bernhard, yes, it´s an "old" project. The problem popped up by a client response. I haven´t had the problem, when I set up the project. I've worked on the project from time to time. But I cant't guess, what the problem could be. Yes, v5.2.0 and ProcessWire 3.0.229 are the current versions. Would an Update fix the issue? The max_input_vars limit is set to 6000. This can not be the problem, I think. Saving regular Fields works fine. Edit: The problem occurs only on certain Field Types. in my case: FieldtypeOptions / InputfieldSelect FieldtypeFile / InputfieldFile Thank you and best wishes
  12. Hi Processwire Community, I got stuck. Changes that I apply to any RockPageBuilder Block only get stored in frontend editing. Changes made in the Processwire Backend get ignored. Even as admin. RockPageBuilder 5.2.0 ProcessWire 3.0.229 Any suggestions for me? I have no further idea. Thanx a lot
  13. Hi Processwire Community, I´m struggling with Cumulative Layout Shift (CLS) problems in Google Core Web Vitals. The PrivacyWire Banner causes Layout-Shifts on Page Load. I´ve tried to solve this by setting inline-styles for .privacywire class. position: fixed; doesn´t solve the problem. Do you have any suggestions to resolve this? Thanks
  14. Hi Joshua,

    first, thanks for the great PrivacyWire Module, you wrote! I use it nearly all of my Processwire projects.

    I´m struggling with Cumulative Layout Shift (CLS) problems in Google Core Web Vitals.
    The PrivacyWire Banner causes Layout-Shifts on Page Load. I´ve tried to solve this by setting inline-styles for .privacywire class.
    position: fixed; doesn´t solve the problem.663273217_Bildschirmfoto2025-02-13um09_43_29.thumb.png.de85cdf461b65ceca33372f92f9709bc.png

    Do you have any suggestions? Have you had this topic before?

    Thanx
    Jochen

  15. Hi Ryan,
    I have a proCache Question. I´m trying out your great module.
    Is it possible to render multiple merged & minified CSS Files in the head?
    I would like to split the large (yet minified) proCache CSS File into two seperate <links>
    Is this possible?
    Thank you!

    Jochen

  16. Hi there, I´m struggeling with the RockFrontend $rockfrontend->styles()->add() order. $rockfrontend->styles() ->add($config->urls->templates . 'css/vendor/bootstrap.min.css') ->add($config->urls->templates . 'css/vendor/slick.css') ->add($config->urls->templates . 'css/vendor/slick-theme.css') ->add($config->urls->templates . 'css/vendor/lightbox.min.css') ->add($config->urls->templates . 'css/vendor/icomoon.css') ->add($config->urls->templates . 'css/vendor/animate.min.css') ->add($config->urls->templates . 'css/main.less') ->minify(true); outputs <link href='/site/templates/bundle/main.min.css?m=1737104643' rel='stylesheet'> <link href='/site/templates/css/vendor/bootstrap.min.css?m=1708339600' rel='stylesheet'><!-- _head.php:7 --> <link href='/site/templates/css/vendor/slick.min.css?m=1737101709' rel='stylesheet'> <link href='/site/templates/css/vendor/slick-theme.min.css?m=1737101709' rel='stylesheet'> <link href='/site/templates/css/vendor/lightbox.min.css?m=1708339600' rel='stylesheet'><!-- _head.php:10 --> <link href='/site/templates/css/vendor/icomoon.min.css?m=1737101709' rel='stylesheet'> <link href='/site/templates/css/vendor/animate.min.css?m=1708339599' rel='stylesheet'><!-- _head.php:12 --> the main.less File is always the first file in the output order. Ist there a Parameter or something where I cand define the order? Thanxs folks!
×
×
  • Create New...