[RSS Feed/News] Getting part of a URL in a template?

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
I have a custom page which is something like this: http://www.example.com/mysection/test/?cat=mycat&battle=182

I'm trying to set a custom page title inside my node template HTML.

So far I've tried substr which works, but since the battle=182 part is dynamic, it's not ideal.

I would like to use explode or strpos but those aren't available in Xenforo.

How can accomplish this?

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom