Hello!
My website is translated in two languages (Italian and German). I was wondering if it's possible to have the slideshow in german on the german front page, and in italian on the italian page...
Anyone can help?
Thank you...

Comments

gtsopour’s picture

Assigned: symphonia » gtsopour
Category: feature » support

Hello symphonia,

Corporate Clean theme comes with a Slideshow implementation hard coded into the page.tpl.php. This choice allows you have a slideshow up and run just after the theme installation. Then you could dig into the source code and modify it according to your needs. Corporate Clean is also documented on More than Themes wiki page.

Corporate Clean gives the option to disable the build in hardcoded Slideshow implementation without dealing with PHP at all. Simple goto Corporate Clean theme settings and disable it. So, if you disable the Slideshow from page.tpl.php, then you can copy/paste the Slideshow code inside a Drupal System block. Finally, you should place this new block to Banner region and traslate this block as you translate all your other blocks.

I think that this is a simple solution.

Thanks
/George

symphonia’s picture

Assigned: gtsopour » symphonia
Category: support » feature

Thank you!! I tried this solution before, but I placed the slideshow in the worng region and I didn't disable it from page.tpl.php, so it didn't work... Now it's ok, all fine... thankx!!

gtsopour’s picture

Status: Active » Fixed
gtsopour’s picture

Assigned: symphonia » gtsopour

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

paul.lucas’s picture

I have one more question to that.

- I disabled the slideshow from the theme
- enabled php filtering
- creating a block with php as text format
- pasted the slideshow code into it and placed it in the banner region

First it simply didn't show up, right now I am playing around with the enabled filters of the text format "php" which resulted in the appearance of the text and some php code on the site.

Sry, I'm kinda new to Drupal and php, but what exactly do you mean by "system block"? is it sthg else than a regular block or did I do sthg else wrong?

ps: the php code should be correct, I took it from http://wiki.morethanthemes.com/index.php?title=Corporate_Clean:Demonstra...

Thanks for the help. I appreciate it.

Charlie Lenglez’s picture

Version: 7.x-1.4 » 7.x-1.6

Hi,
I was in the same situation : I'd like to translate the Corporate Clean slideshow on my site in French, Spanish and English. I'd just found your solution, applied it and it worked for the first part. I disabled the Slideshow from page.tpl.php, then created a new block with the Slideshow code (the only part I was unable to get correctly, I think, is the wrapper ? the 4 blue buttons on the bottom of the slideshow). But when I wanted to translate the text, I was told that as it's full HTML I'm not allowed to do it. Any suggestion ? Harmonia, were you able to translate into German and Italian ? How ?
Thanks for the help !

Charlie Lenglez’s picture

Hi again,
I was tired... I didn't check up my multilingual settings : the full HTML text format was not selected. As simple as that. Sorry