Problem with CSS

Archived from the Xataface Users forum.

pyroboynroses — Tue Mar 16, 2010 5:00 am

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.


cantlep — Tue Mar 16, 2010 5:12 am

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.


cantlep — Tue Mar 16, 2010 5:24 am

Also, all your .js related links in the page would need to be changed too I guess.


pyroboynroses — Tue Mar 16, 2010 6:27 am

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 !