Extended data

Extended xml files

In administrator/components/com_joomleague/assets/extended there are all kind of xml files which can be used to extend the data.
You can extend data for:

  • club
  • match
  • person
  • playground
  • project
  • projectreferee
  • projectteam
  • team
  • teamplayer
  • teamstaff

XML Example

Here's an example of person.xml :

person.xml
  <?xml version="1.0" encoding="UTF-8"?>
    <model>
	    <params group="Extended Preferences...">
 
		<param 	name="JL_EXT_PERSON_OCCUPATION" type="text" 
				label="JL_EXT_PERSON_OCCUPATION"
				description="Occupation">
		</param>
 
		<param 	name="JL_EXT_PERSON_PAGER" type="text" 
				label="JL_EXT_PERSON_PAGER"
				description="Pager">
		</param>
 
		<param 	name="JL_EXT_PERSON_FAX" type="text" 
				label="JL_EXT_PERSON_FAX"
				description="Fax">
		</param>
 
		<param 	name="JL_EXT_PERSON_MESSENGER1" type="text" 
				label="JL_EXT_PERSON_MESSENGER1"
				description="Messenger 1">
		</param>
 
		<param 	name="JL_EXT_PERSON_MESSENGER2" type="text" 
				label="JL_EXT_PERSON_MESSENGER2"
				description="Messenger 2">
		</param>
 
		<param 	name="JL_EXT_PERSON_DATE_SINCE" type="calendar"
				label="JL_EXT_PERSON_DATE_SINCE" 
				description="Clubmember since">
		</param>
 
		<param 	name="JL_EXT_PERSON_DATE_UNTIL" type="calendar"
				label="JL_EXT_PERSON_DATE_UNTIL" 
				description="Clubmember until">
		</param>
 
		<param 	name="JL_EXT_PERSON_REASONFORLEAVE" type="textarea" rows="4" cols="50" 
				label="JL_EXT_PERSON_REASONFORLEAVE" 
				description="Reason for leaving Club"
				backendonly="1">
		</param>
 
	  </params>
  </model>

You see, its very easy to extend your data this way.
Where the parameter type is used, you can use all kind of other elements.

Elements

Beside the standard [elements (Parameters)] (http://docs.joomla.org/Standard_parameter_types) , we created extra elements for Joomleague 1.5
You can find them in this folder: administrator/components/com_joomleague/elements

  • club
  • clubs
  • colorpicker
  • event
  • events
  • imageselect
  • multilist
  • nameformat
  • playgrounds
  • project
  • projects
  • team
  • teams

Extended Data XML Editor

And_one created an extension for Joomleague to create/edit/delete the extended data XML file(s) with a GUI, read all about it here:
http://www.joomleague.net/forum/viewtopic.php?f=109&t=13269


In Other Languages
Translations of this page:
QR Code
QR Code faq:extended (generated for current page)