Which hook do I use to alter product entity data in a product display?

Which hook do I use to alter product entity data in a product display?

In Drupal Commerce, which hook do I use to alter product entity data in a product display?** And it needs to be a hook that fires each time I change an attribute that causes a different product entity to be loaded in the display. I added a line item to my product type... read more
Which hook do I use to alter product entity data in a product display?

Adding Gmap to webforms

I allready download gmap, location and some other modules that in this catagory and still I dont succeed to add a field in gmap type to my webform page so users could put it their location (not in the register of the users, in the form that I build! How do I do it? I... read more
Which hook do I use to alter product entity data in a product display?

Permission for translating menu items via the menu config screen

I have a multi language Drupal site, Using i18n and the entity translation approach. Translating menu items from an node works well, but not all the menu items are driven by the nodes. Now as user/1, I have permission to translate any menu item from the menu config... read more
Which hook do I use to alter product entity data in a product display?

Sync user roles across websites

I am using Drupal 7. I want to sync my Drupal website roles on 2 websites on the same top level domain, as in, one is example.com, the other is other.example.com, how can i achieve this? Bakery module does not seem to share user roles, and i want to avoid sharing... read more
Which hook do I use to alter product entity data in a product display?

Multiple Webforms in one View

I have 4 webforms on a site and I would like to be able to display the data from each of those in a table using a view. Each of the forms has a “First Name” “Last Name” “Phone Number” and “Email Address” field, along... read more
Which hook do I use to alter product entity data in a product display?

Advice on how to fix Workbench Moderation error messages

(n00b drupal person) I seem to be suffering the problems described in https://drupal.org/node/1966908 and https://drupal.org/node/1966920. Basically I have installed the following: drupal-7.26.tar.gz media-7.x-1.4.tar.gz views-7.x-3.7.tar.gz ctools-7.x-1.3.tar.gz... read more
Which hook do I use to alter product entity data in a product display?

Use print_pdf in the background on node save?

As the Print module’s creation of a PDF can be quite slow (and use a lot of memory/CPU), is it possible to save a PDF into the public:// files area each time a node is saved? Has anyone done this? Presumably you could call a save-PDF function on... read more
Which hook do I use to alter product entity data in a product display?

Hide products from a view

I know this may be very basic but I can’t seem to figure out a way to hide a product that I’ve got set up in Drupal Commerce. I’m new to Drupal so thanks for your patience. I am using the Expressa theme. In the product’s edit screen, I go to... read more
Which hook do I use to alter product entity data in a product display?

How to show form elements within PDF by print module?

I’m using the print module to convert a node to a PDF. I see that there is the print.tpl.php for theming, but where can I say that I want to show form elements (eg. input fields, radiobuttons, ..) within the PDF? read more
Which hook do I use to alter product entity data in a product display?

Expand views visible fields with ajax

I’m searching for a module that can expand the number of visible fields in a particular view result with a mouse click. I’m probably not searching with the good words because I only thing I found is thing like “infinite scroll” or “view... read more
Which hook do I use to alter product entity data in a product display?

The "Remove" button is not working

I’m using a “managed file” to upload an image, which works fine, but if you want to remove the image by clicking on the “Remove” button, nothing happens. $form[‘logo’] = array( ‘#type’ =>... read more
Which hook do I use to alter product entity data in a product display?

Pagination using XML Views Backend

We’re using the Views XML Backend module to display XML data in our Drupal site from an XML-based Web API. (We actually have an integration tool wrapping the API, so we can transform data going into the Web API call. For example, I’m transforming JSON data... read more
Which hook do I use to alter product entity data in a product display?

Storing and retrieving custom field value of a webform in/from database?

I have altered a webform by adding a date field in different language like chinese in Drupal 7. But what steps are required to store custom field value in database and retrieving value when webform results are accessed? I used hook_form_alter() to add custom date... read more
Which hook do I use to alter product entity data in a product display?

EntityDrupalWrapper->value() causes infinite recursion on user login?

I have a few instances on my site where I perform actions on User Login. I create an EntityMetadataWrapper like so: global $user; $uw = entity_metadata_wrapper(‘user’, $user); And then I go to retrieve values like this: $special_value =... read more
Which hook do I use to alter product entity data in a product display?

How do I turn off maintenance mode?

Does anyone know how to turn off maintenance mode for brainfx? I tried http://www.website.com/?q=user/login but that gives me a blank page (no html source or anything). I tried the following query. UPDATE `variable` SET `value`=’0′ WHERE ‘name’... read more
Entity Reference View Widget problem with add selective

Entity Reference View Widget problem with add selective

I am using a content type which uses a field as “Views” Entity Reference View Widget. When I click “add selective” or “add .. and close” in form of this widget, it’s just redirect to http://localhost/denwer. How do I solve... read more
Which hook do I use to alter product entity data in a product display?

How to Limit Node Revisions

I added the diff module that keeps all node Revisions (it seems that I can’t limit the number of Revisions to keep). Is there a code I can use where I can set a limit of the number of Revisions to keep? If so, where to add it? read more
Which hook do I use to alter product entity data in a product display?

Save checkboxes value into another checkbox field

I’d like to save the value of a checkboxes field which is link to a product once I save my content type. I’ve created the code needed to create the product and the node. When the node is in creation mode everything appear as it should and my node... read more
Which hook do I use to alter product entity data in a product display?

How can I show help to a user one time only?

How can I show help to a user one time only? On my node form, I have some inline help under a few of the fields. I would either like the user to be able to close/hide the help or the help to be removed after a user has visited the page, so the user will not see the... read more