Hi Tomas,
On Tue, May 10, 2011 at 3:07 PM, Tomas Cohen Arazi
<tomas...@gmail.com> wrote:
Hi, I need to add some fields to DublinCore plugin. Is there any qubit
reference on how to do it ? Is it symfony stuff? Any links?
I couldn't find in qubit site any hint on how to actually use the framework.
Unfortunately, there aren't any docs describing how to do that, but you can get an idea just reading the existing code. Of course, you'll need some PHP and Symfony background. Please, take into account that sfDcPlugin contents some actions which extend main classes in apps/qubit/modules/informationobject.
You can implement these new fields as database columns or Qubit properties. The last method could be faster and with no big differences. A good example would be "Standard number" from RAD. The next files are directly involved with this field:
plugins/sfRadPlugin/modules/sfRadPlugin/actions/editAction.class.php
plugins/sfRadPlugin/modules/sfRadPlugin/actions/indexAction.class.php
plugins/sfRadPlugin/modules/sfRadPlugin/templates/editSuccess.php
plugins/sfRadPlugin/modules/sfRadPlugin/templates/indexSuccess.php
plugins/sfRadPlugin/lib/sfRadPlugin.class.php
Please, don't hesitate to contact us in case that you need more help.
Regards,
--
Jesús García Crespo,
Software Engineer, Artefactual Systems Inc.
http://www.artefactual.com |
+1.604.527.2056