Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 46324

Use it for questions about rendering or modifying the HTML markup produced by a module/theme.

1 vote
1 answer
46 views

What's the best way to create variables that are available to every single URL on my site, b...

On Drupal site A we have a bunch of links to non-Drupal site B. For marketing and tracking purposes all these links have a different URL variable appended to them, so that when a user registers on sit …
Matt Morrison's user avatar
0 votes
Accepted

What's the best way to create variables that are available to every single URL on my site, b...

I've found a very satisfactory solution using function matchtheme_preprocess(&$variables, $hook) which will always supply variables to page and node templates. The more complicated bit was finding an …
Matt Morrison's user avatar