VISIT AND LIKE OUR PAGE ON FACEBOOK
TAKE A LOOK AT OUR TWEETS ON TWITTER
SUBSCRIBE TO THE JOOMFREAK RSS FEED
CHECK OUT OUR PAGE ON GOOGLE +
VISIT OUR CHANNEL ON YOUTUBE

Account Details

Change your name, email, password or permanently delete your account. Change settings

We offer several ways you can get support from our experts: Support ForumKnowledgebaseNewsletter

Your Forum Posts

No posts to display.

Welcome, Guest
Username Password: Remember me
  • Page:
  • 1

TOPIC: Bilingual copyright php

Bilingual copyright php 11 Jun 2016 01:15 #8988

Hi dear friends:
just want to know is is there any possibility to improve or add some php in the template jf-calla exteriors ("index.php"), to make it work bilingual (the copyright), just like the menus or modules in any bilingual web.
J.C. Arana

  • Posts:13
  • Karnatz
  • Fresh Boarder
  • OFFLINE
  • Karma: 0

Re: Bilingual copyright php 13 Jun 2016 03:21 #8993

You mean you want to create multilingual site?

joomfreak

  • Posts:2017
  • isupport
  • Moderator
  • OFFLINE
  • Karma: 0

Re: Bilingual copyright php 14 Jun 2016 00:53 #9000

Hi there:
Nope, i mean in jf-callaexteriors template, there is no copyright module (2 modules: 1 for spanish and 1 for english)
How could i modify the index.php code (public_html/www.myweb.com/templates/jf_calla-exteriors/index.php)to make it work bilingual... just php, no modules.
J.C. Arana

  • Posts:13
  • Karnatz
  • Fresh Boarder
  • OFFLINE
  • Karma: 0

Re: Bilingual copyright php 14 Jun 2016 03:17 #9002

You can check language:
 
$lang = JFactory::getLanguage();
if ($lang->getTag() == 'en-GB') {
// copyright in English
} else {
// copyright in Spanish
}
 


joomfreak
The following user(s) said Thank You: Karnatz

  • Posts:2017
  • isupport
  • Moderator
  • OFFLINE
  • Karma: 0

Re: Bilingual copyright php 15 Jun 2016 00:01 #9007

Thank you so much for your time dear friend.
I'll try and comment back soon.
Vibezzz !!!
J.C. Arana

  • Posts:13
  • Karnatz
  • Fresh Boarder
  • OFFLINE
  • Karma: 0
  • Page:
  • 1
Time to create page: 0.62 seconds

joomfreak is not affiliated with or endorsed by the Joomla Project or Open Source Matters.
The Joomla logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.