Browse Source

Minor changes to pub module

spficklin 11 years ago
parent
commit
d1631741f4
2 changed files with 5 additions and 3 deletions
  1. 1 1
      tripal_pub/api/tripal_pub.api.inc
  2. 4 2
      tripal_pub/theme/tripal_pub_admin.tpl.php

+ 1 - 1
tripal_pub/api/tripal_pub.api.inc

@@ -664,7 +664,7 @@ function tripal_pub_add_publication($pub_details, &$action, $do_contact = FALSE,
       return FALSE;
     }
   }
-  print "PUB ID: $pub_id\n";
+  //print "PUB ID: $pub_id\n";
   // if there is a pub id and we've been told not to update then return
   if ($pub_id and !$update_if_exists) {
     $action = 'skipped';

+ 4 - 2
tripal_pub/theme/tripal_pub_admin.tpl.php

@@ -55,8 +55,10 @@ have been added to Chado database.</p>
 	<ol>
 		<li>Install the YAZ libraries: sudo apt-get install yaz libyaz4-dev</li>
 		<li>Install the PHP YAZ extension: sudo pecl install yaz</li>
-		<li>Add the text 'extesion=yaz.so' to the appropriate php.ini file
-		(e.g. /etc/php5/apache2filter/php.ini)</li>
+		<li>Add the text 'extension=yaz.so' to the appropriate php.ini file
+		(e.g. /etc/php5/apache2filter/php.ini). On Ubuntu you may need to
+		add it to the php.ini file specfic for the Apache webserver and 
+		also to the php.ini specific for the command-line.</li>
 		<li>Restart the webserver</li>
 	</ol>
 	</li>