Closed (fixed)
Project:
Corporate Clean
Version:
7.x-1.4
Component:
User interface
Priority:
Major
Category:
Support request
Assigned:
Reporter:
Created:
6 Mar 2012 at 13:41 UTC
Updated:
6 Mar 2012 at 16:20 UTC
Hi,
I'm a new guy for Drupal. And I really like the corporate clean theme. But the silde show can not show the Chinese characters such as "中文", and I tried to add some code like "charset=utf-8" in the "page.tpl.php" page which did not work.
Also I use some other country's characters not in English, they also can not show. Is there any chance that I can fixed this with change some code in "page.tpl.php" file?
Comments
Comment #1
gtsopour commentedHello Allen,
Try to configure your slideshow through Drupal's User Interface. In order to achieve this, you should disable the hardcoded slideshow through CorporateClean theme settings, create a Drupal block, put inside your new block the slideshow markup and place it in the "Banner" region.
More Than (just) Themes wiki page or even the page.tpl.php's source code will guide you regarding the actual slideshow markup http://wiki.morethanthemes.com/index.php?title=Corporate_Clean:Demonstra...
Thanks
/George
Comment #2
beck0505 commentedWith many thanks I've solved this problem.
But with one more question, is if I use
<img class="masked" src="<?php print base_path() . drupal_get_path('theme', 'corporateclean') ;?>/mockup/products.jpg"/>I can not get the image show.
And if I use
<img class="masked" src="./sites/all/themes/corporateclean/mockup/products.jpg" />the image will be shown. Is there any problem can cause this happening?
My system is Windows 7 x64, and use WAMP as server.
Comment #3
gtsopour commentedHello Allen,
I'm glad to hear that you solved your issues. You can keep your image path.
Just for your info, the following declaration implies that your node has PHP input format
<img class="masked" src="<?php print base_path() . drupal_get_path('theme', 'corporateclean') ;?>/mockup/products.jpg"/>Thanks
/George
Comment #4
beck0505 commentedYour are very nice man. Thanks a lot.
Comment #5
gtsopour commentedAllen, thank you so much for your nice words.
Welcome to the Drupal Community.
Thanks
/George