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
| JModel::addIncludePath(JPATH_SITE.'/components/com_content/models', 'ContentModel'); | |
| $model = JModel::getInstance('Article', 'ContentModel'); | |
| $article=$model->getItem(); | |
| foreach($article as $key => $value) { | |
| if ($key = 'catid') { | |
| echo "catid $value"; | |
| } | |
| break; | |
| } |
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
| body { | |
| font-size: 76%; | |
| } | |
| #body-container { | |
| width: 96%; | |
| } | |
| #body-container .gutter { | |
| margin: 0 2%; | |
| } |
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
| $doc = JFactory::getDocument(); | |
| $doc->addStyleSheet('templates/' . $this->template . '/css/screen.css','text/css','screen'); | |
| $doc->addCustomTag('<meta name="author" content="Matt Thomas, matt@betweenbrain.com" />'); | |
| $doc->addFavicon('templates/' . $this->template . '/favicon.png','image/png','shortcut icon'); | |
| $doc->addScript('https://raw.github.com/LeaVerou/prefixfree/master/prefixfree.min.js'); |
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 defined('_JEXEC') or die; | |
| $doc = JFactory::getDocument(); | |
| $doc->addStyleSheet('/templates/system/css/screen.css'); | |
| $doc->addStyleSheet('/templates/system/css/general.css'); | |
| $doc->addStyleSheet('templates/' . $this->template . '/css/default.css'); | |
| ?> | |
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
| <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" > | |
| <head> | |
| <jdoc:include type="head" /> |
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
| Index: components/com_docman/assets/css/doclink.css | |
| IDEA additional info: | |
| Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP | |
| <+>UTF-8 | |
| =================================================================== | |
| --- components/com_docman/assets/css/doclink.css (revision 2a61a685c476f7a9c5780fa1aad1fae07892c1e5) | |
| +++ components/com_docman/assets/css/doclink.css (revision ) | |
| @@ -9,7 +9,7 @@ | |
| */ | |
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
| Replace <li>(<span>.+?</span>) (<a .+?</a>)</li> with: <li>$2 $1</li> - https://twitter.com/#!/NoNumber_nl/status/204938777389576194 |
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
| background: #666; | |
| background-image: -webkit-gradient(radial,center center,125,center center,800,from(white),to(#4C4C4C)); | |
| background-image: -moz-radial-gradient(50% 50% 90deg,circle farthest-side,white,#4C4C4C); | |
| position: fixed; | |
| left: 0; | |
| top: 0; | |
| z-index: 999; |
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
| from: https://groups.google.com/forum/#!msg/joomla-dev-general/WfMoTdxf6hg/Mgep5T42i0EJ | |
| <?php echo JHtml::_('sliders.start', 'slider-panel-id', array('useCookie'=>0, 'startOffset'=>-1, 'startTransition'=>1)); ?> |
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
| update jos_content set introtext = replace(introtext,'<table style=\"width: 800px; height: 304px;\" border=\"0\">','<table border=\"0\">'); |