changing files url to media url to fix the article link problem
authorAnthony Talarico <talarico@gaslightmedia.com>
Wed, 5 Apr 2017 13:32:17 +0000 (09:32 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Wed, 5 Apr 2017 13:32:17 +0000 (09:32 -0400)
css/front.css
models/front/obits/detail.php

index e7794fe..5e05914 100644 (file)
@@ -253,11 +253,10 @@ table tr.odd, table tr.alt, table tr:nth-of-type(n){
     border-right: 1px solid lightgrey;
 }
 .footable > tbody > tr > td.footable-row-detail-cell, .footable > tbody > tr > td.footable-first-column{
-
-
-}
-.footable > tbody > tr > td.footable-row-detail-cell, .footable > tbody > tr > td.footable-first-column{
    
+}
+.footable > tbody > tr > td.footable-row-detail-cell, .footable > tbody > tr > td.footable-first-column a{
+    
 }
 .footable > tbody > tr > td.footable-row-detail-cell, .footable > tbody > tr > td.footable-first-column a:hover{
     color: #A62800;
index f19b11a..ea4d033 100644 (file)
@@ -87,7 +87,7 @@ class GlmMembersFront_obits_detail extends GlmDataObits
 
     public function modelAction($actionData = false)
     {   
-        $article_url = GLM_MEMBERS_PLUGIN_FILES_PATH;
+        $article_url = GLM_MEMBERS_PLUGIN_MEDIA_URL;
         
         if ( isset( $_GET['obit'] ) ){
             $obit_id = filter_var( $_GET['obit'], FILTER_SANITIZE_STRING );
@@ -99,7 +99,7 @@ class GlmMembersFront_obits_detail extends GlmDataObits
         $obit = array_values($obit)[0];
         $article = $article_url . '/files/'.$obit['obit_article'];
 //             echo '<pre>',print_r($obit), '</pre>';
-        
+        echo $article_url;
         // Compile template data
         $templateData = array(
             'obit'      => $obit,