VISIT AND LIKE OUR PAGE ON FACEBOOK
TAKE A LOOK AT OUR TWEETS ON TWITTER
SUBSCRIBE TO THE JOOMFREAK RSS FEED
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
  • 2

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:20
  • Karnatz
  • Junior Boarder
  • OFFLINE
  • Karma: 0

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

You mean you want to create multilingual site?

joomfreak

  • Posts:2821
  • 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:20
  • Karnatz
  • Junior 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:2821
  • 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:20
  • Karnatz
  • Junior Boarder
  • OFFLINE
  • Karma: 0

Re: Bilingual copyright php 30 Sep 2016 22:34 #9519

all right, but what place could i put that code?
what file?
where?
thaks a lot.
J.C. Arana

  • Posts:20
  • Karnatz
  • Junior Boarder
  • OFFLINE
  • Karma: 0
  • Page:
  • 1
  • 2
Time to create page: 1.27 seconds
Friday 18 October 2019

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.