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

Need help with this XML Block.

Discussion in 'Resource and Add-on Discussions' started by Matthew Hawley, May 3, 2013.

  1. Matthew Hawley

    Matthew Hawley Well-Known Member

    So I made this XML Block, and I can't seem to install it on xenporta. I get this:


    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <block block_id="GameTracker" title="[yolulz] GameTracker Block" version_string="1.0.0" version_id="1" url="" install_callback_class="" install_callback_method="" uninstall_callback_class="" uninstall_callback_method="" cache="+1 days">
      <admin_templates/>
      <listeners/>
      <options>
        <option option_id="GameTrackerURL1" edit_format="textbox" data_type="string" display_order="1">
          <option_value></option_value>
          <edit_format_params></edit_format_params>
          <sub_options></sub_options>
          <title>GameTracker URL 1</title>
          <explain>Please enter your GameTracker URL.></explain>
        </option>
        <option option_id="GameTrackerURL2" edit_format="textbox" data_type="string" display_order="2">
          <option_value></option_value>
          <edit_format_params></edit_format_params>
          <sub_options></sub_options>
          <title>GameTracker URL 2</title>
          <explain>Please enter your GameTracker URL.</explain>
        </option>
      </options>
      <phrases>
        <phrase title="yolulz_GameTracker_Title">GameTracker</phrase>
      </phrases>
      <route_prefixes/>
      <templates>
        <template title="yolulz_GameTracker">
     
    <div class="section">
        <div class="secondaryContent">
            <h3>{xen:phrase yolulz_GameTracker}</h3>
            <div>
            <center>
            <a href="http://www.gametracker.com/server_info/{$option.GameTrackerURL1}" target="_blank"><img src="http://cache.www.gametracker.com/server_info/{$option.GameTrackerURL2}/b_160_400_1_ffffff_c5c5c5_ffffff_000000_0_1_0.png" border="0" width="160" height="248" alt="" /></a>
            </center>
            <br />
            <center>
            <a href="http://www.gametracker.com/server_info/{$option.GameTrackerURL1}" target="_blank"><img src="http://cache.www.gametracker.com/server_info/{$option.GameTrackerURL1}/b_160_400_1_ffffff_c5c5c5_ffffff_000000_0_1_0.png" border="0" width="160" height="248" alt="" /></a>
            </center>
            <br />
       
            </div>
        <div>
    </div>
    </template>
    </templates>
    </block>
    
     

Share This Page