add field category in table g2_Item
webdemoiselle
Joined: 2008-03-11
Posts: 5 |
Posted: Tue, 2008-03-11 08:44 |
Dear, which file has to be modified to save also the category value in the table g2_Item? Thx for helping. |
|
Posts: 32509
several files, it's not that simple because of some levels of abstraction.
why not create a new Map table which associates each itemId with your category value?
or why not use the Custom-field module for this?
--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage
Posts: 5
Thanks for the solutions!
And which file is used to upload the photo and put in the database?
Is probably the most easy solution, but as category is provided in the metadata, I prefer to use this field.
Posts: 5
I tried to install the module, but I get the following error:
Error Detail -
Error (ERROR_PERMISSION_DENIED)
* in modules/core/classes/GalleryView.class at line 168 (gallerycoreapi::error)
* in modules/core/SiteAdmin.inc at line 196 (galleryview::loadview)
* in modules/core/classes/GalleryView.class at line 300 (siteadminview::loadtemplate)
* in main.php at line 445 (siteadminview::doloadtemplate)
* in main.php at line 94
* in main.php at line 83
* in main.php at line 3
Does this module creates extra fields in the database?
Posts: 5
I also see I can't choose any theme. I don't see the activation tab under plugins, I have a blank page.
Is there a failure in my installation of Gallery?