Hi, I am trying to redirect the user to a clean node after downloading a file to the user. It works but is producing the normal pre-empted header error in the watchdog log:
warning: Cannot modify header information - headers already sent by (output started at /home/james/public_html/drupal/modules/webform/webform.inc
I was recently reading about Ohmynews and they have a tipping 'service' which allows readers to make donations to individual authors. As I am aiming to have a similar 'citizen journalism' site, I would love to have this feature.
Is there any way to set up the donations or the paypal tip jar modules to do this? As far as I can tell, they only work sitewide with one account.
Alternatively, would it be possible to create a module to allow people to tip individual users and authors?
After reading many posts and this excellent description of the menu generation process - http://drupal.org/node/10901 - I have questions of exactly how to start building a module to supplant the menu items and links derived from the menu callback with icons. It would seem there are a few ways to do this:
1) possibly with CSS : to implement this properly I think you would have to patch core to add/have both an 'id=' and a 'class=' to the menu output so that you end up with, for example
. From there do whatever in your css to add a menu icon. You could easily implement this for taxonomy, forums, wherever you want an icon to come up...
2) possibly at the module level: so in the module itself at the menu call back function, add some code that injects the img as part of the menu/link code - it would mean however all modules would need to implement this functionality - maybe check for an optional img of title [menu name].gif or whatever - if these icons were stored in a sub folder of the theme folders than they could even be theme specific...
3) seperate module altogether: this is my prefered method, as it follows more with the design principals of Drupal itself. I think essentially what the module would do is figure out all the modules that are installed, maybe using their menu callbacks to create an array of all the menu/link items then present the user with a form that allowed them to specify which icons they would like to use. Again, this could be made to work with themes so themes could have thier own defaults. The user could specify whether to use just the icons or the icons and their text equivalent.
Comments for the articles can be a forum topics. After login, visitor is taken to the appropriate forum's section, to the main comments thread for the article, visitor must be able to create a new thread. A link to the original article must be included into the first post. Alternatively and even better, it must be possible to go to the original article from any page of the thread. Also, the visitor shall be able to quote the original article.