Fork me on GitHub

Watch

GitHub Core

Show your support for Zikula! Sign up at Github account and watch the Core project!




GitHub Modules

Forum Activity

Forum feed

» Visit forum | » View latest posts

Admin Message Problem  Bottom

  • I installed and am using NetSoft-Blue Theme. In all my other themes I have tried my Admin Message Shows up fine but in this theme I is no place to be found. I checked my admin and the message is there, but it will not show.

    Can anyone help with this.
  • The problem is the theme is a little old. It's missing a call for the centerblocks.

    In the theme.php file, where it goes

    Code

    ."<td width=\"150\" valign=\"top\">\n";
        blocks('left');
        echo "</td><td width=\"100%\" align=\"center\" valign=\"top\">\n";
    }

    /************************************************************/
    /* function themefooter()                                   */
    /*                                                          */
    /* Control the footer for your site. You don't need to      */

    add these lines just before the closing curly brace } and line with asterisks:

    Code

    if ($GLOBALS['index'] == 1) {
            blocks('centre');
        }

    so it reads

    Code

    ."<td width=\"150\" valign=\"top\">\n";
        blocks('left');
        echo "</td><td width=\"100%\" align=\"center\" valign=\"top\">\n";
        if ($GLOBALS['index'] == 1) {
            blocks('centre');
        }
    }

    /************************************************************/
    /* function themefooter()                                   */
    /*                                                          */
    /* Control the footer for your site. You don't need to      */

    Haven't tested it, but that should fix the problem. Your search box probably won't work, either, and there could be a few other similar niggling problems.

    Martin :D
  • Thanks.. it worked great!
  • Good, now you can change your avatar to a less-stressed smilie!

    Martin :D
  • This almost worked on the Lovely Day theme for 0.726 also... Only thing wrong is that the admin message only fills part of the width...

    Any clue?

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