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.
Using the page specific visibility settings we can have a block appear on a certain category listing
This allows you to create a box that will appear on every node that belongs to a certain category.
What if you want a single box that will appear on a category listing (taxonomy/term/X) AND all it's nodes (node/123, where 123 belongs to category X). Is this possible?
As title. I've already (I think) figured out how to edit search.module to get the date to appear where I want it, but is it possible to also display the category links for each result?
Just wondering how most of you would go about updating a live drupal site with changes made to a development version of the same site. Obviously there is a lot of data in the devel site that is irrelevant to the live site e.g. statistics, users, etc. However, if a developer has created new content, this can not just be added into the live database blindly with potentially conflicting node ids with user submitted content, etc.
I've made a start on code to compare the two databases but its a little more complex than I at first thought!
I have a client who wants users to be able to post articles freely but, if they contain offensive language, to divert them to the submission queue. Anything which doesn't trip the switch would go straight to 'published'.
I'm having trouble finding a decent hook I can put this check into. Any suggestions?
I've written several modules already - I'm really only asking for help on where to shove this particular code.
If I use the standard Drupal .htaccess file, my non-drupal subdomain site ceases to function - the parameters passed to index.php are always empty. (I reset empty parameter to 1 in my code, so only the home page ever shows)