Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to read field from XML config file
#1
Hi,

I want to create a component for sidebar to list categories, that I've created in i18n Special Pages, and I would like to read it from one location, because number of categories can change in future so I want to maintain it in one place. Is it possible to read this information with some function already present in GS ? In XML, it's like this:

Code:
<item>
      <name><![CDATA[main_cat]]></name>
      <label><![CDATA[Category]]></label>
      <type><![CDATA[dropdown]]></type>
      <option><![CDATA[not set]]></option>
      <option><![CDATA[Model]]></option>
      <option><![CDATA[Engine]]></option>
      <option><![CDATA[Wheels]]></option>
    </item>

Thank you for any suggestions
Reply


Messages In This Thread
How to read field from XML config file - by morvy - 2015-03-10, 22:34:21



Users browsing this thread: 1 Guest(s)