BFD Calendar Posted July 1, 2018 Share Posted July 1, 2018 When visiting a page (for instance https://www.birthfactdeathcalendar.net/events/2-july-1964/) in Safari it shows a textarea field twice. It doesn't in Firefox or Chrome. On this page the text of my textarea field 'bfd_text_after' is "performs 'Materialaktion nr. 10 / Das Stillleben / Aufführung mit Pferdekopf'". The code is if(trim($page->bfd_case->title)=='(x)') { echo $sanitizer->textarea($page->bfd_text_after, $options = array('allowableTags' => '<a>, <strong>, <em>')) . " "; }; There's only one 'bfd_text_after' in my template. And same happens with another textarea field as well. ProcessWire 3.0.62 - PHP Version 7.0.30 Link to comment Share on other sites More sharing options...
adrian Posted July 1, 2018 Share Posted July 1, 2018 I only see one occurrence of that text: I'm not really sure how this could be browser related because the output is all generated server-side. Just an FYI that you have a couple of JS errors showing up in the browser dev console. Link to comment Share on other sites More sharing options...
BFD Calendar Posted July 1, 2018 Author Share Posted July 1, 2018 This is how it shows in Safari (version 11.1.1 on MacOS 10.11.6) here.... Thanks for pointing out JS errors Link to comment Share on other sites More sharing options...
Robin S Posted July 1, 2018 Share Posted July 1, 2018 Maybe you are logged into admin in Safari and not the other browsers? In which case the issue probably relates to something that is accessible to a logged in user (or superuser) but not to guest. 2 Link to comment Share on other sites More sharing options...
BFD Calendar Posted July 2, 2018 Author Share Posted July 2, 2018 (edited) Yep, that's it. When I log out in Safari the page looks like it should. And the error appears in Chrome when I'm logged in as Superuser as well. (edit) Maybe because 'bfd_text_after' is a front-edit editable field? Edited July 2, 2018 by BFD Calendar Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now