Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

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

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 following user(s) said Thank You: admin

Please Log in or Create an account to join the conversation.

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

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Fixed.
Coding is now a piece of cake

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.095 seconds

The j-cook project is indeed one of the best tools I've run across for building Joomla components and the beta version should make things even better!

dyoungers (Forum)  

Get Started