


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 selects San Francisco, they no longer appear on the page. I would like... read more
How to open jquery dialog on menu click
I would like to open a jquery dialog that asks a question before taking the user to the desired page (ie do some page set-up before they get there). The catch here is that I would like to open the dialog when the user clicks the menu item. I am not sure how to go... read more
Load a variation (or Line Item) based a previous choice
I asked this similar question already (Variations price adjust based on previous variation), but I am thinking to make the solution more ‘base’. Is there a way to ‘load’ different fields based on a selection of a previous field? If I select... read more
Views: Apply a wrapper to every 3 and 6 group of rows
My Views Output is as follows <div class=”views-row-1″>Content</div> <div class=”views-row-2″>Content</div> <div class=”views-row-3″>Content</div> <div... read more
I need to reference a custom field I created in User Profile
I used Drupal 7 computed fields to calculate weight loss. This is what I current have. Which works in a sense but only where the user inputs their initial weight and subtracts their current weight to track the total weight loss at the time of the input. But I need it... read more
Data overlay filter
I have an OpenLayers View created to display products at various locations. I have some locations that don’t have any products yet; therefore, should NOT be displayed. My page view filters these out perfectly but the Map still displays the locations without... read more
How to prevent a PDO exception when using Rules to Set a data value after saving new content?
I need to write a rule that edits some elements of the node, as soon as it is created. Unfortunately Drupal doesn’t like that and crashes whenever you try to save the node within a rule that was triggered by “After saving new content”. Event: After saving... read more
Block showing Parent Taxonomy Term of current Node
Ok my taxonomy is setup like this: Holiday Cards Trees Bears Religious So the goal is to display a node belonging to ‘Trees’ but in that node I need to have a block that shows the Parent Item of ‘Holiday Cards’ (along with the description of... read more
How to add a tabbed menu on group main page (panel)?
I managed to get panels working with og 7.x-2.1 following: – http://modulesunraveled.com/organic-groups/part-3-organic-groups-layout – http://www.initsix.co.uk/organic-groups-panels-and-views-drupal-7 Now I’d like to add a tabbed menu on the... read more
Displaying titles of collapsed menus
I’m currently converting a mock-up and I need to display four menus in a list, the first two are expanded, and I need to display both the titles and menu items, and the next two are collapsed, so I need to display the titles but not the menu items. It should... read more
Using Views for a custom table with multi-value fields
I have a custom table with two columns – the primary is simply entity IDs (nids), and then there is a data column, but it it can be a multi-value (from 1 to anything). How can I structure the MySQL table and create a view that will blend a list of entities... read more
Imagecache_external: Thumbnails of external URLs aren’t accessible
Modules: Imagecache External, Media, Remote Stream Wrapper Scenario: I created a content type, in which I want to collect Movie Actors. My aim is to add images of those actors which arent hosted on my drupal site itself. They are being linked via Remote Stream Wrapper... read more
The block isn’t shown on the front page
I have a view block that shows a sub-set of nodes. In the configuration page, the autopreview section shows content, so I know the filters for the view are set up correctly. I configured the block to show on only the listed pages and entered <front> for the... read more
How can I populate a node field based on a user field?
I have an “address” field among the user fields. Here users can specify several entries for their addresses. They can create orders (these are custom content type nodes). The order node has a “shipping address” field. Users should be able to... read more
Progress bar advances, operations does nothing
I’m trying to create a batch to import users. I used this (http://pastebin.com/duTbxpgd) as an example, but somehow it’s not working. I see the progress bar advancing and It’s showing the right number of rows I’m processing. But what I’m... read more
How to determine the source (views/modules/blocks, etc) of content in different URLs?
I am working on re-designing an existing site for which I need to edit the output of each page (i.e. each URL). Is there a good way to determine where the data is coming from? By “where” I mean, is it a ‘View’? or from a module? or combination... read more
How to add html tags to account setting emails?
I am working on a project where I need to add some custom headers to the email which we send to the user on registration. Is there a module which support this functionality? read more
Resetting/reverting a custom module’s update ‘N value’
In my custom module’s install file I have a hook_update_N function. Let’s say it’s mymodule_update_7100. However, I’ve noticed that I’ve done it wrong and I want to change a line of code within this function. Seeing as I’ve already... read more