Jump to content

Moritz Both

Members
  • Content Count

    7
  • Joined

  • Last visited

Community Reputation

2 Neutral

About Moritz Both

  • Rank
    Newbie

Profile Information

  • Gender
    Male
  • Location
    Hannover, Germany

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Greetings, when I give users the user-admin-* permission to administer users who have a certain role, they can indeed see and edit those users. However the filter / column panel does not show in the admin interface. How can I enable the filter functionality for user-admin-* members? ProcessWire 3.0.123 Moritz
  2. Sergio, thanks for your answer. Unfortunately I am not able to connect your input with my problem. It is true that I can establish a "debug" region with markup regions, but what should I display there? The problem is the inclusion of my "_init.php", which defines standard values for all markup regions, as-is, into the output sent to the browser before the actual 404 page. The _init.php contents seems still to be in the output buffer when the correct 404 page markup is added to it. Here is what I see when I look at the page source in my browser (commented, redacted and shortened): [source starts with original contents of my _init.php] <!-- Content for default markup regions available on all pages ==== --> <!-- Page title --> <title id="page_title">Kurs</title> <!-- Styles --> <link pw-replace="page_styles" rel="stylesheet" type="text/css" href="/bmw/site/templates/styles/main.css"> [... more original contents from _init.php follows ... we tune in again right before the end of _init.php ...] <div pw-replace="footerinfo"> <a href="/bmw/datenschutz/">Datenschutz</a> / <a href="/bmw/impressum/">Impressum</a> </div> <!DOCTYPE html> <html lang="de"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=3.0, user-scalable=1"> <meta name="description" content="" /> <title>404 Page | bildungsverein.de</title> <link rel="stylesheet" type="text/css" href="/bmw/site/templates/styles/main.css"> [... bingo, after _init.php the correct page starts....] As you can see, _init.php is sent to the browser unmodified although its contents should never have been sent. After it, the correct 404 page follows. The 404 page is the contents of my _main.php, filled with information from the 404 page template, and using default values from _init.php. Please advise how to debug this. Thank you.
  3. Maybe I haven't understood the question correctly? But I would say, put any code into the template, blank-page.php.
  4. Greetings! For our PW project we use markup regions and, for one template, url segments. The documentation recommends throwing a new Wire404Exception() from the template when the code concludes that the url segments from the request are invalid, and so we do. However, the 404 page is not displayed properly. Viewing the page source in the browser we can see that the original, unmodified markup region contents from our _init.php file is prepended to the correct html output, messing the whole page up. Any advice is greatly appreciated.
×
×
  • Create New...