Welcome, Guest
Username: Password: Remember me

TOPIC: [FIXED] Missing addfieldpath in config.xml

Missing addfieldpath in config.xml 10 Sep 2013 15:04 #11049

  • Tomaselli
  • Tomaselli's Avatar
  • Online
  • Elite Member
  • Posts: 293
  • Thank you received: 87
  • Karma: 46
Missing the path to the custom jdom fields in config.xml

file COMPONENT\admin\config.xml:

It is:
	<fieldset name="configuration"
			label="COMPONENT_CONFIG_COMPONENT_CONFIGURATION"
			description="COMPONENT_CONFIG_COMPONENT_CONFIGURATION_1">

it should be:
	<fieldset name="configuration"
			label="COMPONENT_CONFIG_COMPONENT_CONFIGURATION"
			addfieldpath="/administrator/components/com_component/models/fields"
			description="COMPONENT_CONFIG_COMPONENT_CONFIGURATION_1">

otherwise the type="cktext" cannot be loaded.
It still works because joomla by default call the text input type when it doesn't find the type declared, but if you add other JDOM fields, they will not work.
The administrator has disabled public write access.
The following user(s) said Thank You: admin

Missing addfieldpath in config.xml 23 Sep 2013 17:34 #11147

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
Fixed.
Coding is now a piece of cake
The administrator has disabled public write access.
Time to create page: 0.089 seconds

Get Started