How to link a view to the current language with a no results fallback to the default language?

How to link a view to the current language with a no results fallback to the default language?

I’ve already figured out how to link views to content language by the Content: Language filter. I know that I can create a second view to use as the No Results fallback and use the Global: View area to feed the other in. But to do this I have to: pollute my... read more
Enter object with dsm

Enter object with dsm

i am actualy trying to read a field value in my panelized node. I want to recieve the data in the red marked field, as u can see in my screenshot. I tried to following: <?php... read more
How to link a view to the current language with a no results fallback to the default language?

drupal_set_message() shows a message twice when called from hook_init()

Basically the issue is that drupal_set_message() shows a message twice on some pages, when it is called from hook_init(). How can I avoid it happens? read more
How to link a view to the current language with a no results fallback to the default language?

Profile field create and set default value programmatically

I need the checkbox to be checked by default. Below is my code, notice the ‘default_value’ under the settings array. $field_instance = array( ‘field_name’ => $fielddef[‘field_name’], ‘type’ =>... read more
How to link a view to the current language with a no results fallback to the default language?

Best way to use image styles with Media and WYSIWYG?

Up to now, I’ve been using the Insert + WYSIWYG + CKEditor to insert images with specific Image Styles in a wysiwyg interface. This works well, and it’s very easy to select and apply image styles (including colorbox variants) using Insert. I’m... read more
How to link a view to the current language with a no results fallback to the default language?

Order nodes based on entity reference filter

In my Drupal 7 website I have an A content type with an entity reference ‘parent’ field which I use to link to nodes of a B content type. I have to implement a way to sort A nodes basing on their B parent. Modules such as Nodeorder and Nodequeue... read more
How to link a view to the current language with a no results fallback to the default language?

wysiwyg ckeditor inline styling not working

I’m using wysiwyg api with ckeditor, but I can’t make it to use inline styles like when I use indent from editor, it actually drops the style (which is margin-left) in output. it’s not an override, it actually doesn’t even appear in the code... read more
How to link a view to the current language with a no results fallback to the default language?

How to setup event registration and paypal payment?

We have events and we take registrations for them. Entity Registration module is installed for that purpose and it’s working great. Now, since those events are paid events, we want to implement PayPal payment method as well. The problem is we need to combine the... read more