I have small website focussed on personal finance, investment and stock market. I am looking for module by which user can rate other users who are giving better answers, recommendations and tips. I think such module should be available? I am really looking for this kind of feature in my website. Can somebody help?
I'd like to return a user to a specific page after submitting a particular node edit form. I created a module to override $form['#action'] by appending a "?destination=" - but it didn't work. To make sure the edit was there, I put print_r($form) at the bottom of the tpl.php file I'm using to theme the form. Sure enough, $form['#action'] was set like I wanted it, but it still didn't work. I even used firebug to insert and test my override value, and it did work, so I know my syntax is ok.
I have no idea why this won't work - any suggestions?
I have a quick question...
Is there a drupal function that I can call to get the location of the settings.php file? Ie something that when called returns:
/srv/www/drupal/sites/default/settings.php
...? (this obviously needs to refer to the settings.php file which is currenly in use!
I've got a problem to add a database entry during the registration. When a new surfer wants to register himself on my drupal page, my module should create an additional entry in a diffrent table. It should be the new User ID he will get after the registration to identify that this line in the table refers to him...
If found something in another forum (drupalcenter.de) but I could create the function... they've said I have to use the _user($op='insert') hook to create something like that...
I have a site on a local test machine and a live server. The live server has clean URL's, but the local machine doesn't. I have a custom module in which I display some images using this syntax:
When I install my module the install function correctly creates the table I want, but I also get a content_type_{mynode} which I don't need. This doesn't seem to happen with things like "blog" or "buddylist" -- what am I missing?