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

learn more… | top users | synonyms

0
votes
1answer
22 views

How to add new reference in entity reference field in node edit form keeping old references intact and hidden?

In my project, there is a content type 'song' containing an entity reference field to reference content type 'playlist'. More than one user can edit a 'song' to add it to their own 'playlist's. Now, ...
0
votes
2answers
44 views

How to display fetched data in the form of html table?

I have created a custom module & used below code to display data from Database. But I want to show that data in the form of html table. Please help. <?php function custom_table_menu(){ $items ...
-1
votes
3answers
37 views

Which type of error is this & how can i resolve? [closed]

I am using multilingual in drupal 7. I got this error when I select French language. Transalation is working properly but why this error comes. French Le fichier spécifié *temporary://file5crFb5* ...
0
votes
1answer
25 views

how to create Pie Chart, Table & Bar Chart without module? [closed]

Can i create Pie Chart, Table & Bar Chart without using any module in drupal 7? Please help
0
votes
0answers
13 views

Changing group visibility needs group content to be resaved when group content visibility field is set to “Use group defaults”

Drupal Commons 7.x-3.2 Organic Groups 7.x-2.1 Content type: Mygroup Field: Group visibility - value: Public Content type: Mypost Field: Group - default value: Mygroup Field: Group content visibility ...
0
votes
1answer
30 views

Drupal users getting blocked automatically

I am experiencing a strange problem with my drupal website. On it, there are a good number of registered users. Sometime the users login, but not very frequently. Suddenly I figured out that some of ...
1
vote
1answer
27 views

Reset Password Form does not let user enter their new password

An regular registered user reset a password An email with one-time link will sent to the user Clicking the link will lead the user to the change password form Now, the drupal site warn the user the ...
0
votes
2answers
39 views

After installation of Drupal commons-7.x-3.13 in windows. I got this type of error?

I am using Drupal Commons-7.x-3.13 module to install in windows. After installation I can't logged my site. Please help anybody. I am in critical situation.
0
votes
1answer
30 views

VBO action 'Modify OG user roles' does not show custom OG roles on the 'Add roles' list

I have added new OG roles like 'tutor' or 'contributor'. I am using the view og_members_admin that comes with drupal commons, which uses view bulk operations 'Modify OG user roles' to give an admin ...
0
votes
0answers
23 views

Drupal Commons: How to Increase the Title Character Length?

How do you increase the Node teaser Title Character Length in "Drupal Commons"? i.e instead of "This is a post...." to "This is my a post title without the dots" Many thanks for your help
0
votes
1answer
50 views

Private 'My Files' in Drupal Commons

I am using the latest release of Drupal Commons and I have Private Files configured and working. I would like to allow users to upload files to their individual user profile, which only the ...
0
votes
0answers
20 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 ...
0
votes
0answers
45 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 ...
-1
votes
2answers
36 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 = ...
0
votes
1answer
152 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
32 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
42 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
106 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
287 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
31 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
74 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
25 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
64 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
29 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
13 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
33 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
52 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
32 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
35 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
58 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
58 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
68 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
343 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
83 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
667 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
124 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
105 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
57 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
616 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
399 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
234 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
94 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
93 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
38 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
49 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
124 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
786 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
1answer
40 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
263 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 ( ...