Skip to content

Commit

Permalink
4.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
PhocaCz committed Feb 10, 2023
1 parent e6eafd8 commit 8577c80
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions phocaopengraph.php
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,6 @@ public function onContentAfterDisplay($context, &$row, &$params, $page=0) {
$option = $app->input->get('option');// article, category, featured
$itemid = $app->input->get('Itemid');


/*if ($view == 'article' && $app->input->get('id') != $row->id) {
// Page displays article so we want to set metadata for main content article only
return;
Expand All @@ -134,7 +133,7 @@ public function onContentAfterDisplay($context, &$row, &$params, $page=0) {
if ($view == 'featured' && $this->params->get('displayf', 1) == 0) { return; }
if ($view == 'category' && $this->params->get('displayc', 1) == 0) { return; }


if ((int)$this->pluginNr > 0) { return; } // Second instance in featured view or category view

$itemids = $this->params->get('disable_menu_items', '');
Expand Down
2 changes: 1 addition & 1 deletion phocaopengraph.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<extension type="plugin" group="content" method="upgrade" version="4.0">
<name>plg_content_phocaopengraph</name>
<author>Jan Pavelka (www.phoca.cz)</author>
<creationDate>08/02/2023</creationDate>
<creationDate>10/02/2023</creationDate>
<authorEmail></authorEmail>
<authorUrl>https://www.phoca.cz</authorUrl>
<copyright>Jan Pavelka</copyright>
Expand Down

0 comments on commit 8577c80

Please sign in to comment.