I want to add some tabs in the "node/%/edit" page from my module called "cssswitch".
When I click "Rebuild Menus", the two new tabs are displayed, but they are displayed for ALL nodes when editing them, not just for the node "cssswitch". I want these new tabs to be displayed only when editing node of type "cssswitch".
The other problem ...
In a Drupal 6 module, the hook_form function is used to generate a create/edit form. How do I create different forms for create and edit instead of using the same form for both?
...
I have never used DotNetNuke before. I'm thinking about giving it a try to help me build websites, and i'd like to hear from other developers who are in a position to compare DotNetNuke with other CMS's/Web Application Frameworks.
...
I'm using Drupal 6.16: When a user creates an account on my site I have them select a category (ie children, youth, adult, etc). This is done with the select list box using the content_profile module. I have a content type that posts an announcement. In this content type is a check box that says 'email group'. Right now it does nothi...
I'm using Drupal 6.16: I think I have a pretty simple question. How can I get the current user id and put it in a menu tab. What I would like to happen is when the user logs in and wants to change their their name, email etc to click a menu tab. I image it would look something like this: http://domain.com/user/{userid}/edit
Thanks in...
What is the best way to generate reports and view them in drupal6?
...
I am developing my first large Ubercart site, which needs to have a daily product database update from an existing xBase (DBF format). The conversion from DBF to MySQL/PHP is handled on the same server as the Drupal installation, using some custom scripting I have done, and works well. However, the next step is to get my script to talk t...
Does it invoke all modulename_filter alike functions?
If that how can we make the filter take affect only on some specific targets?
UPDATE
Seems it's by calling check_markup explicitly?
...
I'm creating a new Drupal theme.
Until now, I only needed to include a single css file and a single js file. So my theme.info file had something like this:
stylesheets[all][] = css/style.css
scripts[] = js/script.js
Now I must include jquery and jquery-ui in order to use a calendar date. These come with 2 new javascript files, and 1 ...
I am using the location module and views module for a postcode search, which works fine in a page display using views.
However I want the user to be able to enter their postcode into a block on the homepage and clicking submit my module sends them to the page created in views and the postcode is set as a session S_SESSION['postcode'] b...
I got this SQL:
UPDATE users2
SET picture = 'sites/site2/files/pictures/' + picture;
WHERE picture NOT IS NULL
And the only thing I get are that all picture fields get the value '0'.
...
I'm using hook_menu to register new url so that accessing this url would return some data to ajax function. As title suggested, this url is not registered. How do I know that? I've tried typing this in address bar but, drupal, return main template only rather than the tests string that I created. I'm positive that my module is working fo...
how to allow user to edit their information after registration. And moreover how add new fields during editing information.
for ex: my primary registration holds name,email,picture(optional). I want to get additional information like state,city,... when they wants some customized service.
May any one suggest me a solution .
...
Hi,
How can i know which version of drupal is installed in my server?
Thanks
...
Hi,
I'm using paypal payment method in my druapl site, i want to change that to authorize.net how can i change the existing paypal payment method to authorize.net in my drupal site
please help me
Thanks
...
Hi, I use Drupal 6.x. In my own module I alter each node form an add my own validation handler to it using
$form['#validate'][] = 'my_own_validation_function';
Then I have the function
function my_own_validation_function($form, &$form_state)
{
//if validation fails, i would like to rebuild the form to add additional form elements i...
I need to do some additional processing after a Drupal page has been sent.
I know I could fire a background shell command, but I need the current Drupal execution context to be maintained.
I've spent a lot of time looking, but I can't find any documentation in this regard. This is surprising because it must surely be a common requireme...
Does anyone know where Drupal stores, in the Database, the role of a user? It's not in the users table, and I can't seem to find it. I can find where it defines the role, defines the role's permissions, but I can't find where it defines what Role a certain User is. Anyone know? Thanks!
...
I just installed Acquia Drupal using the web platform installer. The entire process went smoothly but when i try to browse the website it say "HTTP Error 404.0 - Not Found
The resource you are looking for has been removed, had its name changed, or is temporarily unavailable."
Detailed Error Information
Module FastCgiModule
Notification...
I've created a view that selects all nodes of type "shoot". But I want it to select all nodes of type "shoot", EXCEPT for the first entry. So, if the normal result is:
Node 1
Node 2
Node 3
I want
Node 2
Node 3
Node 4
Is that possible?
...