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.078 seconds

Although I found this tool some time ago I just started learning experimenting and building this first component on Monday and now on Thursday afternoon it's already online. Although I already had a working version done with another tool this is much easier to build and at the end you have the freedom to own your own component. Once you know how to use Cook you will boost your productivity as the learning curve is really moderate compared to many other tools.
Giori (Forum)

Get Started