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 have an idea for the module but since I don't know PHP, it make a proposal here ;) Maybe someone finds it interesting...
Many people come from search engines clicking on search results. And in the URLs of the pages with search results we can often see the keywords people look for.
It could be interesting to have a module that looks for this keywords in the URLs of pages the visitor came from, and displays some content (a node or a block) to the visitor depending on the found keywords.
I have developed a new module in drupal for my site .It works fine untill any user login or logout of the site.
On any login or logout the screen went blank n jus shows this warning:
warning: Cannot add header information - headers already sent by (output started at /var/www/html/drupal/modules/user_statistics.module:206) in /var/www/html/drupal/includes/common.inc on line 155.
by the way user_statistics is the name of my new module.
I think there is some problem in redirection .I dunno how to solve it Please help me.I need urgetnt help.
I have developed a new module in drupal for my site .It works fine untill any user login or logout of the site.
On any login or logout the screen went blank n jus shows this warning:
warning: Cannot add header information - headers already sent by (output started at /var/www/html/drupal/modules/user_statistics.module:206) in /var/www/html/drupal/includes/common.inc on line 155.
I think there is some problem in redirection .I dunno how to solve it Please help me.I need urgetnt help.
I'm having several problems with the image module from head.
1. Going to admin/settings/image gives a blank page
2. When I create an image node, there's no place to enter a title or description.
3. The actual image never appears unless I have it listed and click on the name in the listing when I view the node.
Does anyone have a straight answer for why the 'taxonomy_select_nodes' function is limited to using a persistent variable as its means for deciding how many nodes to return? I have a cron process that needs to examine the nodes specific term, and while I don't need to examine ALL the nodes each time, I do need to examine a good chunk of them. If I let cron set the persistent 'feed_default_items' variable (in Drupal HEAD) or if I modify the persistent 'default_nodes_main' variable (in Drupal HEAD/4.6), then there's the potential for my users to occasionally wind up getting hit with a page that has WAY too many nodes on it.
So, since modifying the persistent variables even temporarily is a REALLY BAD solution, I only have two other options. I either have to manually query against the taxonomy tables, or I have to patch the 'taxonomy_select_nodes' function. I really don't like the former option. As for patching, I don't want to apply a patch unless the patch is planned for inclusion in the next official release.
Could we possibly see the addition of "from" and "count" parameters to this function? I really don't want to have to re-patch this function again and again anytime I update my site to a newer version of Drupal. Unless someone has a good reason NOT to put "from" and "count" parameters into the function, this is a change I would really like to see happen in the