This is the next question How do I get the URL in the body of a PHP page? .
Purpose: The site content editor needs to show dynamic content based on the URL parameter, i.e.
URL:
http:
On the node page:
<?php if (isset($_GET['Name'])) { ?>
<?php print "Dear " . $_GET['Name'] . ","; ?>
<?php } else { ?>
Hello,
<?php } ?>
blah blah blah ...
You can submit the URL from the link inside the EDM post. Both the EDM message and the page content are supported by the same content editor.
So what is the Drupal way to archive this?
source
share