Hello there! Welcome to Youjoomla Support Forums

We are Web Development Company specializing in Joomla Templates , Joomla Extensions and WordPress Themes development . You are not able to see some forum threads due to your memberhip level. To unlock all forums and special customer support please take few moments to signup . If you are just searching for free joomla templates , or free joomla extension support simply head to our Free Joomla Support forums and open a new thread. Our moderators will help you as soon as possible. To spead up the response time please take few seconds and go over forum rules

Have fun!

Multilingual SEO FOR LOGO H1 TAG

05-31-2011, 02:07 PM
# 1 (permalink)
rocaloca
Hello,

Thanks for a great template.
I have almost finished my company site http://www.simplicityweb.es with one of your templates...

Now my page is multilingual.

I have chosen to use SEO FOR LOGO H1 TAG in the template manager... "This feature when set to yes, activates the first h1 tag within your logo. For good SEO you can place your sites description and keywords within this H1 tag"

For the moment I have set the description and keywords in German language but need to add them to Spanish and English...

I guess the descrption as well as the keywords are safed in the DB.

Is there a workaround to use that feature multilingual - such as putting the description and keywords in a language file or....

I hope you can help me :-)

Best regards

Sven
07-05-2011, 03:41 AM
# 3 (permalink)
rocaloca
Hello Neo,

I just made it possible to add a different Logo H1 Seo Text for each language (hard coded):

Open:
templates/youryoujoomlatemplate/yjsgcore/yjsg_headerblock.php
and
templates/youryoujoomlatemplate/layouts/mobile/yjsg_handheld.php

Go to the line:
<h1><a href="<?php echo $yj_base ?>" style="height:<?php echo $logo_height?>;" title="<?php echo $tags?>"><?php echo $seo ?></a> </h1>
Now change both files to:
<h1><a href="<?php echo $yj_base ?>" style="height:<?php echo $logo_height?>;" title="<?php echo JText::_('SEO')?><?php //echo $tags?>"><?php echo $seo ?></a> </h1>

Open:
language/en-GB/en-GB.tpl_youmedia.ini
And add the following line:
SEO="Your SEO Text in English"

Now create the en-GB.tpl_youmedia.ini file for each language you are using on your website - I take German as an example:

Create:

language/de-DE/de-DE.tpl_youmedia.ini
And add the following line:
SEO="Your SEO Text in German"

Done - now you have your SEO Text working in German - you can do this for all languages you are using - BUT you cannot adjust it anymore in your Administration's Template SEO Settings!
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Powered by vBulletin®
Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.

Members Login

Username
Password