Page 1 of 1

Problem with CSS

PostPosted: Tue Mar 16, 2010 5:00 am
by pyroboynroses
Hi,

I'v got a problem on my xataface website.

In local, everything is okay but on host service, i've no CSS in the xataface interface.

You can see it there : http://www.le-pense-bete.fr in the "Espace de Gestion" tab.

Thank's for your support.

Re: Problem with CSS

PostPosted: Tue Mar 16, 2010 5:12 am
by cantlep
Hi,

Shouldn't this bit
Code: Select all
<link rel="stylesheet" type="text/css" href="http://localhost/lepensebete/xataface/plone.css"/>


Actually be

Code: Select all
<link rel="stylesheet" type="text/css" href="xataface/plone.css"/>


localhost doesn't mean anything to anyone when they're not local.

Give it a go.

Re: Problem with CSS

PostPosted: Tue Mar 16, 2010 5:24 am
by cantlep
Also, all your .js related links in the page would need to be changed too I guess.

Re: Problem with CSS

PostPosted: Tue Mar 16, 2010 6:27 am
by pyroboynroses
Yes the problem was here :

Code: Select all
<?php
ini_set('default_charset','utf-8');

require_once '../xataface/dataface-public-api.php';
[b]df_init(__FILE__, '../xataface');[/b]

$app =& Dataface_Application::getInstance();
$app->display();
?>


I was looking on the localhost so it can't work.

Now it works perfectly !

Thank you all ! :D