FloV Well-known member Dec 3, 2019 #1 Hi there, is it possible to use the $_GET variable in templates? I would like to pass some stuff via links to another page inside XF. Hope thats possible. Thanks a lot in advance Florian
Hi there, is it possible to use the $_GET variable in templates? I would like to pass some stuff via links to another page inside XF. Hope thats possible. Thanks a lot in advance Florian
K Kirby Well-known member Dec 3, 2019 #2 Getting just $_GET is tricky, however if you don't mind if param is from $_POST or $_GET: $xf.request.get('param') Keep in mind that this is sanitized (in case you need the raw value) Upvote 0 Downvote
Getting just $_GET is tricky, however if you don't mind if param is from $_POST or $_GET: $xf.request.get('param') Keep in mind that this is sanitized (in case you need the raw value)