I'm pretty sure this fixes title issues default tip
authorDan Fuhry <dan@enanocms.org>
Sun, 18 Sep 2011 01:39:38 -0400
changeset 23 6a501b41907f
parent 22 7f0d9fa561f4
I'm pretty sure this fixes title issues
plugins/Newsboy.php
--- a/plugins/Newsboy.php	Sun Jan 10 17:36:47 2010 -0500
+++ b/plugins/Newsboy.php	Sun Sep 18 01:39:38 2011 -0400
@@ -165,7 +165,8 @@
     
     function build_cdata()
     {
-      if ( $this->page_id == 'Portal' || $this->page_id == 'Article' )
+      list($page_id_base) = explode('/', $this->page_id);
+      if ( $page_id_base == 'Portal' || $page_id_base == 'Article' || $page_id_base == 'Archive' )
       {
         $config_title = getConfig('nb_portal_title');
         $this->cdata = array(