diff --git a/html/com_content/article/default.php b/html/com_content/article/default.php index 6f9ac1d..18a52b6 100644 --- a/html/com_content/article/default.php +++ b/html/com_content/article/default.php @@ -1,7 +1,5 @@ get('info_block_position', 0); +//Get some parameters from the template +$app = JFactory::getApplication(); +$template = $app->getTemplate(true); +$tparams = $template->params; + // Check if associations are implemented. If they are, define the parameter. $assocParam = (JLanguageAssociations::isEnabled() && $params->get('show_associations')); JHtml::_('behavior.caption'); @@ -27,34 +30,34 @@ //Create FB Open Graph and Twitter Cards if (isset($images->image_intro) and !empty($images->image_intro)) { - $timage= htmlspecialchars(JURI::root().$images->image_intro); + $timage = htmlspecialchars(JURI::root().$images->image_intro); } elseif (isset($images->image_fulltext) and !empty($images->image_fulltext)) { - $timage= htmlspecialchars(JURI::root().$images->image_fulltext); + $timage = htmlspecialchars(JURI::root().$images->image_fulltext); } else { - $timage= 'https://www.masterbootstrap.com/images/217x196xprofessortocat-compressor.png.pagespeed.ic.F75ysx_X8Q.webp'; + $timage = ''; } $doc =& JFactory::getDocument(); $doc->addCustomTag( ' - - + + - + - - - - - - - - + + + + + + + + '); //End FB Open Graph and Twitter Card diff --git a/html/com_content/article/default_links.php b/html/com_content/article/default_links.php deleted file mode 100644 index 484613e..0000000 --- a/html/com_content/article/default_links.php +++ /dev/null @@ -1,79 +0,0 @@ -item->urls); - -// Create shortcuts to some parameters. -$params = $this->item->params; -if ($urls && (!empty($urls->urla) || !empty($urls->urlb) || !empty($urls->urlc))) : -?> - - diff --git a/templateDetails.xml b/templateDetails.xml index f8bedf1..e6a8739 100644 --- a/templateDetails.xml +++ b/templateDetails.xml @@ -94,18 +94,18 @@
- - - - + + + +
- + - + @@ -117,26 +117,34 @@ -
+ -
- - - - -
+
+ + + + +
-
- - - - - - - - - -
- +
+ + + + + + + + + +
+ +
+ + + + + +
+