I was looking to extend the preparation (_upload_prepare function ) of the upload module for zip files.
I would like to be able to attach a zip file to the file attachments of a node and when the 'attach' button is pressed then the zipfile gets unpacked on the server and all individual files are being listed in the file attachments.
So imagine somebody attaches a zip file with 2 pictures (a.jpg and b.jpg), presses the 'attach' button then he would need to see the 2 pictures a.jpg and b.jpg seperatly in the new file attachments form.
I paid for a developer to create a specialized voting module for me. He completed the work except now the voting widget appears on all content types.
I've successfully ported the module from Drupal 4.7 to 5.x myself at this point. If someone could point me in the right direction on how to code for this and what hook I call, I would be really grateful.
The search.module utilizes 3 tables (that I am aware of)
search_index si
search_dataset sd
search_totals. st.
si and sd provide a "type" field currently set to 'node' in my db.
I have custom node types that have been indexed and their search terms are stored in the si table.
All data appears normally for default searches.
My client, however needs a custom search restricted to a specific node type, and a specific search screen for searching these types (not the default tab provided by implementing hook_search)