Skip to main content

All Questions

Tagged with or
Filter by
Sorted by
Tagged with
2 votes
1 answer
437 views

Taxonomy jump list in view in parent/child order

I have a taxonomy vocabulary of universities with their parent states. I then added this taxonomy field to the user profile so I could indicate what university the person was from. I'm trying to get ...
1 vote
2 answers
803 views

How to hide /node/ , /taxonomy/, /mymodule/, etc., from the URL path

I have the module Path auto installed. I would like that the user could not access the content by the URL http://www.myexample.com/node/7 and instead would have to follow the menu and other webpage ...
1 vote
1 answer
537 views

How to place the language switch in the main menu bar?

The language switch appears on the bottom of the page. How can I move it to the main menu?
1 vote
1 answer
517 views

Hide url in subdirectory install?

in my site I use version 7 of Drupal and Linux OS on the server, and need to hide the subdirectory of the installation when access by LINK ... explaining better: Current link: www.site.com/folder I ...
0 votes
1 answer
531 views

How to use the uc_csv module for getting reports

I am using the ubercart module for purchasing products. I want to export the order records/history as csv file and view it in spreadsheet. So I searched and got the uc_csv module. I have installed the ...
1 vote
1 answer
536 views

Checkboxes, Radios, 'select or other' wont render inside table select element

I want to render elements of type checkboxes or radios inside tableselect, but what I get are empty html tags. Textfield and select type elements render fine. Basically this renders fine. $...
0 votes
1 answer
524 views

Confirmation pop up on login submit

I have built a site using drupal 7.41. I have added the login form by adding this line in my page.tpl.php "print render($page['login_container']);". When user click on the login button I want to show ...
0 votes
1 answer
444 views

No working link to network files

For an intranet solution I would like to add a bunch of rather static links in Drupal to network files which change from time to time and are maintained by people not using Drupal. To achieve this I ...
1 vote
1 answer
658 views

Importing shapefiles/kml

I need to add support for importing either kml file or shapefiles, preferably using feeds. The idea is that each record relates to a single node, and the file uploaded could contain hundreds of new ...
2 votes
1 answer
636 views

entity_metadata_wrapper langcode always prints default language

I'm using entity_metadata_wrapper with entity translation to print fields in a template, but it always prints the default language when using a langcode in the options. $wrap = ...
1 vote
1 answer
628 views

How do I fill the authors name in a term reference field?

Content type stock contains the term reference field field_producer. What is the rule for Rules in order to fill this field with the node author name on creation? In detail The form looks like: -- ...
0 votes
1 answer
431 views

Views Pager, Can I change Items per page dynamically as provided input?

Is it possible to send Items per page limit in query string of view page url and get records according to that?
0 votes
2 answers
572 views

How to programmatically add a link to an image field in a view

I have a view with an image field and other fields, and I need to link the rendered image, not the content which is one of the configuration choice, but on another computed filtered view. I think that ...
0 votes
1 answer
851 views

Wrapping fields together in a Views Exposed Filter

I'm trying to insert divs (or any tag) in my exposed filter form with the purpose of grouping related fields together. I want to have something like this: <div class="my-group"> field one ...
2 votes
2 answers
597 views

How can I update file attachment and keep filename?

I understand changes of file attaching in D7, but problem is, if I delete and re-upload changed file, the deleted file is still on server and re-uploaded filename gets changed. If I understand ...
0 votes
1 answer
486 views

How can I display the Google rich snippets when a view is on "Show: fields" and the panel enabled?

I am building a site using Drupal 7 and the schema.org module and the microdata module. The site is live on production server (and works good). When checking a url from my site site on the google rich ...
1 vote
2 answers
4k views

How might I have Webforms save files to private file system or as a database blob?

In Drupal 7, I have the file system configured as In the code for the Webforms' file component located at sites/all/modules/webform/components/file.inc, it appears that one could easily change it so ...
4 votes
2 answers
978 views

Contextual filter with hierarchical taxonomy terms

Using contextual filters, I have created a view which shows a page of users at us/california, based on a taxonomy I have made of locations. This taxonomy is hierarchical, though, so when the user ...
0 votes
1 answer
484 views

Change text format used for text field when displayed in a view?

I have a content type with a text field that may contain a token from the Media module (that WYSYWIG inserts). This token is typically transformed into HTML by enabling a specific filter for the text ...
1 vote
2 answers
997 views

How to get a complete list of blocks that are active content on current page?

I'm trying to get a full list of blocks that are active content on the current page. Preferably it would include details of what type of content is displayed in the block. I need this information to ...
0 votes
1 answer
1k views

Error on views page. Any idea what this means?

Uncaught exception thrown in session handler. PDOException: SQLSTATE[08S01]: Communication link failure: 1153 Got a packet bigger than 'max_allowed_packet' bytes: UPDATE {sessions} ...
1 vote
1 answer
786 views

Cannot install modules

I am very new to Drupal so please excuse me if this is an easily answered question. Basically I wish to install CKEditor, however when I upload the module thorugh the online installer I am greeted ...
4 votes
1 answer
750 views

Import a node with its path alias

I'm using ne-impot and ne-export with drush for importing and exporting nodes. When exporting, as part of the uuid module, the URL alias is included with the export. However, when importing a node, ...
2 votes
1 answer
729 views

Why cannot anonymous users vote, even though they have permission for it?

I installed the Fivestar module and added the Stars (rated while viewing) field in a content type. I gave to the rate content permission anonymous users. They can see all the content and the voting ...
0 votes
1 answer
474 views

Combine hook_search_execute

I have hook for user_search_execute and node_search_execute for both user and nodes but i want to merge both into mymoduel_search_execute but only node_search_execute uses index not ...
0 votes
1 answer
520 views

if empty statements in views fields or field templates

Normally, my situation is easily solved using views rewrite feature. However, in this case I am unable to use views rewrite because I have data attribute tags in the field wrappers that are stripped ...
1 vote
2 answers
656 views

How to display the output of my module without clearing cache and refresh page?

I created a very simple module which generates a tag cloud based on user input; you can see the code here. // wow.module function wow_menu() { $items = array(); $items['wall/of/words'] = ...
1 vote
2 answers
801 views

Set value for new field automatically based on another field

I want to add a new date field to an existing content type, and set the new field automatically for existing nodes to be equal to another date field from that content type. For example, if the new ...
0 votes
1 answer
2k views

403 forbidden error when loading images in test server

Am working with drupal7.When images are loading below error is showing in my test site console: GET sites/default/files/styles/slideshow_full/public/plans/30989/main-image/...
1 vote
1 answer
1k views

In search result page, pagination is not showing up

I have migrated a site from Drupal 6 to Drupal 7. I have rendered the search form in page.tpl.php as follows: <?php $block = module_invoke('search','block_view','form'); print ...
0 votes
1 answer
467 views

How to insert a hashed password into table users?

I'm using services module, but i've created my own resource 'login', I'm using $data to store username + password. When i use postman, I put a text plain for password, and in my service code i've ...
2 votes
1 answer
614 views

Migrate : Update not working

Im using the migrate module to import data from a json feed. Mostly work fine however, i require that each time the feed is imported , updated records in the source are updated in the destination if ...
2 votes
1 answer
538 views

Arrange formatted fields in Views row using a template

I want to render the rows of my “Recent content” Views page using a template in order to subdivide the rows into multiple divs, freely move around the rendered fields within these divs, and apply ...
0 votes
2 answers
486 views

Add exposed filter for user roles

In Ubercart, the uc_order view (admin/structure/views/view/uc_orders) uses exposed filters for status and order ID. I can add another filter, for example username, email and so on by clicking on Add ...
1 vote
1 answer
687 views

block view is not displaying

This problem starts with the subtheme. I am using drupal 7 with a subtheme based on omega 3.1. For some reason node title and admin tabs are displaying only on the home page and two basic pages, ...
0 votes
1 answer
544 views

Programatically Submitted Form With 'file' Field Throws Notice

This seems to actually be a problem in Drupal itself. In /modules/file/file.field.inc the function file_field_widget_form has a line like this near the bottom (just before the return statement): $...
0 votes
2 answers
941 views

Change max length of signature field to more than 255 characters

How can I change the max length of the drupal 7 signature field to more than 255 characters? I've already changed the sql data type from 255 to varchar(900), yet drupal still shows the error, as soon ...
3 votes
1 answer
601 views

How do you use hook_query_alter to get inside a query's creation?

I'm getting no love from hook_query_alter. I have a simple query to which I want to add a tag, while also adding a node_access tag. Thus the whole query looks like this: $the_nodes = db_select('...
3 votes
1 answer
1k views

Permission rebuild fail

My Drupal 7 site is upgraded from Drupal 6. When I install the Domain Access (not installed with Drupal 6) module, I need to rebuild permissions. I tried rebuilding them from the administrative pages,...
1 vote
1 answer
607 views

General error: 1366 Incorrect integer value while uploading image

I am using Drupal 7 and I got the following error while uploading an image. PDOException: SQLSTATE[HY000]: General error: 1366 Incorrect integer value: '' for column 'field_third_section_image_width' ...
1 vote
2 answers
435 views

URL paths in optimized CSS sometimes are https instead of http

The expanded URLs inside my optimized CSS files are sometimes getting generated with https instead of http. This appears to happen randomly. Doing a cache clear, recreates the optimized CSS and ...
0 votes
1 answer
1k views

Include Lead Forensics code in all pages

I'm trying to include the tracking code Lead Forensics gave me. The code is: <script type="text/javascript" src="http://www.path-trail.com/js/11111.js"></script> <noscript><img ...
0 votes
2 answers
2k views

Insert values into a node fields with entity wrapper

I've tried to use entity wrapper to create a new node and insert the values into the fields, but I get an error. <?php $values_entity = array( 'type' => 'anuncio', 'uid' => $userid, ...
1 vote
2 answers
2k views

How to remove webform error message?

How to remove webform error message? I need to be able to remove the error message form. For instance, if I have an email field and for some reason did not pass the validation is not to show a ...
0 votes
2 answers
426 views

Views partial Contextual Filter on username

I have a view of users with a contextual filter for username which works great for whole usernames, but I need to allow this to work with partial names, or specifically whole words (userames are full ...
1 vote
1 answer
439 views

Count total number votes a user has gained

I am using rate module where users can plus or minus the articles created by an author. Now, in the profile page of the author, I want to display the total number of votes he/she has got from all his ...
0 votes
1 answer
497 views

Relationship with webform submission

I have a view displaying a list of nodes. Each node has a webform submission related, and the sid is stored in one field "field_sid". I'd like to be able to access the submission data in the ...
3 votes
1 answer
456 views

Select an Image style depending on external/dynamic factors (theme region or other field content)

I have a Bean (bundle that generates blocks) which I display in one of 2 different theme regions. Either in the header, or the footer. This Bean contains an Imagefield, which is rendered through an ...
0 votes
3 answers
807 views

receiving incorrect url from amazon s3 module

I am using drupal 7. I have installed amazon s3 module and its dependencies. I have created a bucket for saving my files on amazon server. Everything went good.. But when i try to get the path for the ...
0 votes
1 answer
543 views

feeds importer tamper double importing image

Using feeds import with tamper to split up images at a | our database has thousands of products and only some of them have an image and then some have a second image (a room view of the product) and ...

1
2 3 4 5
530