thedigicraft / Atom.CMS

Atom.CMS
56 stars 52 forks source link

Part -17 The DEBUG button is not showing below the footer #89

Open angelanjali opened 9 years ago

angelanjali commented 9 years ago

Hello,

I have written the code exactly as it is in the vedio. Still the debug code is showing above the footer while your code is showing below the footer.

Please help.

Thanks

<?php include('config/setup.php'); ?>

<!DOCTYPE HTML>

<?php echo $page['title'].' | '.$site_title?> ```

            
        
```
creptor commented 9 years ago

of course. its just like this: <?php include(D_TEMPLATE.'/footer.php'); ?><--place for footer

<div id="console-debug">
        <pre>
            <?php print_r($page); ?><----place for console
        </pre>
    </div>

(the code is read by how it's placed.) there're two options, ether you make the style of the console fixed has the video show, or you just move the code above the footer

thedigicraft commented 9 years ago

Thanks @creptor !

nivrith commented 8 years ago

I have the same problem. My debug div shows above the footer towards the left. I have written everything just like the video.

    <?php include(D_TEMPLATE.'/footer.php'); ?><!-- footer-->

        <div id="console-debug"> <!-- Debug console window-->

        <pre>

            <?php print_r($page); ?>

        </pre>

    </div><!-- end of the debug console div-->

</body>

creptor commented 8 years ago

you just have to change the CSS of the button... so it'll be inside the footer. Remember that if a CSS value is missing it'll be replaced by the browser default... leading to a graphic misplacement in some cases.