Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
! am new to Drupal. & in the middle of one site building in Drupal CMS. now ! need to create one module that displays 2 text Block & 1 image with admin(add/edit functionalities)
Anyway, I'm trying to get these two to work in a fairly rudimentary way. One thing I've tried to do is get the Edit revision form to contain the workflow fieldset. The way I did this was to change
function workflow_form_alter($form_id, &$form) {
if (isset($form['type']) && $form['type']['#value'] .'_node_form' == $form_id) {
...
Want to write a php script and merge it with the audio module.
A script that would use the php-ffmpeg lib to convert every uploaded audio file as an input (any of mp3, wav, ogg, aif, etc) to a 44100 hz mp3 as an output before storing it in the database. So that the stored audio file would be the converted one.
Is there anybody interested by the process who could give me a hint where should i merge my script...
I am developing a module that uses a form with many fields and enters them into a table in Mysql. I wanted to use the same form to edit already entered values from the table. How do I enter the values I have fetched from the database into the form ?