Hi Vaska and all the forum members,
I've been using indexhibit for a few projects now and I've got a fair hang of it, but I still wonder a few things about how sections are implemented and if my understanding is flood about some parts of it...
Well basically you can add sections in the "settings" menu of the admin interface. When you create a new section, you give it a section name (which is used for display purpose) and a folder name (which is used internally by the database as an identifier for the section). Once you have your new section setup, you can assign it to any new project you create. I think I'm fairly ok up to this point.
Where it gets complicated for me is when you access a project on your site and have mod_rewrite enabled, the URL of the project will reflect which section it was assigned to: eg: www.website.org/projects/my-first-all-color-book.html (where projects is a section)
If you move this project to a new section using the drag and drop feature in the admin interface, the projects seems to be properly reassigned, but the url reflects the old section name. A similar thing happen when you change a section folder name; only the newly created projects will reflect it in their url and the old ones will keep the old section name.
My guess is that when a project is moved from one section to another, the section's folder name isn't updated in the database. Similar problem when the section name is changed in the setting menu.
Before I dig deeper into this, I'd like to have some feedback from other users on this issue. (Of course, Vaska's feedback is more than welcomed :) ). Is this considered a bug... a feature, is my database setup to consider?
Thank you for taking to time to read all this!
Antoine Lafontaine