[ckan-dev] ckan form - help

Stéphane Guidoin stephane at opennorth.ca
Wed Feb 5 17:30:02 UTC 2014


Hi Kristi,

Did you had a look to the idatasetform example :
https://github.com/ckan/ckan/tree/master/ckanext/example_idatasetform

You have there a perfect example to add fields.

Steph


On Wed, Feb 5, 2014 at 11:31 AM, kristi powell <y2kristi at hotmail.com> wrote:

> I've registered...
>
> I'm new to using ckan.  The new dataset form is pretty comprehensive, but
> I need 3 additional fields to be added.  I have read that it is not
> recommended to change the schema of the db tables, so i'm trying to create
> an extension.
>
> For the fields that I needed added I can't seem to change the html file.
>  Am I expected to override the function in my python script and construct
> an entire new html form?  If I create a new html form am I responsible for
> writing the code to update the original ckan schema or just the fields that
> i'm adding.
>
>
>
> Subject: ckan form - help
> From: ckan-dev-owner at lists.okfn.org
> To: y2kristi at hotmail.com
> Date: Wed, 5 Feb 2014 16:10:12 +0000
>
> Only list members can post to the ckan-dev mailing list. Please join
> the list to post.
>
>
>
> --Forwarded Message Attachment--
> From: y2kristi at hotmail.com
> To: ckan-dev at lists.okfn.org
> Subject: ckan form - help
> Date: Wed, 5 Feb 2014 11:10:09 -0500
>
> Hello,
>
> I'm new to using ckan.  The new dataset form is pretty comprehensive, but
> I need 3 additional fields to be added.  I have read that it is not
> recommended to change the schema of the db tables, so i'm trying to create
> an extension.
>
> For the fields that I needed added I can't seem to change the html file.
>  Am I expected to override the function in my python script and construct
> an entire new html form?  If I create a new html form am I responsible for
> writing the code to update the original ckan schema or just the fields that
> i'm adding.
>
> Any help would be greatly appreciated.
>
> Thanks,
>
> Kristi
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20140205/b2ac3319/attachment-0003.html>


More information about the ckan-dev mailing list