Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • siwi2524 Friend
    #131934

    Edit: this issue has been solved. Scroll down to the bottom of the page.

    Using the latest svn of PUArcade, whenever I enter one of the games, my left and right module positions get shifted down below the content of the page. I have used a temporary workaround of disabling all the modules in both positions when inside PUarcade, but it also effects pages with no menu item correlations. Is there any way to fix this issue so i can get my site looking the way it should?

    John Wesley Brett Moderator
    #264371

    Can you provide us with a URL so we may diagnose it? Thank you.
    John.

    siwi2524 Friend
    #264372
    John Wesley Brett Moderator
    #264375

    Hi…you’ve got your “mainbody” extending the full width of the page.

    Try this in your template.css (line 615)

    Change this:


    #ja-containerwrap-fr #ja-mainbody {
    width:100%;
    }

    To this:


    #ja-containerwrap-fr #ja-mainbody {
    width:75%;
    }

    And one other problem you have is that a few of your games… XENO TACTIC for one…is set way too wide for the module it’s in. It looks like you are limited to 530px maximum for your flash game. But XENO TACTIC is extending out 630+ px.

    Have fun!
    John.

    John Wesley Brett Moderator
    #264380

    And one more…and I’ll shut up.
    The game Heading is just a tad too wide.

    Pull it in by changing the “width” setting in line 146 in style.css from 100% to 99% or less.


    .pu_heading {
    background-color:#39A039;
    clear:both;
    color:#FFFFFF;
    font-size:1.5em;
    font-weight:bold;
    height:30px;
    line-height:30px;
    margin-bottom:5px;
    padding:0 0 0;
    text-align:center;
    vertical-align:middle;
    width:99%;
    }

    John.

    siwi2524 Friend
    #264384

    Hmmm… Doing those things makes the left column appear on the right side of the arcade, while the blank where the left column should be remains.

    siwi2524 Friend
    #264387

    Well, I’ve found the cause of the issue, though not how to fix it. Something in PUArcade causes the left and right module positions to not be descendents of the div class #ja-mainbody.

    siwi2524 Friend
    #264421

    I’ve found out the fix! To help others who have this issue, here is the fix:
    The puarcade.html.php file has two extra </div>’s. Change
    include($mainframe->getCfg('absolute_path'). "/mambots/content/jom_comment_bot.php");

    echo jomcomment($game->id, "com_puarcade");

    ?>

    </div>

    <?php

    }

    echo "</div></div>";

    }

    }

    to

    include($mainframe->getCfg('absolute_path'). "/mambots/content/jom_comment_bot.php");

    echo jomcomment($game->id, "com_puarcade");

    ?>

    </div>

    <?php

    }

    echo "</div>";

    }

    }

    And change

    <div id="FlashTable"><?php clsPUArcade::WriteGamesTable($fid,"title","ASC",$pageNav->limit,$pageNav->limitstart,$Itemid,$tag); ?></div>

    <table class="pu_ListHeader"><tr><td> </td></tr></table>

    </div>

    <?php

    $url = "index.php?option=com_puarcade&Itemid=".$Itemid;

    to

    <div id="FlashTable"><?php clsPUArcade::WriteGamesTable($fid,"title","ASC",$pageNav->limit,$pageNav->limitstart,$Itemid,$tag); ?></div>

    <table class="pu_ListHeader"><tr><td> </td></tr></table>

    <?php

    $url = "index.php?option=com_puarcade&Itemid=".$Itemid;

    Then, change

    downoff.src = "<?php echo $imagepath; ?>down.gif";

    </script>

    <div class="pu_ListContainer">

    <table class="pu_ListHeader"><tr>

    to

    downoff.src = "<?php echo $imagepath; ?>down.gif";

    </script>

    <div class="pu_ListContainer">
    </div>

    <table class="pu_ListHeader"><tr>

    This has only a minor side-effect. In the favorites page, and in viewing specific folders, the corners will not be rounded.

Viewing 8 posts - 1 through 8 (of 8 total)

This topic contains 8 replies, has 2 voices, and was last updated by  siwi2524 16 years, 3 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum