NEw Menu Block Question  Bottom

  • I have tried to put this final line of the menu2 block modification:

    echo "\n\n\n";

    No matter where I put it, I get an error in my theme. Can you please tell me where in the following code to place this line?

    The new block can be found at www.mypurdue.com and is called menu2

    Joe Dunn
    joedunn@fiberpipe.net



    function themeheader() {

    global $bgcolor1, $bgcolor2, $bgcolor3, $bgcolor4, $index, $thename;
    $slogan = pnConfigGetVar('slogan');
    $sitename = pnConfigGetVar('sitename');
    $banners = pnConfigGetVar('banners');


    // Change this to the number of Columns you are using!
    $Columns = "2"; // If you do not change it then your blocks will NOT Work right!
    // 1 = Column 1 2 = Column 1 & Column 2 3 = Column 1,2,3
    // 2 BLOCKS TURNED ON BY DEFAULT

    if($Columns == 1){
    $width = "100%";}
    else
    if($Columns == 2){
    $width = "50%";}
    else
    if($Columns == 3){
    $width = "33%";}


    echo "";
    echo "";

    echo "
    "
    ."
    "
    ."$sitename"
    ."
    <font class="\"pn-slogan\"">$slogan



    ";pnBannerDisplay(); echo"
    "
    ."

    ";
    echo "
    ";

    blocks('left');
    echo "\"\"
      ";
    if ($index == 1){
    blocks('centre');
    echo ""
    ."";
    if($Columns == 1 OR $Columns == 2 OR $Columns == 3){
    echo "";
    }
    if($Columns == 2 OR $Columns == 3){
    echo "";
    }
    if($Columns == 3){
    echo "";
    }

    echo ""
    ."
    ";
    blocks('1');
    echo "
    ";
    blocks('2');
    echo "
    ";
    blocks('3');
    echo "
    ";

    echo "
    ";
    blocks('7');
    echo "
    ";
    }
    echo "
    ";
    }
  • goes in the head before the
  • 0 users

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