-
Posts
80 -
Joined
-
Last visited
Everything posted by herr rilke
-
hi there, block setting is a fantatstic feature! i'd like to use it to assign severeal additional classes and therefore use several checkboxes in a row. output should be something like: margins: [ ] top [ ] bottom [ ] left a.s.o i tried something like this ( but that doesn't work): $settings->add([ 'name' => 'margin-checkbox', 'label' => 'Marging', 'value' => $field->input('margin-checkbox', 'checkbox', [ '*foo' => 'foo value', 'bar' => 'bar value', 'baz' => 'baz value', ]), ]); is there a way to do that?
-
RockPageBuilder: strange WYSIWYG editor behavior
herr rilke replied to herr rilke's topic in Modules/Plugins
hello and thank you both for your ideas, the easiest first: browsers are not scaled. what i can see in the devtools is that for the h1 tag in the editor <div class="tox-collection__item-label"> <h1 style="font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; font-size: 32px; font-weight: bold; font-style: normal; text-decoration: none solid rgb(34, 34, 34); text-transform: none; color: rgb(34, 34, 34); background-color: rgba(0, 0, 0, 0); padding: 0px 2px; border: 0px none rgb(34, 34, 34); border-radius: 0px; outline: rgb(34, 34, 34) none 0px; text-shadow: none;"> Überschrift 1 </h1> </div> this css makes a difference: skin.min.css:1 @media only screen and (min-width: 768px) { .tox .tox-menu .tox-collection__item-label { overflow-wrap: break-word; word-break: normal; } } scaling the viewport to < 768px or deactivating overflow-wrap: break-word; shows at least the <h1> tag as i would expect it to. -
hey, im trying to set up a page using RockPageBuilder 5.4.4 on ProcessWire 3.0.239 in textedit fields i get a not so good places iconbar for editing text, that doesn't blend out, when not needing it: in firefox i get in a select the following problem: any hints for that?
-
using markup regions prints content of template as text
herr rilke replied to herr rilke's topic in General Support
?that was too easy ? thanks, i was blind ? -
using markup regions prints content of template as text
herr rilke posted a topic in General Support
hi there, when useing markup regions, having config.php $config->useMarkupRegions = true; and in _main.php <div pw-replace="wegdamit"> <p>Text to replace</p> </div> and in template-file.php <?php ... ?> <div id="wegdamit"> <p>Hello World</p> </div> the output is the printed source code of _main.php as first on the page: /** * _main.php * Main markup file * * This file contains all the main markup for the site and outputs the regions * defined in the initialization (_init.php) file. These regions include: * * $title: The page title/headline * $content: The markup that appears in the main content/body copy column * what am i doing wrong? ProcessWire is 3.0.224 -
hello juergen, thanks for your quick reply! but with $form->setSubmitWithAjax(false); // can be true or false i get a server error 500 just while trying to open the page. oh, wait, updated FrontendForms 2.1.46 => 2.1.55 now i can call the page. on submit i get a success-message (instead of displaying the form again) on the home domain. but no change on the iframe domain. and if i try to watch the developer tool's network tab, it looks as if there is a XHR request followed by a reload of the page. is there a way to be sure to quit ajax calls? can i set a page to redirect to after form submission? btw: i had this setup before (calling a form from another domain managed by another CMS, which worked nicely) that's why i wonder if your module could handle things differently than the software before. all the best karsten
-
hi juergen, is there an iframe-restriction on submitting a form? i have a form that is included in an iframe on another domain. but what works perfect on the main web does not work on the iframe domain. instead of getting the (ajax) success-message i just return to the form. and the form is empty again. any ideas about that? best regards!
-
wonderful! any selection is possible without errors! thank you, tcnet!
-
✅ yes, database is mysql 8
-
hi there i get a 500 server error when trying to switch to any other view ("Days of Month", "Last 30 Days" ...) than the initially displayed one. found an entry in exceptions: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'DESC LIMIT 1' at line 1 In /site/modules/ProcessPageViewStat/ProcessPageViewStat.module line 1693 any idea?
-
OT: That is one main point that attracted me. I've been working with Contao for years, but it's complicated in another dimension and very error-prone in setup and update when dealing with different customer environments. It consumes hours of my time in places I can't foresee. (but has a built in form builder ?)
-
ok, good to know! thanks for sharing! there are approximatley 100 documents and > 200 users. so i think i'm heading to the SQL solution.
-
wunderful! thanks for the hint! that does the job exactly as otherwise done with SQL
-
hello jürgen, thanks a lot for your work! while getting 5 spam mails during the first 12 hours of having my form online (even using honey pot option) i decided to enable a captcha. but that doesn't show! PHP 8.1.22 processwire 3.0.224 frontendforms 3.1.45 phpinfo(): GD Support enabled GD headers Version 2.3.0 GD library Version 2.3.0 FreeType Support enabled FreeType Linkage with freetype GIF Read Support enabled GIF Create Support enabled JPEG Support enabled PNG Support enabled WBMP Support enabled XPM Support enabled XBM Support enabled WebP Support enabled BMP Support enabled TGA Read Support enabled Directive Local Value Master Value gd.jpeg_ignore_warning 1 1 the HTML output is: <div class="form-control captcha" id="contact-captcha-inputwrapper"> <div class="image-wrapper"> <img class="captcha" alt="Captcha" src="/captchaimage.php?formID=contact&cat=text&type=SimpleMathTextCaptcha" id="contact-captcha-image"></div> <div class="reload-link-wrapper"> <a class="reload" href="#" title="Click to load a new captcha" id="contact-reload-link" onclick="reloadCaptcha('contact-captcha-image', event)">Reload image</a> </div><input id="contact-captcha" name="contact-captcha" type="text" class="input" required=""> </div> any idea? edit: an error 500 is reported for captchaimage.php
-
thank you, bernhard, that was very enlightening! I think the third approach (with an own table) is the most suitable for me. i also understood better how i can implement such an approach.
-
Hello all, I am thinking about the following requirement: there are documents (pages) and users. the user should now be able to mark a document as "read" by pressing a button. when he then calls up the document again, he finds a "read" marking - so he knows that he has done everything here. do i now create a new subpage via API, which only has the fields "pageID" and "userID" for that? and would that be an extra query on each page load to see if the combination of userID and pageID already exists to display a marker?