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

xen:link question

Discussion in 'XenForo Development Discussions' started by Arty, Jun 13, 2012.

  1. Arty

    Arty 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.
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

  3. Arty

    Arty Well-Known Member

    Thank you. Problem solved.

Share This Page