first time posting! I'll try to be as clear as possible.
I have a Drupal 6 website and am using a custom template file to render some pages differently than the rest of the website.
This is what the code I'm working with looks like:
<?php print $header; ?>
<?php if ($title): ?><h1><?php print $title; ?></h1><?php endif; ?>
<?php print $content ?>
The page renders correctly when the URL looks like this: http://example.com/somepage/?format=kiosk
Except any link that is rendered in the page will go to: http://example.com/otherpage/
What I need dynamically appended to the end of any URL is:
?format=kiosk
Is there a to process these links using PHP or JavaScript, without resorting to .htaccess (though that's an option), to add that bit to the URL?
I suppose this could also be handy for other things, like Google Analytics.
Thanks!
Jon