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

Option text in templates

Discussion in 'XenForo Development Discussions' started by Matthew Hawley, Jun 18, 2013.

  1. Matthew Hawley

    Matthew Hawley Well-Known Member

    So I'm creating an addon.


    This is part of the code in the template:

    <a href="http://www.gametracker.com/server_info/{$option.gameTrackerViewerIPAddress1}" target="_blank"><img src="http://cache.www.gametracker.com/server_info/{$option.gameTrackerViewerIPAddress1}/b_160_400_1_ffffff_c5c5c5_ffffff_000000_0_1_0.png" border="0" width="{$option.gameTrackerViewerWidth}" height="{$option.gameTrackerViewerHeight}" alt="" /></a>
    So {$option.gameTrackerViewerIPAddress1} is where the ip address in the image above would be. I'm not sure if this is the correct format, if it isn't please tell me, because I can't get it to work.

    EDIT: nvm got it to work.
    Last edited: Jun 18, 2013
  2. Nobita.Kun

    Nobita.Kun Well-Known Member

  3. Matthew Hawley

    Matthew Hawley Well-Known Member

Share This Page