How to do this?

Mr. Goodie2Shoes

Well-known member
okay... so I am trying to create something... I have created the route prefixes and stuff... at this moment, it looks like this:
Code:[request code]
and I want something like this:
Code:[request code]
any help? :)

Jake Bunce

XenForo moderator
Staff member
It's a little vague but...

When using link syntax in the templates there are 3 basic forms:

1) A route without any parameters, such as the index route:

{xen:link 'route'}
2) A route with parameters which generates a query string (?...):

{xen:link 'route', '', 'param=value'}
3) A route that takes a record for building the link:

{xen:link 'route', $var}
This kind of link needs a route handler with an appropriate match() and buildLink() function to build and interpret the link. XenForo_Route_Prefix_Forums is an example you can look at. If you don't want a query string in your URL then this is probably the kind of link you want.