Fork me on GitHub

Problems with banner in Pixelrave theme  Bottom

  • Hi,

    I'm a newbie when it comes to PHP, so please don't shoot for me this question...

    I've activated banners on my postnuke-site (0.723), and I'm using the Pixelrave Theme... On the top of the page, there's a space in which there is currently an image (splash-bg.gif), which I want to replace with banners. I've tried several things, but none of them seem to work. This is the code which is in theme.php right now:

    // Banner Display
    echo "

    \n";
    pnBannerDisplay(1);
    echo "

    \n";

    echo "\n";
    echo "\n\n\n\n\n\n\n\n\n\n\n"

    ."\n"
    ."\n"
    ."\n"

    ."\n"
    ."\n"
    ."
    \""._WELCOMETO." \n"

    // Search Form
    ."
    \n"

    If you visit www.hobbytuin.be/htm/html you can see that the banner is centered on the top of the page, as you can also see in the code.
    But what code do I have to use to put the banner where the splash-bg.gif is right now ?

    thanks,

    Jurgen
  • Just add it to the table cell:

    Code

    ."<td align=\"right\" valign=\"top\" background=\"themes/HTM-07/images/splash-bg.gif\" width=523 height=58>\n"


    Like this :)

    Code

    ."<td align=\"right\" valign=\"top\" background=\"themes/HTM-07/images/splash-bg.gif\" width=523 height=58>\n";

    // Banner Display
    pnBannerDisplay(1);

    // Search Form
    echo "</td>\n" //see the echo!
    ."</tr>\n"
    ."</table>\n"


    Kindest regards
    Lobos

    --
    -Lobos
    Professional PHP Framework Services: Concept, Development and Deployment
  • With respect, it should be:

    Code

    // Banner Display
    pnBannerDisplay('1');
  • OK, it works now ! Thanks !
  • jsivins

    With respect, it should be:

    Code

    // Banner Display
    pnBannerDisplay('1');


    LOL, it's been a long time since I've used the "old" way to make themes!

    --
    -Lobos
    Professional PHP Framework Services: Concept, Development and Deployment
  • Quote

    LOL, it's been a long time since I've used the "old" way to make themes!


    Well once the new theme engine comes out, I will be busy getting all the xpZone stuff converted over. It is always fun to play with older format - keeps me from forgettting all the programming stuff I have done. Remember "if you don't use it, you lose it". 8)
  • Is there a way to get this theme to work on the latest version of PostNuke? Or are there ANY themes similar to it? thanks a lot in advance.
    -mark
  • Where did you get the theme from? I will try to download it from http://www.pixelmayhem.com and see if I can get it to work on my test system.

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