Fork me on GitHub

Module htmlpages...How can I display the right blocks..  Bottom

  • in the Output of that Module?

    Jan :?:
  • Is this what you want - here
  • Code

    $index= "1";
    global $nocentre;
    $nocentre = "1";


    I know the code above in Index.php, but theres no Index.php in that Module 'htmlpages'.

    Kowing that code, i was looking to implmet it somewhere, but i dunno where :)

    any ideas?

    Jan
  • Sorry I didnt think of that - have been trying it out - no luck yet - when i figure iot out will post again.
  • Hey, I got it!!!!
    It's easy for every Module to display right blocks.

    simply edit the theme.php in the theme-folder.

    At the function themefooter, simply change the Line:


    Code

    if( $index == 1 ) {


    into

    Code

    if( $index == 1 || pnModGetName() == "htmlpages" ) {


    That ist working with every Modul, also more in one line. For e.g. like this:

    Code

    if ($index == 1 || pnModGetName() == "htmlpages"  ||
    pnModGetName() == "PostCalendar") {



    enjoy it!

    Jan :P
    [/code]
  • good job - never thought of that
  • thank joo :)))))))))
  • But then the banner is truncated, and now doesn't go across the right side above the right blocks.... :?

    Any other way to do this for htmlpages?
  • I tried adding

    Code

    $index= "1";
    global $nocentre;
    $nocentre = "1";


    to my Arcade module which is basicly just

    Code

    <?php
    $index= "1";
    global $nocentre;
    $nocentre = "1";
    include ("header.php");

    include("modules/Arcade/html/index.htm");

    include("footer.php");
    ?>


    but I still get the center blocks up. I want right blocks not center. How can I fix?
  • 0 users

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