xen:link question


Well-known member
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:


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.