nexus_6
  • Member for 9 years, 4 months
  • Last seen more than 4 years ago
How to show a block on pages with url parameters?
Accepted answer
2 votes

Found the answer Restrict block to specific pages is broken when using view pagination Turns out the block I was trying to display was a View which was also set to display a pager (even though one ...

View answer
Block not displayed on translated views page
1 votes

Ok, I figured out the issue was there was a menu position rule for consumers/news* in any language appearing under a menu item in the English language menu. I set this rule to be English only then ...

View answer
Translate strings in custom module
1 votes

As usual, I work it out shortly after posting a question. Here's what I needed to do if anyone else has this issue. The block I was trying to translate was only configured to display on the en ...

View answer
Commerce Shipping - arbitrary calculations
1 votes

I found a module that does exactly what I want: Commerce Shipping Weight Tariff. I set up three services, one for each destination, and used rules based on the shipping address to work out which ...

View answer
Display user register form in template?
0 votes

I ended up displaying the form directly on the page instead. template.php function mytheme_preprocess_page(&$variables) { if (drupal_is_front_page()){ if (!user_is_logged_in()) { ...

View answer
Hide form behind PayPal payment
Accepted answer
0 votes

What I ended up doing was creating a separate page with a generated PayPal button. You can include a hidden field called 'custom' that you can use to pass in your own data so I included the current ...

View answer
$_POST empty in custom callback
Accepted answer
0 votes

There must have been some kind of bug or I set it up wrong because the next day it started working fine.

View answer
EntityFieldQuery get total of paged results
0 votes

As usual, I find an answer soon after asking :P If anyone's wondering, there is a global $pager_total_items https://api.drupal.org/api/drupal/developer!globals.php/global/pager_total_items/7

View answer