0
votes
0answers
3 views

How do you render a View with arguments using a Computed Field?

I have a computed field and i want to output a View's - block display with arguments passed into it. Can someone provide me with an example code of how to output a view with arguments? thanks!
0
votes
0answers
3 views

changing default values in a widget select list -D6

I've done this on other content types with NO code/function/preprocess etc. It was all in a simple GUI fashion but now when I'm trying to add some values in the selection list, I choose to Manage ...
0
votes
0answers
12 views

What is the exact preprocess hook for this node--content_type.tpl.php?

I've everything and two themes to get node.tpl.php and node--content_type.tpl.php and nothing is working. I tried adding a preprocess hook in template.php but nothing is working. I've tried scouring ...
0
votes
0answers
6 views

Using select list with Views exposed filter when it is a custom schema through hook_views_data

Context I need to build a page in Panels that is composed of Views displays. The page that this will make will function as a kind of workstation for a staff member displaying bespoke information ...
0
votes
0answers
6 views

how to use hook_webform_submission_presave on a site with multiple webforms

I've got a question on the use of the hook_webform_submission_presave function for D6/webform 6.x-3.4 I've got a multi-lingual D6 site that has one webform for each language, I'm trying to create a ...
0
votes
0answers
11 views

OG Forum D7 Error : SQLSTATE[42S22]: Column not found: 1054 Unknown column 'node.entity_id

Error: The website encountered an unexpected error. Please try again later. PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'node.entity_id' in 'where clause': SELECT ...
1
vote
1answer
7 views

Understanding ctools_modal_form_wrapper

I am trying to get a handle on Ctools ajax modals and I am reading a lot of tutorials. In one of the tutorials (on https://gist.github.com/mrconnerton/1979037), I see the following code: // Create a ...
0
votes
0answers
15 views

Drupal: $_POST and MENU_CALLBACK. How works?

I've read this and this but nothing is working for me I'd like to create a menu like this $items['login'] = array( 'page callback' => 'mymodule_login', 'access arguments' => array('access ...
1
vote
1answer
15 views

How do I record hook_menu() access statistics

I have a standard menu hook function in a custom module which links to example.com/foo/bar, how do I record access statistics for this page?
0
votes
0answers
10 views

How to sort order of cck field group ?

I have used field group module to group the fields in the add / edit node form. I used Vertical Tabs widget. Is there any way to have an option to order the tabs using drag and drop? I want users ...
0
votes
1answer
16 views

Run a boolean test function on form submit

Is there a way to run a function when a user submits a form in Drupal that returns a true or false. If it is true, run the submission handler. If false, return an error. Application: I am using ...
1
vote
1answer
17 views

Drupal 7 module for Password Complexity Rules

For a Drupal 7 site the customer would like to implement the following (see at bottom) Password Complexity Rules. Which of the below rules are possible to implement and what would be the best module ...
0
votes
3answers
10 views

How to track site search with using Google Analytics without installing additional modules?

I need to enable the tracking of site searches in Drupal 7 using Google Analytics without installing the additional "google_analytics" module. So far, I find some info (some previous question in this ...
0
votes
1answer
9 views

See what database a site is connected to

Is there a page in Drupal 7 (or a module) that will show me what the name of the database is that the site is pointing to? I know this can be done via settings.php, but I am setting up a build ...
0
votes
0answers
6 views

Lazy Loader and Views Infinate Scroll conflict

I really like the Image Lazy Loader. The way it makes images fade in at the bottom of the screen is dead sexy. I also like Views Infinite Scroll. I have to display hundreds of content previews, and ...
0
votes
1answer
12 views

How to get values of delta field from “block” table in drupal 7 from the database for the activated theme in a custom module?

Can I get all the values of delta field from "block" table from the database in my custom module I have tried with this code as clive has explained it here but it shows me an error: $query = ...
0
votes
0answers
10 views

Show name of the taxonomy filtered by in views block title

I have an 'articles' content type with a node reference field that allows you to select a term from the taxonomy 'category'. I have a views block that gets all the a contextual filter to return the ...
0
votes
0answers
9 views

unable to get custom service to return result using services module

I'm learning about web services and implementing it in drupal 6 and am trying to use Services module with its REST server for implementing a web service to add a user. Since there is an existing ...
1
vote
1answer
17 views

How to remove form elements before submitting the form?

All form items in Drupal must be created with Form API, otherwise form values in $form_state and in $_POST variables are empty after submitting the form. But sometimes I need to have in form some ...
0
votes
0answers
13 views

How to redirect to a specific admin page and alter the form there?

I custom create users. I want on each user creation to check specific option found on administration side on a form provided by another module. (e.g. it allows user to receive notifications by ...
0
votes
0answers
43 views

how can I find role of another user than logged in user?

I have user profile pages I want to filter if a user is "admin/anyother" role than "A" block show on its profile and that can see by any user Give me any hint or how process how can I do it? If you ...
0
votes
0answers
14 views

Multiple upload on a media field with media browser [duplicate]

I'm using the http://drupal.org/project/media 7.x-2.0 and I will like to be able to upload more than one image/media at the time. I know about https://drupal.org/project/plupload but I just need ...
3
votes
0answers
17 views

How to combine views exposed filter with search?

My client asked me for a single field, that would work 2 ways: Autocomplete filter based on taxonomy. If site visitor inputs something that's not in taxonomy, full text search should be performed on ...
0
votes
0answers
14 views

External login database authentication

I need to create a custom login that is not on the drupal platform.That login has to authenticate with and offsite database also not on drupal and after authentication, redirect into drupal as a ...
3
votes
1answer
21 views

Setting $cookie_domain variable for specific folder structure

During configuration of Ckeditor I have to setup the cookie domain variable. I have added my site in subfolder like www.example.com/mynewsitefolder, where www.example.com is my current and running ...
1
vote
1answer
22 views

how to include globals.php in template.php file

I need the variables from the globals.php and I can't seem to call/register them in theme's template.php file. These variables are needed for my custom hook function for the template. Am i missing ...
1
vote
1answer
21 views

How to nest form into another form?

I have 2 modules. Let's call them Publisher and Publication for discussion's sake. Publication module requires Publisher module. Publisher module provides form to edit publisher's data. Publication ...
0
votes
1answer
19 views

How should I include an image field from a taxonomy term in a node view?

I'm creating a site with just one content type sorted in three categories and posted by three different organizations (no matter in which of the categories). The front page has to be three columns ...
0
votes
1answer
12 views

E Newsletter sign up form

I would like to create a sign up form for visitors to my site to receive an e newsletter. One of the stakeholders in the project has specified some additional functionality in that he wants an email ...
0
votes
0answers
4 views

customising embedded youtube dimensions with the media browser?

I can resize the image after i embed a video by resizing the thumbnail that shows up, but is there a preset style that can be set whenever i embed a video?
0
votes
2answers
22 views

How to allow the banner to be editable via front end?

In the BlueMasters 6.x theme, the banner is hard-coded inside page-front-tpl.php: <div id="banner" class="clearfix"> <?php //print $banner;?> <div class="main_view"> <div ...
0
votes
3answers
26 views

2nd block not showing up in D7

I'm building a module with several blocks. But only one is showing up in blocks list. Calendar shows up in block list but could you see why I cant see my 'frontdoor' block ? function ...
0
votes
0answers
17 views

Computed Fields. Need to render link.

I have a content type and term reference field. So, i want to show the external link (google.com for example) if there is the relation with some term in full node show mode. I decided to use Computed ...
0
votes
1answer
20 views

How to add Google Analytics per theme?

Is there a way to add GA per theme. The reason for it is I am using themekey to switch the theme for mobile users. I have read that it is possible to add more than one tracking code on a site but ...
2
votes
2answers
23 views

Post user location to a map

I am building a site where people can log power failures in their area on a google map in Drupal 7. I want to be able to have my site users register their location on their profile. This seems pretty ...
0
votes
0answers
20 views

Webform submission from anonymous user doesn't get saved

I have made a small webform (survey). When anonymous user comes to the page, he see's the webform normally. It redirected after submit button is pressed, but submission doesn't get saved. what am i ...
1
vote
0answers
18 views

How to create database for testing

I'm implementing http://phactory.org/ to get away from the heavier aspects of test data creation. One of the prerequisite items for this is to start with an empty database, with proper schema. I ...
0
votes
0answers
7 views

Apache solr + Facet API, can I filter with node title?

I am trying hard to find a text facet to filter the results by node title. Is it possible?
1
vote
1answer
31 views

how to add parameters to html email template

I have a working html email using modules: Mail System, HTML Mail, SMTP Authentication Support. And I want to include some parameters/variables in the html email template file: ...
0
votes
0answers
20 views

Breadcrumb not displaying properly in Drupal 7

I am using the Menu breadcrumb module in my theme. My menu structure is like this: Company ->aboutus ->infrastructure Careers ->newjobs ->applyjob When I click ...
1
vote
2answers
33 views

Limit a user to edit AND view only a specific content type?

I have a role dedicated to creating and/or editing a specific content type. It is the only activity to be allowed for this role. I have set up login destinations module to go to the content overview ...
0
votes
1answer
13 views

#superfish ul also targets contextual links!

I am using superfish menu in D7 as follows: I have created a custom theme from scratch in my page.tpl.php I have created a region for my main menu as: <div id="superfish"><?php print ...
1
vote
0answers
7 views

D6 Views Field Theming in Module

I'm working in a custom module that displays date fields. I want to be able to change the date's timezone programmatically. I've tried implementing hook_views_pre_render(), but that doesn't allow me ...
0
votes
1answer
23 views

Showing blocks by url, when nodes have multiple paths

I know that having multiple path aliases to a single node is discouraged, but it is a situation I have to deal with. My node is accessible via /news/node-1, /baseball/news/node-1 and ...
0
votes
0answers
14 views

Drupal ImageCache only working for one filter

I've just migrated a Drupal website from an old server to a new. Only the thumbnail filter is working; the others refuse to generate and provide a 404 error when accessing. I've looked at logs etc; ...
0
votes
0answers
21 views

Creating a quick link to edit your profile

I'm trying to create a quick link to the drupal edit your profile page so members can click a link on a separate internal membership website and be taken to the www.drupalsite.com/user/[uid]/edit ...
0
votes
0answers
10 views

2 Pagers showing for Views Block

I created a Custom View block in Drupal 7 which it is simply pulling random "Did you know Tips" for visitors. I created a mini pager for the block to allow visitors to toggle through them (Ajax ...
0
votes
1answer
6 views

Some of my Panel content is missing for anonymous users. What went wrong?

I've set up a landing page panel with two items in it, a content page with a welcome message and a view showing certain content. It works great, but when I look at it as an anonymous user only the ...
0
votes
0answers
6 views

MailChimp campaign not showing up in Drupal 7

I set up the MailChimp (https://drupal.org/project/mailchimp) module by following the readme file. I've enabled all the Mailchimp modules and added the API key to my drupal instance. I've created and ...
0
votes
0answers
11 views

load additional $item data using hook_cart_item

I try to load additional cck field data, so it can be printed using a custom template. I created a small module <?php function mymodule_cart_item($op, &$item) { switch ($op) { case ...

15 30 50 per page
1 2 3 4 5 546