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.
I currently have my own node module written but I want the output to be created as a forum topic now.
So, I would like to know if anyone knows how to customise the forum topic node form, so that I can return the HTML output from a form, as the forum topic's body.
I was thinking if I could just alter my module and change node_insert to database INSERT into "forum" tables, but I know that the forum.module is complicated and inserts into many tables. Does anyone know how to do this?
I used the t() function to output text from nodes in a block, so all the nodes got indexed as translation phrases in the locale_sources table. Is there a way to rebuild all the required phrases (core and modules)? Or, are there any other ways to get rid of the broken, useless strings, easier than deleting them by hand?