Fork me on GitHub

Missing Admin messsage in Postnukeblue100  Bottom

  • Hi,

    I am missing Admin message on index page when using PostNukeBlue100. Admin message works just fine with other themes. Any Ideas?

    Thanks in advance.
  • Works here. Is it a recent download? Else try redownloading from link below.
    check these lines exist, from around line 382 before the Opentable fubctions:

    Code

    } // End centre blocks, begin Admin message
    elseif ($block['position'] == 'c') {  
        echo $block['content']."<BR>\n";
         } //End center blocks
    } //End themesidebox function

    /************************************************************/
    /* OpenTable Functions                                      */

    That outputs the Admin message. Do I take it that any centre block outputs OK? Else, you can do a search for "CenterCol", and you should find in the themeheader function:

    Code

    <TD id="CenterCol" width="100%" border="0" cellspacing="1" cellpadding="0" valign="top">
    <?php  if ($index == 1) {   // Is it the home page, then display in center block ?>
    <!----- Center block start ----->  
        <DIV id="AdminMsg">
    <?php  blocks('centre'); ?></DIV>
    <!----- Center block end ----->
    <?php  } // End centerblock ?>

    blocks('cnetre'); is what outputs centre blocks and admin message on the condition that the homepage flag is set $index==1
    You could try changing if ($index == 1)
    to
    if ($GLOBALS['index'] == 1)
    shouldn't make a difference, but could be something in the PHP setup of the server.

This list is based on users active over the last 60 minutes.