Fork me on GitHub

How to set an image as your site title?  Bottom

  • Hey all.

    I have installed postnuke and I have been playing with it for a while but I can't seem to get an image to go on the top of the page. What would I have to edit as it only shows my site title at the top.

    my site is http://www.ps-crew.co.uk/

    Any help would be very appreicative. :)

    Regards

    Carl
  • Edit the theme.... themeheader() or whatever HTML file is referenced there...

    --
    Get PhotoGallery, PayPalCart, Dynamenu, Enhanced Blocks & other mods

    Cape Cod Travel Info...
  • Hmm is that easy to do? Im not great at PHP by any means... im using the C-Tango theme if that helps...
  • Code

    //This is the theme header - the layout that is rendered before the modules
    function themeheader()
    {
        global $all_vars, $simple_urls, $simple_uri;
        if ($simple_urls && $simple_uri=="old") {
               ob_start();
        }

        extract($all_vars);

        atThemeRender($output['header']);
      if ($simple_urls && $simple_uri == "new") {
            $contents = ob_get_contents();
            ob_end_clean();
            ob_start();
            echo simplify_urls($contents); //display modified buffer to screen
      } // End Simple URL


    Is this what I have to modify?
  • Code

    <html>

    <head>
    </head>

    <body>
    <div align="center"><center>

    <table border="0" cellpadding="0" cellspacing="0" width="770"
    style="border: 1px solid rgb(0,0,0)">
      <tr>
        <td width="100%" height="80" bgcolor="#903A4B" valign="middle"><div align="center"><center><table
        border="0" cellpadding="5" cellspacing="0" width="100%">
          <tr>
            <td width="250" valign="top"><font class="pn-sitename"><!-- [site-name] --></font></td>
            <td><p align="right"><!-- [banners] --></td>
          </tr>
        </table>
        </center></div></td>
      </tr>
      <tr>
        <td width="100%"
        style="border-top: 3px double rgb(0,0,0); border-bottom: 3px double rgb(0,0,0)"
        bgcolor="#000000" height="20"><div align="center"><center><table border="0"
        cellpadding="0" cellspacing="0" width="98%">
          <tr>
            <td width="30%" height="20"><font size="2" color="#C0C0C0"><strong><!-- [user-welcome] --></strong></font></td>
            <td width="70%" height="20"><p align="right"><font size="2" color="#C0C0C0"><strong><!-- [site-slogan] --></strong></font></td>
          </tr>
        </table>
        </center></div></td>
      </tr>
      <tr>
        <td width="100%"><div align="center"><center><table border="0" cellpadding="0"
        cellspacing="0" width="100%">
          <tr>
            <td width="140" valign="top" style="border-right: 1px solid rgb(0,0,0)"><!-- [left-blocks] --></td>
            <td width="100%" valign="top"><div align="center"><center><table border="0"
            cellpadding="0" cellspacing="0" width="98%">
              <tr>
                <td width="100%"><!-- [center-blocks] --></td>
              </tr>
              <tr>
                <td width="100%"><!-- [modules] --></td>
              </tr>
            </table>
            </center></div></td>
            <td width="1" valign="top" style="border-left: 1px solid rgb(0,0,0)"><!-- [right-blocks] --></td>
          </tr>
        </table>
        </center></div></td>
      </tr>
      <tr>
        <td width="100%" style="border-top: 3px double rgb(0,0,0)" bgcolor="#f6f6f6"><p
        align="center"><!-- [footer-msg] --></td>
      </tr>
    </table>
    </center></div>
    </body>
    </html>


    or is this what I have to modeify?

    Please help :)
  • You modify the HTML, probably you want it in the area where the site name is...

    --
    Get PhotoGallery, PayPalCart, Dynamenu, Enhanced Blocks & other mods

    Cape Cod Travel Info...
  • Code

    <td width="250" valign="top"><font class="pn-sitename"><!-- [site-name] --></font></td>


    So this bit would need to be changed?
  • Be adventurous, CarlB... ;) If you do not know HTML I might suggest a primer before proceeding with Postnuke.

    --
    Get PhotoGallery, PayPalCart, Dynamenu, Enhanced Blocks & other mods

    Cape Cod Travel Info...

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