2
votes
3answers
37 views

Google docs style drupal site

Ive been searching around drupal and google to find some awnsers but get lost and fustrated and came here for some help. What i want to do is have a drupal site which is not public, and has the ...
1
vote
1answer
19 views

How do you find where a module's directory is located?

I have the following: I want to find where the module "commerce_physical" is located in the modules folder, but I can't seem to locate this module. I did a find and a grep to locate where its files ...
1
vote
1answer
11 views

Add content to a render array in a content type from my custom module

I created a content type that is used to display a list of videos hosted on brightcove. I have a module that is setting a cookie for the anonymous user when they watch one. My end goal is to display a ...
0
votes
1answer
24 views

CAPTCHA default for Blog post forms does not work in Drupal 7

I'm trying to get CAPTCHA to be automatically added to my blog post forms so that I don't have to enable it individually on each blog post. I've followed the suggestion on this post, but ...
0
votes
0answers
21 views

Ajax ready event for select field in form

I have a form that has an "item list" select field which lists all items in my database. Basically, I can just do $item_list = array( // ... // Obtained list from database // Let's say I have ...
0
votes
0answers
16 views

Video Insert module similar to Insert (for images)

I love the Insert module, because it allows me to easily put images into my WYSIWYG editor for the Body field. I'm trying to find something that will do the same for Videos. I've got a Video field ...
0
votes
0answers
23 views

Keep Drupal Content HTML in uglified/indented state [closed]

When I am adjusting content, I click on the source I want the html to be in an uglified state, so it is easier to navigate, without having to copy and paste the html into HTMLLint, then into Sublime ...
0
votes
1answer
20 views

Search template suggestions from a module

I have created a custom search module that integrates with Drupal 7 Search Interface. My module is called history_search and in the module I have two files: history_search.module and ...
0
votes
1answer
25 views

Cannot add content to panels pages (stuck in overlay)

When I try to edit the content of panels pages, I click the add content link in the drop down menu an drag and drop down menu. The progress indicator appears and turns for a while and then nothing ...
0
votes
0answers
15 views

How to create a link for certain user roles to modify a field of a node?

I have a content type called "orders". Users can create orders, admins can list orders (via a view). What I want to do is add a link or button both on the view and the content page of "order" to let ...
0
votes
1answer
42 views

Drupal 7 set default value from database in hook_form

I have implemented a hook menu: $menu['question-view'] = array( 'title' => 'Question View', 'page callback' => 'item_view', 'access arguments' => array('access question view'), ); ...
2
votes
1answer
43 views

Multiple FAQ pages using FAQ module

I am using the FAQ module in drupal7. My website has many pages which should have a FAQ of their own. So adding FAQ from "Add Content" adds and lists all the FAQs in different categories in the ...
0
votes
1answer
35 views

How to group fields with select option?

I just want to show the user to select any one of the group see the below image. I am not sure which module i have to use. Please suggest me how to do this ?
2
votes
1answer
63 views

Register a module theme implementations

I have created a simple module to display frequently asked questions (FAQ). The output (faq content ) can be customize in mymodule-template.tpl.php file located in a module directory. I'd like to ...
0
votes
1answer
33 views

How to show Child term in list box?

I just want to know how to show child terms in list box see the below image i tried http://drupal.org/project/hierarchical_select this module but don't know how to achieve this. ...
1
vote
1answer
175 views

drupal 7 add fields to form dynamically with ajax and retrieve values

I am trying to add a combination of text field and a select box to a form dynamically using Drupal 7 Ajax, when i click on a button. But i have 2 issues here: I am not able to add more than 1 set ...
0
votes
1answer
71 views

How to link menu item to a page in Drupal7, that can display database content?

I am using a custom module in my Drupal7 to add data in a form and then inserting it into the database. The form has fields like "Menu Name", "Image", etc. I want to know : How can i show this ...
0
votes
0answers
24 views

Using edit module for users profile picture

Was not able to find much on this, but anyone have any luck using Edit for the users profile picture on the user profile page? Goal is to make user avatar updating a simple single click and edit ...
1
vote
1answer
102 views

Drupal 7 add options to dropdown with ajax

I am trying to use ajax in my form to dynamically add options to the dropdown, with the click of a button. The value entered in the textbox must be added to the dropdown. However i am not sure how to ...
2
votes
1answer
20 views

How do I print a menu with links generated by my custom module?

If I use theme('links', array('links' => menu_navigation_links('main-menu'), 'attributes' => array('class'=> array('links', 'main-menu')) )); It will print the links in my Main Menu. I ...
0
votes
2answers
23 views

D7 Custom Module to load template and CSS plus JS

I have created a custom module that creates a page with the path /mymodule Now I what to create a template for that page and also add a .css file and a .js file that loads only when my page shows. I ...
1
vote
0answers
14 views

Settings for users on a new node or block

I want that users be able to configure some settings on the site for different tasks as shown below. [Checkbox] Recieve updates from site [Checkbox] Notify by mail when i get userpoints //user points ...
4
votes
4answers
146 views

Delete/ Deactivate account in a separate block

I want the authenticated users on my site to be able to delete their own account or temporarily block/de-active. I give the necessary permissions for this. Well and good for now. However, the tricky ...
2
votes
2answers
85 views

Private methods within a custom module

I am grouping some shared functionality that will be used across multiple template files within a custom theme. I would like certain methods within this module to be accessible to the theme (ie. ...
0
votes
0answers
24 views

Display Rate module results via Panels?

Running into a pickle here. So many of us know that the Rate module does not smoothly integrate with Panels. I discovered out a way to get the voting widget to show using a custom content with the ...
4
votes
1answer
81 views

A blacklist module for D7?

Is there I module for Drupal 7 to create a blacklist of words that should be used to block, or hide, comments? On drupal.org I didn't find anything.
0
votes
2answers
27 views

Upon clicking save, how do I stop the node from inserting?

Upon saving a new node, I need to check against a function, if its field value is available. If not, I need to prevent the node from saving. function mymodule_node_insert($node) { $uniqueName = ...
0
votes
0answers
25 views

Reuse Drupal behaviors

After writing a lot of duplicate js code in Drupal through the years i think its time to ask a question about this. Imagine this simple beahvior that submits a form onChange of a select element ...
0
votes
2answers
28 views

How to customize a contributed module's template

I have a contributed module with a theme file in the module's directory. I want to change it a bit by creating a template file in my custom theme directory. I thought I could just copy and paste the ...
0
votes
1answer
45 views

How to make user manageable modal dialogs - Drupal 7

So, Im a total, TOTAL Drupal n00b, but my new company is pretty big into it and is throwing me in. So, far I've done some stuff with content types and views, thats it. But now they want me to make a 2 ...

1 2 3 4 5 18
15 30 50 per page