This will be a great feature for Drupal- I just need a little help with the php. When it's all worked out I come right back and post all the code :)
What I want to do is enable automatic comment moderation with the vote up/down module. Comments below a certain threshold will be hidden, but openable via javascript.
So I was thinking of putting the code in comment.tpl.php, but maybe it's better in comment.module? i don't know.
Something like this, but I don't know how to write the php:
I'm developing a module that is going to share data with a "thick client" application. The "thick client" will upload user profile data to the drupal database. Typically, the "thick client" will get the user data first, then it will be uploaded, then the user can login to the website and edit the data later.
Ideally, the thick client would be able to assign the user id number and create the user in the drupal database when it uploads the profile data, without the administrator having to go in and run any scripts to create the users.
I am currently using the Fancy theme in Drupal 4.7.4 and was wondering if anyone else has had issues with images in a rotating banner in blocks not showing? I am able to see the image change on my computer when I refresh the page (using Firefox and Explorer) but when I am at home or elsewhere the image will only show one time on each page and then the block shows as empty when the page(s) refreshed.
How can I stop newly added node for a module from being listed in the home page. I tried settings->content type->module config->workflow and un-checked everything. It didn't worked, is it the right way or I have to do something else?
Please help...
Hey, guys I am developing a new module, what i want to do is to create a drop down menu, if certain value of the option is chosen, then a text form is activated.
currently, i can only achieve that using a button and write code in the hook_form_submit to generate a new text box. apparently, it is very unuser friendly, so I tried to use javascritp