Problem with views on multi lingual site.

Hello all,
My site has three enabled languages: Englisch, Deutsch and Français. Content is enabled with either "language neutral" or a language set.
I have a view that shows a particular type of custom content. The problem I have is that the view is not showing what I want.
- If the user has selected "english", the default site language the view shows both english and language neutral content.
- If the user selects "français" or "deutsch" he only gets content in that language. I want however language neutral content to be shown too. What do I need to configure?

Image path in php from views ?

Hi all,

I'm new on Drupal.

I actually do my custom pages from views, and i use the code to get my fields:
print $fields['entity_id_1']->content;

But if my entity is a picture and i want the filepath how i do that?
All i've found is:
echo render(file_create_url($node->entity_id_1['und'][0]['uri']));

But it doesn't work.

Thank you for your time.

$content array disappears when anonymous user

Hi,

Im a bit of a newie to Drupal so any help would be apperciated! thanks in advance..

I have written some code to get some data from an array eg:

============================================
$total_images = $content['field_gallery_img']['#object']->field_gallery_img;

what are the main differences in Drupal 6 & Drupal 7 theming?

Can anyone plz post a link that illustrates the main differences between theming in Drupal 6 and Drupal 7?

How to catch all optional arguments for a page callback?

I'm working on a module with a page callback that will parse a bunch of optional arguments. I know that optional arguments are passed on (as described in the hook_menu documentation), but short of defining an endless list of variables in the callback function like

function mymodule_abc_view($a = '', $b = '', $c = '', $d = '') {
...

is there a way to pass all the arguments on as an array for example?

Title of top level book node - how to get it from arbitrary child node?

I want to use the title of the top level book page on my page, which is a child page at an arbitrary level of the book hierarchy. How can I do this?

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x