Custom field types in Joomla 2.5

558 views
Skip to first unread message

Liam

unread,
May 21, 2012, 7:23:09 AM5/21/12
to Joomla! General Development
Hello,

I am having a problem using custom fields types.

I know its me but can't seem to find much about this using google or
joomla docs. I found the joomla documentation for adding the custom
type but it fails for me.

The form starts to load and then fails at my custom field type, so
part of the page is rendered but nothing more once it gets to my
custom form type, page source is pretty empty apart from a few fields.

I am using wamp for development machine and I wondering if that could
be causing an issue.

The form works fine I can load, fill out and save no issues. All
validations work as normal. The only issue I am having is the custom
field type.

I am not sure where to add the JForm::addFieldPath(JPATH_COMPONENT .
DS . 'models' . DS . 'fields'); so added this to tmpl for now. I used
the help guide to build up my custom field type so I know its correct
and I am just getting it to return a simple text box for now to make
it less complex while testing.

I just can't get it to work, anything I need to know when using custom
field types in 2.5?

Liam

unread,
May 21, 2012, 7:34:34 AM5/21/12
to Joomla! General Development
Ok Ignore me I add a character in the wrong place and all is working
as it should. I always double check these things normally before
asking for help, I must of missed it.

Sorry for the hassle.

Ishola Ogunseye

unread,
May 21, 2012, 11:41:19 AM5/21/12
to joomla-de...@googlegroups.com
Guys,

I am new to Joomla. Can you help me with resources on the template , module or plugins development.

Thanks in advance.

Matt Thomas

unread,
May 22, 2012, 12:57:28 PM5/22/12
to joomla-de...@googlegroups.com
Your best bet would be to start at http://docs.joomla.org/, specifically http://docs.joomla.org/Developers, and explore the forums at http://forum.joomla.org/

Best,

Matt Thomas
Founder betweenbrain
Phone: 203.632.9322
Twitter: @betweenbrain





--
You received this message because you are subscribed to the Google Groups "Joomla! General Development" group.
To post to this group, send an email to joomla-de...@googlegroups.com.
To unsubscribe from this group, send email to joomla-dev-gene...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/joomla-dev-general?hl=en-GB.

Reply all
Reply to author
Forward
0 new messages