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.
As a lowly windows user, patching is usually an immediate turn off to a new module. Compared to other CMSes, Drupal has a much more complicated module install, which is only made more difficult when people have to patch. It causes annoyances for those patching and for command line users sick of trying to teach everyone how to patch. A simple solution would be if all modules that require a patched version of a file include that patched version. This is a simple solution, not a perfect one, but it would save headaches for many.
I'm working on a small filter module that uses XML as input language and translates to HTML using XSLT. This all works fine but I run in to some troubles due to the way node_teaser() works. Since the input $text must be valid XML the default teaser stripping won't create valid XML. As a quick fix I set the Length of trimmed posts: to Unlimited.
What I would like to do is to override the default teaser behavior for my XML input format (generate the teaser from a special section in the xml...).
I would like to add several sub-nav menu items underneath the node default "view" and "edit". I suspect the defined URL path is the problem. For instance the URL path of "view" is "node/[nid]" and "edit" is "node/[nid]/edit". The trick seems to be adding the current node value dynamically to the URL path like this:
Over the past several years, quite a few 'voting' solutions have passed through the drupal forums and CVS. Most are specific to nodes, and many are tightly integrated with a particular set of UI widgets (flash animations, etc).