I am trying to make a classified module. I need to control the actual node submission process redirecting to a second form based on what is filled out in the first. I can't seem to find the right hooks in drupal to do this. I see the hook for outputing a content form and for handling the form input, however I don't see any hooks for handling page/form flow. Does anyone have any ideas on how I could do this?
I have configured my Gallery2 installation inside of drupal, and it works (by accessing http://site.com/gallery2). But when I try to access it with http://site.com/gallery, as per the gallery2 install instructions, I get a blank page with:
Error:Your Userfile is not writeable
At the top.
I have drupal working on another virtual server on this machine, so I can't figure out what this error message is.
Alright, I've made a simple module that will allow you to automatically generate technorati tags for your posts. The only problem is, it doesn't work yet, and I'm not sure how I should continue to make it work, while not making it obfuscate the content types at all. It's a simple hook_nodeapi() module with unthemed theming, but it's a very decent idea in my opinion. I searched a lot for anyone else doing this, to no avail, so I figured it might help.
I'm getting this when trying to use taxonomy_image to set the images:
user error: You have an error in your SQL syntax near 'WHERE i.tid = d.tid AND i.tid = 5' at line 1
query: SELECT i.path, d.name FROM term_image i INNER JOIN term_data d WHERE i.tid = d.tid AND i.tid = 5 in /vhome/some.site.org/includes/database.mysql.inc on line 66.
Anyone else running into this? I'm running 4.6.3...
I'm pretty new to Drupal and I've only played with making my own modules for a short time. The API seems very clear and straightforward, and the documentation and examples are excellent. However, what I'm now trying to do requires me to combine things in a way that isn't covered in the docs. I need to ask for advice from someone with more experience.
The event modul filters the events by type and/ or terms - where type means content type. In the sense of taxonomy wouldn't it be better to filter by vocabulary (instead of content type) and/ or term??