How can I make a page created be editable only by user that created the page?
I have created 2 users. Page created by user1 shouldn't be editable by user2. Also in Administer->content section, each user can view only his own content. ...
I have created 2 users. Page created by user1 shouldn't be editable by user2. Also in Administer->content section, each user can view only his own content. ...
Hello, Im using the webform module to generate a report based on data entered by a user in a webform. Im able to do that using the webform_report module (http://drupal.org/project/webform_report). But,i need the additional functionality of generating a report on a monthly,quarterly and yearly basis.Any way this can be done ? Please He...
Hello, I have added PHP code to a block in my Drupal site,by setting the input format to PHP Code. I would like to include an external php file in my code. Where should this file be placed, so that it would be available to all blocks ? Please help Thank You ...
Is there a way to customize a edit page form in Drupal depending on the menu link ? (or by passing additional parameters to the edit page url ? i.e. I have a children "Add new product" item in both menu items "Catalog1" and "Catalog2". I want to hide 2 different CCK fields in the product content type depending on which menu item has be...
I have a Person content type. It has a node reference field of a company which is also a content type. I then have a content type called Project. A project has a node reference to a company content type. I want to list all the projects related to a person id (nid) If I abstract this away from views and Drupal and each content type had i...
I am not using the /node page on my site. When I visit the /node I get the default drupal text. Welcome to your new Drupal website! Please follow these steps to set up and start using your website: Configure your websiteConfigure your website I wish to send /node to my page. How would I do this? ...
Hi, I am using views module. I have created blocks using views and a url using page display. This is for taxonomy. So my views url looks like this "news/science" So if someone click on the link he should be taken to www.example.com/news/science. However i am taken to a unstyled page with broken links. But when i try to use the url www.e...
I want to add some arguments to the links of my menu items For example I have a menu item with the following url as target: node/add/product&catalog=0 However it doesn't work because what I get is: node/add/product%2526catalog%3D0 How can I get rid of numeric codes and just display the url as it is ? thanks ...
I need to hide only one of the 2 children of a fieldset element. I have an issue with the assigning the #type='hidden' value to 2 children elements of a fieldset. In other words I have: Array ( [4] => Array ( [#type] => hidden [#title] => Distribution Product [#default_value] => Array ...
I just started learning Drupal and I'm having a heck of a time displaying multiple content types on one page, but grouping them by content type. To be specific, I want to display "Current Programs", "Old Programs" (which are the same content type, Program, but have a Boolean "current" field thanks to the CCK plugin), and "Tools" (conten...
The main site sends a registration email and I do not want that email to be sent to this new registration as it should have its own custom email. I am having a hard time with this because every time a user registers either on main registration or this custom registration, they get the same mail. How can i keep my custom registration mail...
I was trying to get a symbol like to be a default value for a text field, I am trying to set the default by a javascript , but all i get is ® or &® in the text box, i am doing this from script as i am using drupal , so i dont have html files , i even trie ddefault value option in hook_form() ...
I wish to retrieve some nids from my drupal database. I have a query that I wish to run. SELECT node.nid AS projectnid FROM node node INNER JOIN content_type_project node_data_field_project_client ON node.vid = node_data_field_project_client.vid WHERE node_data_field_project_client.field_project_cli...
I have a website running locally on Drupal 6.14 and I need to upgrade it to drupal 6.19 The website is version controlled with BZR. I know the BZR basics but I don't know how to update my repository the "correct" way. I don't want to simply overwrite all drupal files and commit the changes. I want to compare my old version with the new ...
How do you issue a 403 for certain nodes? I tried using drupal_access_denied. While I got an Access Denied message, the watchdog is filled with: Cannot modify header information - headers already sent Is that normal? Am I not using drupal_access_denied right? ...
Problem I have one role "creator" and under this role I have two users creator1 and creator 2, both have permissions to create content. So Creator 1 creates the page but this created page is visible under Administer->content for both the users and i want that to be user specific i.e the user who creates the page should only be able to e...
Hi, I've have a menu structure that has a depth of 3 levels on a drupal 6 CMS. When I click on a level 1 that has children, the level 2 menu items display fine. If the level 2 has children, it is not showing the level 3. If I check the expanded box the level 3 is displayed however, it displays all the time irrespective of the level...
HI all, I had posted a query here. http://stackoverflow.com/questions/3719456/drupal-url-alias-and-views-and-clear-urls-for-taxonomy-issues But i think i need to be more specific. The issue is that after upgrading drupal from version 5.1 to version 6.15 and enabling clean urls, most of the urls work however some URLS such as admin logi...
Using cck I've created a new content type, Contact. A contact can have 1 or more phonenumbers. Is possible to create a field type (string, number or node reference) so that the user creating content can add more phonenumbers to a contact? ...
Howdy, i need to wrap images into additional markup for further css styling. I would like to have something like that: <p><span><img src="path/to/image" alt="alt"/></span></p>. The images are added directly on the specific node using following modules: http://drupal.org/project/insert http://drupal.org/project/image http://drupal.org...