This file contains 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
.row-centered { | |
text-align:center; | |
} | |
.col-centered { | |
display:inline-block; | |
float:none; | |
text-align:left; | |
margin-right:-4px; | |
} |
This file contains 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
$app = JFactory::getApplication(); | |
$path = JURI::base(true).'/templates/'.$app->getTemplate().'/'; |
This file contains 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
$plugin = JPluginHelper::getPlugin('my_plugin_type', 'my_plugin'); | |
// Check if plugin is enabled | |
if ($plugin) | |
{ | |
// Get plugin params | |
$pluginParams = new JRegistry($plugin->params); | |
$param1 = $pluginParams->get('param1'); | |
$param2 = $pluginParams->get('param2'); |
This file contains 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
Twitter: #41b7d8 | |
Facebook: #3b5997 | |
Google: #d64937 | |
LinkedIn: #0073b2 | |
Vimeo: #388fc5 | |
Flickr: #ff0084 | |
Pinterest: #cb2027 | |
Skype: #00aff0 | |
Youtube: #c4302b | |
Instagram: #3f729b |
This file contains 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
#system-message-container #system-message dt{display:none;} | |
#system-message-container #system-message dd{margin:0; padding:10px;} | |
#system-message-container #system-message dd ul{margin:0; padding:0;} | |
#system-message-container #system-message dd ul li{margin:0; padding:0;} | |
#system-message-container #system-message dd.error.message{background: none repeat scroll 0 0 rgba(218, 49, 75, 0.2); color: #DA314B;} | |
#system-message-container #system-message dd.message.message{background: none repeat scroll 0 0 rgba(16, 151, 244, 0.2); color: #075C97;} | |
#system-message-container #system-message dd.success.message{background: none repeat scroll 0 0 rgba(140, 193, 76, 0.2); color: #8CC14C;} | |
#system-message-container #system-message dd.warning.message{background: none repeat scroll 0 0 rgba(250, 167, 50, 0.2); color: #FAA732;} |
This file contains 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 | |
$url = ContentHelperRoute::getArticleRoute($article->id.':'.$article->alias, $article->catid); | |
?> |
This file contains 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
/* resolucion 800 x 600 */ | |
@media (min-width: 800px) and (max-width: 959px) { | |
} | |
/* resolucion 768 x 1024 */ | |
@media (min-width: 768px) and (max-width: 799px) { | |
} |
This file contains 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 | |
JPATH_ADMINISTRATOR The path to the administrator folder. | |
JPATH_BASE The path to the installed Joomla! site. | |
JPATH_CACHE The path to the cache folder. | |
JPATH_COMPONENT The path to the current component being executed. | |
JPATH_COMPONENT_ADMINISTRATOR The path to the administration folder of the current component being executed. | |
JPATH_COMPONENT_SITE The path to the site folder of the current component being executed. | |
JPATH_CONFIGURATION The path to folder containing the configuration.php file. | |
JPATH_INSTALLATION The path to the installation folder. | |
JPATH_LIBRARIES The path to the libraries folder. |
This file contains 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 | |
// Editar fichero components\com_content\router.php | |
// Dentro de función ContentBuildRoute(&$query) | |
// Cambiar $advanced = $params->get('sef_advanced_link', 0); por | |
$advanced = $params->get('sef_advanced_link', 1); | |
// Dentro de función ContentParseRoute($segments) | |
// Cambiar $advanced = $params->get('sef_advanced_link', 0); por | |
$advanced = $params->get('sef_advanced_link', 1); |
This file contains 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
// Básico | |
<?php $menu = & JSite::getMenu(); | |
if ($menu->getActive() == $menu->getDefault()) { | |
echo 'This is the front page'; | |
} ?> | |
// Multi-idioma | |
<?php | |
$app = JFactory::getApplication(); | |
$menu = $app->getMenu(); |
NewerOlder