<?php
// Initialize variables.
$db = JFactory::getDbo();
$subQuery = $db->getQuery(true);
$query = $db->getQuery(true);
// Create the base subQuery select statement.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @package Article Form override for Joomla 3 | |
* @copyright Copyright (c) 2014 Sander Potjer - www.perfectwebteam.nl | |
* @license GNU General Public License version 3 or later | |
*/ | |
defined('_JEXEC') or die; | |
JHtml::_('behavior.keepalive'); |
Here are a few common tasks you might do in your templates, as they would be written in ExpressionEngine vs. Craft CMS.
-
For the very first time if you didn't configured remote repository then do it using this command.
git remote add upstream [email protected]:joomla/joomla-cms.git
-
Fetch changes from remote repository.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// For IE | |
.btn-inverse:active, | |
.btn-inverse.active { | |
background-color: #080808 \9; | |
} | |
// Add 'btn-flat' to your buttons | |
.btn-flat { | |
filter:progid:DXImageTransform.Microsoft.Gradient(enabled='false'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
div[style] { | |
background: yellow !important; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SEBLOD Importer | |
======================================== | |
- create/open CSV file (use first row for column titles to make editing easier) | |
- NB! make sure the following columns exist (id, title, catid) | |
-- id (joomla core auto increment if not specified) | |
-- title (if not specified timestamp will be used) | |
-- catid (set a default category else will be save as uncategorised) | |
-- OPTIONAL - ADD ANY OTHER ARTICLE COLUMNS | |
- match existing exclusive columns (i.e. LOCKED -TABLE: cck_store_form_your_content_type - storage [standard - article - field_name]) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.btn-group-radio input[type=radio] { | |
visibility: hidden; | |
position: absolute !important; | |
top: -9999px !important; | |
left: -9999px !important; | |
} | |
.btn-group-radio input[type=radio]:checked + .btn { | |
color: #333333; | |
background-color: #e6e6e6; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Solo Queries | |
*********************************************/ | |
/* Phones (portrait and landscape) */ | |
@media only screen and (min-device-width: 320px) and (max-device-width: 480px) {} | |
/* Phones (landscape) */ | |
@media only screen and (min-width: 321px) {} | |
/* Phones (portrait) */ |