Hello,
I am currently updating a Drupal 7 site to Backdrop CMS.
In the Drupal 7 site, I retrieved URL parameters in several places using $_GET['parameter']
. For example, in blocks (PHP filter) or PHP code in Views → Contextual Filters (default value / validation criteria). This always worked without any issues.
In Backdrop CMS, with a manually installed PHP filter, I never get a value using $_GET.
For the URL .../test?title=testtitle, the following code:
<?php print_r($_GET['title']); ?>
only returns an empty output.
Does anyone have an idea what the issue could be?
As for the PHP filter module - this may be a separate problem. PHP filter doesn't have a release in BAckdrop and will not have one, and the last merge was done 3 years ago. There are ways to avoid using PHP filter. If you post here about your intended use, someone may be able to help.