A default.xml with parameters (joomla1.5)

This xml file uses parameters, which can be populated in backend.

<?xml version=”1.0″ encoding=”utf-8″?>

<metadata>

<layout title=”contactus Layout”>

<message>

<![CDATA[contactus Layout]]>

</message>

</layout>

<state>

<name>contactus Layout</name>

<description>contactus Layout</description>

<params>

<param type=”text” name=”name” size=”100″ label=”Company Name:” description=”Enter Company Name” />

<param type=”textarea” name=”address”  label=”Company Address:” description=”Enter Company Name” />

<param type=”text” name=”phone” size=”100″ label=”Company phone:” description=”Enter Company Phone Number” />

<param type=”text” name=”Longitute” size=”100″ label=”location longitute:” description=”Enter Company Location” />

<param type=”text” name=”Latitute” size=”100″ label=”location latitute:” description=”Enter Company location” />

 

 

</params>

</state>

</metadata>

 

more info in :- http://docs.joomla.org/Component_parameters

 

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s