Can I pass a variable to my Links SQL home page template (home.html) via the URL? Eg, if someone goes to www.mysite.com?name=fred, I want my home page to display Hello Fred.
I've tried setting a global called name which does sub {return param('name')}, and then referring to a <%name%> within my template, but I get a compile error when trying to do a full build.
Anyone know how to do this? I've had a request to customise my site via this method and would like to get it working.
Rob
I've tried setting a global called name which does sub {return param('name')}, and then referring to a <%name%> within my template, but I get a compile error when trying to do a full build.
Anyone know how to do this? I've had a request to customise my site via this method and would like to get it working.
Rob