RevCMS - Black Box?

Status
Not open for further replies.

lepos

thinking about you. yes you
Dec 11, 2011
2,024
687
Hello there devbest.

I've encountered this issue, that is starting to annoy me ...

Here is what happens;
If I have my index.php in the wwwroot folder set to this -
PHP:
<?php
 
define('IN_INDEX', 1);
 
require_once 'global.php';
 
$core->handleCall($engine->secure($_GET['url']));
 
    $template->html->get($engine->secure($_GET['url']));
 
$template->outputTPL();
 
?>
The page looks like this - (The tabs).

BUT

If my index.php in the wwwroot folder is set to this -
PHP:
<?php
define('IN_INDEX', 1);
 
require_once 'global.php';
 
$core->handleCall($engine->secure($_GET['url']));
 
$template->write('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">');
 
$template->write('<html xmlns="http://www.w3.org/1999/xhtml">');
 
    $template->write('<head>');
   
        $template->write('<title>');
       
            $template->write('{hotelName}: {hotelDesc}');
       
        $template->write('</title>');
       
            $template->css->get();
       
            $template->js->get();
           
    $template->write('</head>');
   
    $template->write('<body>');
   
        $template->html->get($engine->secure($_GET['url']));
       
    $template->write('</body>');
   
$template->write('</html>');
$template->outputTPL();
?>
The page has black boxes in some place but the tabs are alright? -

If anyone has a solution please tell me below!
 

lepos

thinking about you. yes you
Dec 11, 2011
2,024
687
It's loading client's css. Remove that, or disinclude it.
But I need it for my userbar on the client that's the problem - I'll remove it anyways.

EDIT: Worked, thanks

CLOSE THREAD.
 
Status
Not open for further replies.

Users who are viewing this thread

Top