SSL Labs ScoreSecurityHeaders.io ScoreHSTS Preloaded

Log in to participate

There is no cost to join RicheyWeb, and membership is a requirement to submit bug reports and participate in the support forums.

× Extension Discussions

subform - other custom field

More
1 year 3 months ago #2256 by tamir72
is it possible to use another 'custom field' (like you custom field 'location' in the subform XML definition?

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

More
1 year 3 months ago #2268 by michael
Yes. If you download the twittercard example subform, it has a custom field in it. It works like any other Joomla JForm XML.

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

More
1 year 3 months ago #2294 by tamir72
I define in my subform XML definition the following:
...
<fieldset addfieldpath="plugins/fields">
...
<field
type="location" <-- You custom field 'location'
name="location"
label="Location"
description="The time between the two points"
/>
</fieldset>

Is this the way to do it? Because I am getting a "text" field and not "location" :-(

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

More
1 year 3 months ago #2296 by michael
I've never tried that. My location field isn't built for that sort of thing. It would need to be rewritten as a field, not as a custom field plugin....I know that sounds funny - but they are very different. Many of the standard Joomla field types are not available as custom field plugins (I've released a few to fill those gaps).

I can try it - but it's not going to be easy to write that code because of the way google maps are initialized.

Were you planning on making the subform repeatable?

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

More
1 year 3 months ago #2304 by BodgeIT
This is where I got confused, I was expecting to be able to pull in other "Custom Fields", not make my own custom fields.

Is this a feature that could be added? It make make this plugin immensely powerful.

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

More
1 year 3 months ago #2305 by michael
That would be cool. Technically complex thought.

I'll look into it

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

  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to edit your message.
Powered by Kunena Forum