0
votes
0answers
6 views

How to add directions with a link to a webform in Drupal 7

I'm creating forms with the webform module. I'd like to add 'directions for filling out the form at the top of the form. I'd like those directions to include a link to another form if users clicked ...
0
votes
1answer
4 views

How do I get a LEFT OUTER JOIN in Views that displays all rows with no match in the LEFT JOIN-ed table?

Views 7.x-3.x Staff sid name 1 Adam 2 Barbara 3 Carol 4 David Staff Roles sid rid 1 1 2 1 2 2 3 2 3 3 Let's say that I want a list of all staff, excluding staff who have a ...
0
votes
0answers
5 views

How to add Retargeting tag into each page?

I am using drupal - 7. I wanted to embed <script> tags for Retargeting tag into each page of the Website, between the <body> </body> tags. I am new to Drupal. I am trying to ...
0
votes
0answers
6 views

Auto creation of a node for each uploaded file in the form with rules?

Hello there? How's goin'? I'm trying to create a node for each file uploaded in a form (entity form). The form consists of one file field: uploading_file. Now I can create nodes with the rule but ...
0
votes
0answers
9 views

Download Views CSV automatically Daily

I have a bunch of views/reports built for my client. The review then click download csv for the excel file. They asked if the views could download themselves daily to a folder. Is that possible? and ...
0
votes
2answers
12 views

Adding Node Reference to a Comment

Drupal 7. If I add a Node Reference field to a node content type (with Reference from URL as a widget,) this field appears in the rendered content and can be used to jump to the referenced node. I ...
0
votes
0answers
3 views

Calender mini block link to monthly full calender

I'm using calendar module with the mini calendar block. The days with events are linked to the full calendar day view, but I want them linked to the full calendar month view. I already tried to ...
0
votes
3answers
13 views

How to make the content fills the space after the sidebar ends in a drupal site?

Im in a project and the client wont accept the fact that the sidebar region go until the footer, even if is, he wants the sidebar stops when the sidebar content finish, and the main content fills the ...
0
votes
0answers
6 views

Use Services module to send email?

I have a non-Drupal site that has a sign-up form. I'm using the Services module to submit user creation requests via ajax. This works very well. Now I need to add a secondary action that will send a ...
0
votes
1answer
21 views

Warning: strlen() expects parameter 1 to be string, array given in drupal_validate_utf8()

I have been getting this error: Warning: strlen() expects parameter 1 to be string, array given in drupal_validate_utf8(). After troubleshooting I was able to figure out line that cause this error ...
0
votes
0answers
4 views

How to apply a class to og group content that has Group content visibility Private or is private because of the group setting

In organic groups, group content can be invisible if either the group is private and the content has 'Use group defaults' as group content visibility setting, or the group content has its group ...
0
votes
1answer
11 views

Add a class to the first li.pager-item for Views pager?

How can I add a class to the first li.pager-item for for a Views pager? I know that I need to make a theme override of theme_pager ...
0
votes
0answers
7 views

How to get mediaelement to stream wmv from remote site?

I have mediaelement module installed as well as mediaelement library. Created content type with video link field, format "media element video", where I can enter the url of the video I wish to play. ...
0
votes
1answer
6 views

Can you filter nodes in a view by the last date of one node referencing that node

So I have two content types Tours and Concerts. Concerts has an entityreference field that references a tour. I want to filter a view of Tours and only show tours that still have upcoming concerts. ...
0
votes
1answer
12 views

How to override “action” of a form?

after a form submission I want to redirect to an url. The "action" attribute of the form is ['#action']=homepage. How can I override this? I have used this code function ...
0
votes
2answers
16 views

Menu links at the corners of the screen

Used omega theme and stumped at menu part. Top right - Home Top Left - Work Bottom Left - Contact Bottom Right - FAQ Tried to set 2 menus: top and bottom in menu zone and then set id to each links ...
0
votes
1answer
12 views

Change Dashboard Theme

I'm using the core dashboard. For roles that are not admin it is empty (permissions are set). I'm pretty sure that is because of the theme (other roles do not see the backend theme). So how can I ...
0
votes
2answers
14 views

Add foreign key to schema using hook_update_N

I've written a module that establishes a child/parent relation ship between magazine issues and the articles in each issue. The idea is that by associating articles with magazine issues they can all ...
0
votes
0answers
9 views

ajax modal open on drupal view

I created a drupal view. On the gallery view, there are links of file detail. Each time I click the button, it opened a modal and it background page automatically goes to the home page. How could I ...
3
votes
2answers
88 views

Policy Question: Can I Use a Submodule that Does Not Follow Drupal Code Guidelines?

I have a fairly extensive plugin system that I wrote. It uses an MVVM pattern, where the lions' share of the code is in a cross-CMS class. I haven't submitted the Drupal plugin to the Drupal repo, ...
0
votes
0answers
9 views

programmatically get bundles from field collection?

Say I have the machine name of a given field collection. How can I programmatically get the names of the node bundles where one would find this field collection? This would be the same information you ...
0
votes
0answers
18 views

Pre-Populating a Form Field with something other than its default value

I'm having a strange problem. I am constructing a form with checkboxes to toggle email subscription preferences on and off. For the new user sign-up form, this is straightforward: ...
0
votes
0answers
3 views

Conditional fields for commerce products: Hide Product Display main photo if Commerce Product Main Photo there is?

I can't construct my Condition in Node display Manager. My nodes of type "Product Display" have references to some products. The products may have and may not have own photos (if only one photo there ...
1
vote
0answers
20 views

How to load taxonomy terms from user profile field using entityfieldquery()?

I want to write hook_node_form_alter() and limit taxonomy terms with only user checked terms on his profile in field_companies. I can't pass the 1st step - load array of user checked terms from ...
0
votes
1answer
14 views

How to find if file was successfully uploaded to webform

I am using the file field in webform, I would like to check if the file was successfully uploaded. I was using .onChange But that only means that a file was attempted to be uploaded. How can I ...
0
votes
0answers
8 views

Drupal 7 Search Api facet widgets in multiple blocks

I am using Drupal Search Api module, I have configured all the needed stuffs. But right now am having the exposed filter only in the specified page. But I want to display the filters as well as home ...
0
votes
1answer
17 views

How do you upload files using the RestWS module?

I have a remote front-end application under development and I would like to interface with Drupal as a backend service, using the RestWS module to create a RESTful service to my Drupal instance (using ...
0
votes
1answer
14 views

Cache-Control: no-cache despite allowing cache for anonymous users

We have a D7 site I'm trying to cache with Varnish. The assets are caching fine but for some reason every page is served with this header: Cache-Control: no-cache, must-revalidate, post-check=0, ...
0
votes
0answers
11 views

Database scheme inconsistant warning

I'm not familiar with troubleshooting this type of error I'm seeing in the status report screen. How should I proceed?
0
votes
1answer
12 views

Get logged in user id in api calls

I am working on an existing site where it has exposed api's via a custom module. There's a new requirement where an api should only be accessed by authenticated user. For that theres a login api ...
0
votes
0answers
6 views

Views pre render File Path as image With Colorbox formatter using theme_image_formatter?

I have a View for an image gallery set up in Drupal 7, the idea was to pull in various images from all over the website, as the images themselves come from several different fields it was hard to get ...
0
votes
0answers
7 views

How can I implement user timezone & user's last login in this format?

Im trying to create a block and I'm having trouble. I'm trying to get the user's last login & the user's timezone. How can I implement those functions in these hooks. All I know is the fact that ...
0
votes
0answers
10 views

Programmatically create block for specific user [duplicate]

I want to create a block which only visible to some of the registered user only.How can I do that programmatically or from custom module?
0
votes
0answers
6 views

How to use a term's URL in Views so the path can be rewritten?

I have a node view. I need to create a link to a term that the node it tagged with, but also add an additional part to this URL. So I need something like mysite.com/term-url/additional-bit For SEO ...
0
votes
0answers
10 views

Fetch database from database.I [on hold]

Data in database is russian language. when i am fatching it, it will come in qestion mark type of format. I want to convert fetch data in russian language. now it is coming in like question mark.
0
votes
0answers
9 views

Passing Argument in Drupal 6 not working

Im very new to drupal. Recently I have started learning drupal 6 with reference project done by my friend. It was having so many bugs and fixed most of from the list. Still Im not getting how hook ...
1
vote
1answer
34 views

localhost not showing /import

If I navigate to http://localhost:8080/import I am taken back to the index page. If I navigate to http://localhost:8080/?q=import I am take to the import page. If I navigate to ...
1
vote
0answers
29 views

Programmatically show message to only specific user

I made a custom module where I dynamically fetched some username from database. Now I want to send some message or data those user's dashboard, meaning when the selected user logged in to the website ...
0
votes
0answers
7 views

an alternative method for field_multiple_value_form

Is there a way to use an alternative method for field_multiple_value_form($field, $instance, $langcode, $items, &$form, &$form_state) I just want to avoid that draggable widget. Or maybe ...
0
votes
0answers
4 views

AJAX Errors on Scald-enabled CKEditor

I have a Scald-enabled CKEditor text field. Most of the time it's working fine – I can drag and drop images and change the context – all fine. When dragging and dropping files however I sometimes get ...
0
votes
1answer
7 views

In drupal with Rules module have to restrict the edit and delete options using Field value “approved”

In my website i add three roles. user, tester and admin. when user submit the content, tester will check and approving it. My need is before the content will be "approved" user can edit and delete his ...
-3
votes
0answers
17 views

update recurring fee billing info but next charge date doesn't change

So I was doing some testing to make sure the subscription site that I created would be all good but I did this test and I cannot seem to get the paid subscription site to function as a normal ...
2
votes
1answer
52 views

Site name div selectively in an h1 tag, affects markup and css

So, the position of my site title and logo have been moving around on different pages. I was pulling my hair out until I compared the html outputs of the pages where the logo moves and it appears ...
3
votes
1answer
49 views

Request a page - as admin - via command line to build up cache

Folks: I have a pretty hefty view page which has been overridden with template files to produce a custom gantt chart for a long list of users. For each row of gantt data - the outputted html is ...
1
vote
1answer
18 views

View Field, Insert View, View Reference, Block Reference, Insert Block: which to choose to embed a view in a page [on hold]

I have a view I would like to embed in a page with some other content. The page is for logged-in users only. I could make a page or a block version of the view. I could make a new content type or not ...
1
vote
1answer
18 views

How-to display a product variation field twice (or more)?

I want simply display a field of a product variation type (commerce) two times with different render settings. I have tried with a dynamic field (display_suite) but it not working... I would prefer ...
0
votes
1answer
28 views

Two drupals sharing users, news and products [on hold]

I have an installed and well configured drupal with over 100 of users, news and an ubercart with 3000 products. I would like to create a subdomain where I have the same user base and contents (news ...
1
vote
1answer
32 views

Passing a custom variable from preprocess view to a template file

I am preprocessing a view in order to create a custom variable and then pass it to a view template file. I have added the following code to the template.php file: function ...
0
votes
1answer
15 views

Masking event title if marked as “private” (Views, Pathauto…)

I'm creating a calendar in D7 using an Event content type, which will include a Private checkbox. If it's set: Users with the appropriate permission will see the node title as it was entered. ...
1
vote
0answers
18 views

Setting Drupal Image Field via Services, and image won't attach to node?

I'm uploading an image via my iOS app and setting a created node's image field to the image through Drupal Services. Everything appears to be correct (see uploaded photo from 'Recent Logs'). However ...

15 30 50 per page