I asked a similar question a few months ago.
You can see this thread:
http://groups.google.com/group/qubit-dev/browse_frm/thread/e145ed29aba43c39/55444de7ba4d33b0?lnk=gst&q=new+taxonomy#55444de7ba4d33b0
That could help you.
Regards,
Hernán Carvajal
2011/3/31 wu....@usask.ca <wu....@usask.ca>:
> --
> You received this message because you are subscribed to the Google Groups "Qubit Toolkit Developers" group.
> To post to this group, send email to qubi...@googlegroups.com.
> To unsubscribe from this group, send email to qubit-dev+...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/qubit-dev?hl=en.
>
>
--
Hernán Carvajal Briceño.
hernan.h...@gmail.com
Thanks for replying me question. The link you provided doent really
help me, and did you solve the problem yet?
Yes, indeed, I've solved the problem with the advice that Jesús gave
me in that thread.
There are several ways to make the job. Are you planning to do this
from scratch? Or do you have an ICA-Atom system that is already in
production?
The fact is that you will need to modify some files, it depends on the
starting point you choose or you need to.
May be I can help you. Tell me what is your situation in this case.
Regards,
Hernán
2011/3/31 wu....@usask.ca <wu....@usask.ca>:
> For more options, visit this group at http://groups.google.com/group/qubit-dev?hl=en.
>
>
--
Hernán Carvajal Briceño.
hernan.h...@gmail.com
-- David Juhasz, Software Engineer Artefactual Systems Inc. www.artefactual.com
Can someone please post these somewhere to the wiki for future reference and
maybe think about a Mediawiki category tag to use for stuff like 'developer
tutorials/'how tos' (e.g. that would include 'how to create a Qubit theme' etc).
Cheers, --peter
Peter Van Garderen
President/Systems Archivist
Artefactual Systems Inc.
--
email: pe...@artefactual.com
web: http://artefactual.com
phone: (+1) 604.527.2056
--
On 04/01/2011 08:38 PM, David Juhasz wrote:
> Hi Wu,
>
> To add a new taxonomy to Qubit, you need to add it in a few places to make sure
> it is available to *everyone* that installs Qubit - otherwise they will get an
> error when the taxonomy is required.
>
> 1) The first place you should add the taxonomy is
> http://code.google.com/p/qubit-toolkit/source/browse/trunk/lib/model/QubitTaxonomy.php
>
> You should add it right after "ISDF_RELATION_TYPE_ID" (line 55) and increment
> the constant id by one to "62". This allows the developer to easily grab terms
> in the new taxonomy.
>
> 2) The next place to add the taxonomy is in
> http://code.google.com/p/qubit-toolkit/source/browse/trunk/data/fixtures/taxonomyTerms.yml
>
> This will create the taxonomy for *new* installs of Qubit (and ICA-AtoM Release
> 1.2).
>
> Add the taxonomy right before the "QubitTerm" (line 330) fixtures. If you are
> unfamiliar with YAML then the Wikipedia YAML article
> <http://en.wikipedia.org/wiki/YAML> is a good introduction. You can copy and
> paste the "QubitTaxonomy_isdf_relation_type" YAML fixture then modify for
> "Geographic region".
>
>
> 3) The last place to add the taxonomy is in
> http://code.google.com/p/qubit-toolkit/source/browse/trunk/lib/task/migrate/QubitMigrate110.class.php
>
> This adds the taxonomy when someone upgrades
> <http://www.qubit-toolkit.org/wiki/index.php?title=Upgrading> from a previous
> version of ICA-AtoM. Maybe Jesús can help you with adding the proper migration code.
>
>
> Regards,
> David
>
> --
> David Juhasz,
> Software Engineer
>
> Artefactual Systems Inc.
> www.artefactual.com
>
David