Multi language support

attiks - April 7, 2009 - 07:25
Project:SlideShowPro
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

I'm using this with ssp director, so inside my node-page.tpl.php file i use the following code

        $ssp_args = array (
          'path' => 'ssp_director/images.php?album=' . $node->field_sspalbum[0]['value'],
        );

The problem is that the path goes through the url function, but I'm using multiple languages, so I changed line 192 in slideshowpro.module

  $flash_vars = 'xmlfilepath='. url($args['path'], array('absolute' => TRUE, 'language' => ''));

 
 

Drupal is a registered trademark of Dries Buytaert.