Drupal Commons is a distribution that provides a complete social business software solution for organizations.

learn more… | top users | synonyms

0
votes
0answers
9 views

drupal 6 hide menu links

In Drupal 6, try to hide some menu links. theme_menu_item_link method - have SQL queries hook_menu_link_alter - Method 1. theme_menu_item_link method - have SQL queries function ...
-1
votes
0answers
6 views

how to get node id using webform or webform rules?

In my node pages we add block to report error related to page. when user report about page they can unpublished this page but my problem is that when i am use rules of web form event "when form ...
0
votes
0answers
14 views

Default group in commons browser widget

I want to be able to automatically set the group field for new posts to match the page the widget is in. Currently the commons browser widget filters to the current group, I would also like to make ...
0
votes
0answers
12 views

Data Selector and Replacement pattern not working

i am using rules module in drupal common distribution and i have created a content type name "sub Group" , after saving new content in "sub group" i want to redirect this to another page , but when i ...
0
votes
0answers
25 views

Drupal Commons 7.x 3.9 misses “Create a Post” on front page

I am not sure what happened, but I seem to have lost the "Create a Post" item at the top of the "What's going on?" default front page. I did not consciously delete it. I compared the site missing ...
0
votes
2answers
33 views

How to correct url path

i am using a key to connect with its node nid but when i am clicking on next they give path /node/node/256 instead of node/256 .here is my code: $key = array_search($nid , $nids); print $key; $next = ...
-1
votes
0answers
23 views

How to remove automatic sorting in views?

i am using query in view i am using query to over required nid like 200,201,220,224 but problem is that our query return correct result but due automatic sorting of views they return 200,201,202,203 ...
0
votes
1answer
46 views

Notices and Warnings Drupal Commons 7.x 3.9 Undefined index, invalid argument, illegal string offset

I get these 7 messages every time a user goes to an event listing. Happens in this order. I'd like to troubleshoot and eliminate. Suggestions welcome. Notice: Undefined index: title in ...
-4
votes
1answer
27 views

function “L” cannot work

I am trying to highlight nids of pages when I am using $nid = $node->nid they stop working of function l in drupal 7 but our nids is highlighted here is my code $ch1=db_query("SELECT th.tid FROM ...
1
vote
0answers
38 views

Questions/concerns about Drupal maintainability [closed]

I hope this isn't the wrong place for this... I'm currently in the process of trying to finalize a platform for my website which will be a sort of developer community. Developers should be able to ...
-1
votes
1answer
66 views

General architectural approach to Drupal for a new project [closed]

Thank you for taking your time to answer. Her is the edited version: I am developing a sport social networking website. I come from WordPress cms and for this particular project I've choosen Drupal ...
0
votes
2answers
91 views

how to pass multiple id in drupal 7 view filter?

Let me know is there any way to pass multiple id in drupal7 views exposed filter? We need to pass an array of ids to the filter.
0
votes
0answers
16 views

Commons: Set default group for posting

I have a Drupal Commons 7 Website, and each user will be in one group only. Therefore, when a user makes a post, can I hide the group selection field and make the post go in to the user's group by ...
0
votes
2answers
49 views

Admin bar not getting displayed

Downloaded a html5 theme and converted that theme to Drupal 7 theme as per watching the videos and documents. After that I was able to sucessfully launch the theme, but the admin bar is not ...
0
votes
1answer
40 views

Which parameter do I need to pass for user registration of Drupal service

I have first name, lastname, email, password, confirmed password and gender for user registration like facebook registration when I call the url using poster ...
0
votes
0answers
23 views

How to hide a role from another role in Drupal Commons?

I am currently working on a project in Drupal commons and I have 4 types of roles in the project. The 4 roles have their own functionality and I want to hide a role and its activities from other role ...
0
votes
0answers
41 views

Organic Groups group_access missing from add

I'm working on a customized commons site. I'm not able to create content for a custom group (e.g.: MyGroup) with the group_access field set to required because it doesn't render in the add content ...
0
votes
1answer
26 views

Error on when to load node?

I have problem when our taxonomy term is linked with node but when i am clicking on term they go front page of site instead of current page our code given below: $ch1 = db_query("SELECT th.tid FROM ...
0
votes
1answer
12 views

how to set a taxonomy term active?

In my block i have different taxonomy term: term A -term B --term c ---term D when i am on term b it is set to active or bold if i am on term d then it is set to active and bold. this is already been ...
0
votes
1answer
29 views

taxonomy term is not working

when i am added any query code is added in blocks our taxonomy term is not working they give two kind of errors: PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'term' in 'where ...
0
votes
1answer
43 views

why do I get sql error when I click on taxonomy terms? [closed]

I am using custom code to display taxonomy terms in blocks: $tid=db_query("SELECT th.tid FROM taxonomy_term_hierarchy th INNER JOIN taxonomy_term_data td ON th.tid=td.tid INNER JOIN ...
0
votes
0answers
19 views

Create 2 types of users with Commons that can't see each other's groups

I want 2 groups. In the first group people could log in and then see a set of groups that non logged in members cannot see. The should be able to see the groups without actually joining them, but ...
0
votes
1answer
30 views

How to link taxonomy term with its content?

This is the code below that i am used $ch=db_query("SELECT th.tid FROM taxonomy_term_hierarchy th INNER JOIN taxonomy_term_data td ON th.tid=td.tid INNER JOIN field_data_field_books book ON ...
0
votes
2answers
40 views

How to link taxonomy term with current loaded NID?

I want to link taxonomy term with current loaded node I am using $nid = arg(1); $term=taxonomy_term_load($tid) print $term; but noting happened. Please tell what is the correct way
0
votes
0answers
27 views

how to customize post (create a post) in drupal-commons?

Hello guys, In the CREATE A POST, i want to hit the post button without filling YOUR GROUPS,OTHER GROUPS ! how can i remove these text-boxes?
0
votes
1answer
36 views

how to get top parent of terms using taxonomy get parent

i have these taxonomy terms in this form term A -term B --term c ---term D i want to get term A on every node page i am using $nid=arg(1); to load tid of the page. working in blocks
0
votes
1answer
31 views

How to use “taxonomy_get_childern” function

//TID of current loaded node <?php $nid = arg(1); $tid1 = db_query("SELECT data.name,data.tid FROM field_data_field_books book INNER JOIN taxonomy_term_data data ON data.tid = ...
-4
votes
1answer
151 views

max execution time error in drupal commons [closed]

Getting this error on xampp using drupal commons distribution , by opening localhost/commons PHP Max Execution Time 30 Your PHP execution time is too low, please set it greater than or equal to 120 ...
0
votes
0answers
53 views

How to pick up where migrate_d2d_ui leaves off?

I ran into some trouble upgrading a Drupal Commons site to the latest version after it had initially been launched on a beta version of Commons 3. To work around the issues and hopefully start with a ...
0
votes
1answer
319 views

Open Atrium 2 or Drupal Commons or Simple Drupal 7 with OG

What will be the best option to build a fully functional social collaboration and community website in Drupal? Open Atrium 2 or Drupal Commons or new install of Drupal 7 with OG?I am good in Organic ...
1
vote
1answer
76 views

Using Drupal Commons, how can I create a node of a specific content type on group creation?

I am looking for a way to create a node of a specific content type at the same time as a group is created. So basically, when a group is created a node of type my-content-type is created at the same ...
0
votes
0answers
93 views

hook_form_alter always returns truncated values

After changing the value of text fields with hook_form_alter, the strings passed as value are truncated : only the first character of the string is saved in the database. I tried with two content ...
0
votes
0answers
41 views

Required, read-only Organic Group on Drupal Commons 3

Goal To create a forced-membership, read-only group on a Drupal Commons 3 site. More specifically, Membership is required by all non-blocked users. This seems to be working utilizing a series of ...
0
votes
1answer
256 views

Disable autofill username & password on drupal [closed]

How can tell the browser not to save drupal usrrname and password? I am newbie. So having difficulty understand many functions. Any easy way to configure drupal for this? Thanks
0
votes
1answer
165 views

How to add JQuery code to drupal site [closed]

I am trying to add my JQuery code to my drupal 7 site. In my drupal based site i have image in the featured block. My JQuery code slides up the image after 2 seconds. When i added the JQuery code to ...
2
votes
4answers
183 views

Features reset without drush

In Drupal 7, my commons wiki gives an error when editing. EntityMetadataWrapperException: Unknown data property field_target_nodes. in EntityStructureWrapper->getPropertyInfo() (line 339 of ...
0
votes
1answer
50 views

How to add a field to Browsing Widgets partial form?

I have a content type Task which has a field that references to other content type Project, so when I create a new Task, I can reference it to a project. I would like to add this to the Commons ...
0
votes
1answer
51 views

Adding a tab to commons browsing widget with hook_commons_bw_group_widget()

I am trying to add a tab to the Commons Browsing Widget so I made a custom module and followed this guide https://drupal.org/node/1782922. I used the first PHP code with hook_commons_bw_group_widget() ...
-1
votes
2answers
36 views

Why render funcion hide img tags?

I have a simple text that contains tags but when I try to render the field, the img tags disappear! <?php print render($content['field_with_img_tags']); ?> Why?
0
votes
1answer
44 views

“languages” is not found in regional settings

I installed drupal commons 7.3.4, I want to ADD an additional language. I try to follow this manual: https://docs.acquia.com/articles/adding-another-language-your-drupal-7-site#language go to ...
0
votes
1answer
110 views

“please enter one more groups where this content will be posted”

I go this error when i added a new content in simple news contenttype.This content type contain usergroup field.Onemorething I recently upgraded drupal commons to latest stable version 7.X-3.4 as ...
0
votes
1answer
509 views

Changing the layout of user profile edit page

I am working on a website based on Drupal Commons. It uses Commons Profile Module to add extra fields to add user information. I want to accomplish two tasks: Change the layout of User Profile edit ...
0
votes
0answers
22 views

How to parse definition lists ckeditor?

I want to write definition lists with , and tags with drupal commons 3 in CKEditor. I am writing code directly (while I am in source mode) then switch to WYSIWYG and go back to source. CKEditor ...
0
votes
0answers
221 views

How can I autologin to my drupal commons site based on login to drupal 7 site?

How can I Autologin to my Drupal Commons Site when I logged in to my Drupal 7 Site? I have following two web sites. (1) Drupal 7 Site ( www.drupal7.com ) (2) Drupal Commons Site ( ...
1
vote
0answers
31 views

how to send the Sequential request in custom services module

I have two request 1. /............./endpoint/retrieve 2. /............./endpoint/create In this case 'retrieve' request only working, if i am send the request as 'create' it's call the same ...
0
votes
0answers
42 views

Drupal 7 Field Migrate Errors

I try to migrate a "filefield" field from D6 to D7. When I run the migrate, I receive after 2-3 seconds this message: " An AJAX HTTP error occurred. HTTP Result Code: 500 Debugging information ...
0
votes
0answers
17 views

Drupal 7 converted from Drupal 6 - missing files

Just tried to convert a drupal 6 to 7. I have some problems with custom file fields. After conversion, files are missing. Field was: field_pdf_file After conversion: "Changed field type: The ...
0
votes
1answer
209 views

Using EntityFieldQuery to order nodes in an OG Group using node_comment_statistics table

I have an EntityFieldQuery to fetch nodes of a certain type which belong to an OG group in a Drupal Commons instance. $query = new EntityFieldQuery(); $query->entityCondition('entity_type', ...
-3
votes
2answers
97 views

Basic questions about drupal [closed]

I am new to drupal. So there are few questions I would like to ask few questions What are the prerequisite software you need to install drupal? Is there any e book from where I can learn drupal? ...
2
votes
1answer
163 views

Drupal Common's 3 How To Edit The Commons Browsing Widget Tabs?

In Drupal 7 Common 3 Browsing Widget Tabs https://drupal.org/project/commons_bw Want to remove the Wiki's Tab How can I do this please? Many Thanks for your help