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

TOPIC: Second Language

Second Language 09 Jun 2015 10:01 #6853

Hello,
Is it possible use a second language using this template?

  • Posts:9
  • ribiciclo
  • Fresh Boarder
  • OFFLINE
  • Karma: 0

Re: Second Language 10 Jun 2015 02:33 #6854

Yes, you can use a second language using this template. You may edit templates/jf_creativia/index.php, add:
 
$lang = JFactory::getLanguage();
 

and change:
 
if ($menu->getActive() != $menu->getDefault())
 

to:
 
if ($menu->getActive() == $menu->getDefault($lang->getTag()))
 


joomfreak

  • Posts:2726
  • isupport
  • Moderator
  • OFFLINE
  • Karma: 0
  • Page:
  • 1
Time to create page: 0.81 seconds
Tuesday 26 March 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.