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

XF 1.4 Code Varibales

Discussion in 'XenForo Questions and Support' started by VinnyS, Feb 18, 2015.

  1. VinnyS

    VinnyS Active Member

    Not sure if the description Code Variables is the proper? Is there a code like {username} and it inserts the user name, is there a list of these code somewhere?

    Thank You
    Vinny
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    There are different variables for each template so there isn't a master list as such.

    Having said that, $visitor and $user are available in a lot of templates.
     
  3. VinnyS

    VinnyS Active Member

    Hi Brogan
    OK per say is there nothing to guide me out there? I know you are very knowable about XenForo however I know enough to be dangerous lol no lists??

    Vinny
     
  4. Brogan

    Brogan XenForo Moderator Staff Member

    It really depends what you are trying to do.

    Variables are passed to the templates from PHP and each one is different.
     
  5. VinnyS

    VinnyS Active Member

    Hi
    Well lol it depends what codes are out there lollllollol Im not trying to give you a hard time!!
    Vinny
     

Share This Page