• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

xen:link question

Arty

Well-known member
#1
I want to add button to account upgrades page, link should start with account/upgrades/, followed by account upgrade id and name, then function. Like this:

account/upgrades/test.1/whatever

How can it be done with xen:link command?

Upgrade row is in variable $upgrade, id is $upgrade['user_upgrade_id'], title is in $upgrade['title'] and it should be shortened to convert to URL, similar to how XF deals with forum URLs.