From: Anthony Talarico Date: Thu, 25 May 2017 12:46:54 +0000 (-0400) Subject: adding article_a to the detail view otherwise already uploaded articles will be hidden X-Git-Tag: v1.0.3^2 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=45eb998181c96605e680b3f3517f0526d7ffe9b2;p=WP-Plugins%2Fglm-member-db-obits.git adding article_a to the detail view otherwise already uploaded articles will be hidden removing the ability to add article_a but still showing the previously uploaded articles from the database import --- diff --git a/models/front/obits/detail.php b/models/front/obits/detail.php index 8be3a95..708b927 100644 --- a/models/front/obits/detail.php +++ b/models/front/obits/detail.php @@ -98,6 +98,7 @@ class GlmMembersFront_obits_detail extends GlmDataObits $obit = array_values($obit)[0]; $article = $article_url . '/files/' . $obit['obit_article']; + $article_a = $article_url . '/files/' . $obit['article_a']; $article_b = $article_url . '/files/' . $obit['article_b']; $article_c = $article_url . '/files/' . $obit['article_c']; @@ -105,6 +106,7 @@ class GlmMembersFront_obits_detail extends GlmDataObits $templateData = array( 'obit' => $obit, 'article' => $article, + 'article_a' => $article_a, 'article_b' => $article_b, 'article_c' => $article_c, diff --git a/views/front/obits/detail.html b/views/front/obits/detail.html index 2650317..a6eb86d 100644 --- a/views/front/obits/detail.html +++ b/views/front/obits/detail.html @@ -59,6 +59,11 @@
+ +
Article A:
+ +
+
Article B: