Forums / Install & configuration / Matrix Data Type (help needed)

Matrix Data Type (help needed)

Author Message

Jorge estévez

Sunday 01 August 2004 8:56:55 pm

I wanted to modify the Company and person class...

I started to look at the class and found that when the matrix data type is used and the Id takes the name of "company_address" or "contact_information" then the user is asked for "Postal address / Visitor Address" or "phone / fax / email etc."

Please tell me wich are the ID available to the different options that can be used and how to add new options to the matrix ID...

Tell me where can I find more information about the Matrix DataType...

thanks, joe

Diseño Web Cuba
Web Design Cuba
www.elfosdesign.com

Francisca Hernández

Monday 02 August 2004 4:00:02 pm

hello Joe,

The options for "company_address" and "contact_information" are defined in content.ini

[MatrixComponentSettings]
CompanyAddress[]
CompanyAddress[]=Postal Address
CompanyAddress[]=Visitor Address

PersonContactInfo[]
PersonContactInfo[]=Phone
PersonContactInfo[]=Fax
PersonContactInfo[]=Email
PersonContactInfo[]=Homepage
PersonContactInfo[]=IM address

CompanyContactInfo[]
CompanyContactInfo[]=Phone
CompanyContactInfo[]=Fax
CompanyContactInfo[]=Email
CompanyContactInfo[]=Homepage

You have to create an override file for content.ini in settings/override/content.ini.append.php
or in settings/siteaccess/admin/content.ini.append with additional data.

thanks, fran

Iguana IT, SL - http://www.iguanait.com

Jorge estévez

Tuesday 03 August 2004 4:42:17 am

thanks, Ill give it a try....

But how do I triger to activate each block of options

eg. company_address" "contact_information

Wen adding the ID to one of the examples above then the:

CompanyAddress[]=Postal Address
CompanyAddress[]=Visitor Address

or

PersonContactInfo[]=Phone
PersonContactInfo[]=Fax
PersonContactInfo[]=Email
PersonContactInfo[]=Homepage
PersonContactInfo[]=IM address

activates itself

How do I achieve this (how do I relate the ID with each block of options

thanks
joe

Diseño Web Cuba
Web Design Cuba
www.elfosdesign.com