spot7.org logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML Categories
  Home » JOOMLA » Page 1
how to add two IDs in where condition in joomla query?
Try this $db->setQuery("SELECT content_item_id FROM #_contentitem_tag_map WHERE tag_id IN (id1,id2); USE mysql IN id IN (2,3,...)

Categories : Joomla

Determine default menu in multilingual site
You need to get the language and language tag as shown below <?php $app = JFactory::getApplication(); $lang = JFactory::getLanguage(); $currentMenu = $app->getMenu(); $fp = ($currentMenu->getActive() == $currentMenu->getDefault($lang->getTag())) ? ' frontpage' : ''; ?> <body class="<?php echo $fp; ?>">

Categories : Joomla

Does it matter to enter English(US) content over English (Uk) language set as default in Joomla 2.5?
For example I have set up the default language as English (UK) in Joomla configuration while installation and after that I have installed the virtue-mart with the same language. But the thing is my company is in USA not in UK. So does it matter to upload the English(US) content in virtue-mart or content manger. Basically every component and plugin which you install in Joomla takes the default lan

Categories : Joomla

Joomla user registration insert file
If you follow the code from com_users you will see that it loads and uses the Model UsersModelUser (loaded from /administrator/models/user.php ) which in turn uses the class JUser (loaded from /libraries/joomla/user/user.php ). If you want to create/alter users, you should load and instance of UsersModelUser and use it's load() to load an existing user and it's save() method to store any change o

Categories : Joomla

how to transfer joomla localhost from mac to pc?
Joomla cannot connect to your database. Open and inspect the mysiteconfiguration.php file. Depending on what version of Joomla you're using, the layout will differ, but your MySQL connection is not correct and should look something like below. Adjust the values accordingly and that should do it. public $dbtype = 'mysqli'; public $host = 'localhost'; public $user = 'root'; public $password = 'p

Categories : Joomla


Recently Add
I want change page heading position
how to add two IDs in where condition in joomla query?
Determine default menu in multilingual site
Does it matter to enter English(US) content over English (Uk) language set as default in Joomla 2.5?
Joomla user registration insert file
how to transfer joomla localhost from mac to pc?
© Copyright 2017 spot7.org Publishing Limited. All rights reserved.