Zikula: A Flexible Open Source Content Management System
home | forum | contact us

Dizkus

Bottom
Admin Messages in admin and master.html
  • Posted: 10.05.2007, 01:30
     
    Fanatic
    rank:
    Freshman Freshman
    registered:
     April 2007
    Status:
    offline
    last visit:
    10.05.07
    Posts:
    16
    Ive been trying forever to get the admin messages to not show on any page but my home page. I recently installed a new theme and it looks very different from what im used to seeing in the core PostNuke themes.

    Here is the current code in my admin and master.html's:

    Code

    <!DOCTYPE HTML public "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html lang="<!--[lang]-->">
    <head>
    ">
    "
    >



    ">
    "
    >


     - http://postnuke.com" >

    ">
    <title><!--[title]--></title>
    /icon.png"
    type="image/png">
    /favicon.ico">
    <!--[additional_header]-->
    /style/style.css"
    type="text/css">
    <!--[modulestylesheet]-->
    </head>
    <body >
    <table width="100%" cellpadding="0" cellspacing="0" border="0">
    <tr>
    <td>
    <table width="100%" height="200" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td colspan="2">
         
            <param name="movie" value="<!--[$imagepath]-->/header_01.swf">
            <param name="quality" value="high">
            <embed src="<!--[$imagepath]-->/header_01.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="406" height="146"></embed>
        </td>
        <td width="100%" rowspan="2" background="<!--[$imagepath]-->/header_02.gif">&nbsp; </td>
        <td rowspan="2">
         
            <param name="movie" value="<!--[$imagepath]-->/header_03.swf">
            <param name="quality" value="high">
            <embed src="<!--[$imagepath]-->/header_03.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="392" height="200"></embed>
        </td>
      </tr>
      <tr>
        <td>
         
            <param name="movie" value="<!--[$imagepath]-->/navbar.swf">
            <param name="quality" value="high">
            <embed src="<!--[$imagepath]-->/navbar.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="280" height="54"></embed>
        </td>
        <td> <img src="<!--[$imagepath]-->/header_05.gif" width="126" height="54" alt=""></td>
      </tr>
    </table>
    </td>
    </tr>
    <tr>
    <td>
    <table width="100%" cellpadding="0" cellspacing="0" border="0">
    <tr>
    <td width="28" ><img src="<!--[$imagepath]-->/spacer.gif" width="1" height="1" border="0"></td>
    <td>
    <table width="100%" cellpadding="0" cellspacing="0" border="0">
    <tr>
    <td align="center" width="33%"><strong><!--[userwelcome]-->!</strong></td>
    <td align="center" width="34%"><!--[userlinks]--></td>
    <td align="center" width="33%"><strong><!--[datetime]--></strong></td>
    </tr>
    </table>
    </td>
    <td width="27" ><img src="<!--[$imagepath]-->/spacer.gif" width="1" height="1" border="0"></td>
    </tr>
    </table>
    </td>
    </tr>
    <tr>
    <td>
    <table width="100%" cellpadding="0" cellspacing="0" border="0">
    <tr>
    <td valign="bottom" width="28" ><img src="<!--[$imagepath]-->/left_bottom.gif" width="28" height="30" border="0"></td>
    <td width="5"><img src="<!--[$imagepath]-->/spacer.gif" width="5" height="1" border="0"></td>
    <td width="180" valign="top"><!--[$leftblocks]--></td>
    <td valign="top">
    <table width="100%" cellpadding="0" cellspacing="5" border="0">
    <tr>
    <td valign="top"><!--[$ZAREA1]--></td>
    <td valign="top"><!--[$ZAREA2]--></td>
    <td valign="top"><!--[$ZAREA3]--></td>
    </tr>
    <tr>
    <td colspan="3" valign="top"><!--[$centerblocks]--></td>
    </tr>  
    <tr>
    <td colspan="3" valign="top">
    <table width="100%" border="0" cellpadding="0" cellspacing="0">
    <tr>
    <td width="35" height="41"><img src="<!--[$imagepath]-->/story_page_01.gif" width="35" height="41" border="0"></td>
    <td  valign="bottom" align="center">&nbsp;</td>
    <td width="38" height="41"><img src="<!--[$imagepath]-->/story_page_03.gif" width="38" height="41" border="0"></td>
    </tr>
    <tr>
    <td width="35" ><img src="<!--[$imagepath]-->/spacer.gif" width="1" height="1" border="0"></td>
    <td ><br /><!--[$maincontent]--></td>
    <td width="38" ><img src="<!--[$imagepath]-->/spacer.gif" width="1" height="1" border="0"></td>
    </tr>
    <tr>
    <td width="35" height="22"><img src="<!--[$imagepath]-->/story_page_08.gif" width="35" height="22" border="0"></td>
    <td ><img src="<!--[$imagepath]-->/spacer.gif" width="1" height="1" border="0"></td>
    <td width="38" height="22"><img src="<!--[$imagepath]-->/story_page_10.gif" width="38" height="22" border="0"></td>
    </tr>
    </table>  
    </td>
    </tr>
    <tr>
    <td valign="top"><!--[$ZAREA4]--></td>
    <td valign="top"><!--[$ZAREA5]--></td>
    <td valign="top"><!--[$ZAREA6]--></td>
    </tr>
    </table>
    </td>
    <td valign="top"></td>
    <td width="5"><img src="<!--[$imagepath]-->/spacer.gif" width="5" height="1" border="0"></td>
    <td valign="bottom" width="27" ><img src="<!--[$imagepath]-->/right_bottom.gif" width="27" height="30" border="0"></td>
    </tr>
    </table>
    </td>
    </tr>
    <td >
    <table width="100%" border="0" cellpadding="0" cellspacing="0">
    <tr>
    <td width="35" height="41"><img src="<!--[$imagepath]-->/story_page_01.gif" width="35" height="41" border="0"></td>
    <td ><img src="<!--[$imagepath]-->/spacer.gif" width="1" height="1" border="0"></td>
    <td width="38" height="41"><img src="<!--[$imagepath]-->/story_page_03.gif" width="38" height="41" border="0"></td>
    </tr>
    <tr>
    <td width="35" ><img src="<!--[$imagepath]-->/spacer.gif" width="1" height="1" border="0"></td>
    <td align="center"><!--[footmsg]--><br /><a href="http://www.autothemes.com">Theme by AutoThemes.com</a></td>
    <td width="38" ><img src="<!--[$imagepath]-->/spacer.gif" width="1" height="1" border="0"></td>
    </tr>
    <tr>
    <td width="35" height="22"><img src="<!--[$imagepath]-->/story_page_08.gif" width="35" height="22" border="0"></td>
    <td ><img src="<!--[$imagepath]-->/spacer.gif" width="1" height="1" border="0"></td>
    <td width="38" height="22"><img src="<!--[$imagepath]-->/story_page_10.gif" width="38" height="22" border="0"></td>
    </tr>
    </table>
    </td>
    </tr>


    <span class="pn-sub"><!--[nocache]--><!--[pagerendertime]--><!--[/nocache]--></span>
    </body>
    </html>


    Ive tried removing this line here:

    Code

    <td colspan="3" valign="top"><!--[$centerblocks]--></td>


    But it did not do anything, I have force template recompilation checked and templates are NOT stored in my database. do I need to reupload the files to my webserver after I edit them or something?

    Im currently using the latest version of PostNuke.
  • Posted: 10.05.2007, 02:17
     
    AmmoDump
    rank:
    Professional Professional
    registered:
     December 2003
    Status:
    offline
    last visit:
    21.11.08
    Posts:
    2975
    remove the call for centerblock here...

    Put the call for centerblock in yourtheme/templates/modules/home.htm

    --
    David Pahl
    Zikula Support Team
  • Posted: 11.05.2007, 00:43
     
    Fanatic
    rank:
    Freshman Freshman
    registered:
     April 2007
    Status:
    offline
    last visit:
    10.05.07
    Posts:
    16
    That would be this line then correct?

    Code

    <td colspan="3" valign="top"><!--[$centerblocks]--></td>


    That is already in my home.html and I tried removing from admin.html and master.html

    Any Idea why this wont work?
  • Posted: 17.05.2007, 17:36
     
    thesubmitter
    rank:
    Softmore Softmore
    registered:
     January 2005
    Status:
    offline
    last visit:
    28.04.08
    Posts:
    52
    I Would go into my pnTemp folder and manually erase everything in the Child Folders

Main Menu

Extensions Database

Documentation

Development

Login

Donate to Zikula