Problem with CSS

A place for users and developers of the Xataface to discuss and receive support.

Problem with CSS

Postby 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.
Last edited by pyroboynroses on Tue Mar 16, 2010 5:14 am, edited 1 time in total.
pyroboynroses
 
Posts: 24
Joined: Thu Feb 04, 2010 2:26 am

Re: Problem with CSS

Postby 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
 
Posts: 172
Joined: Fri Mar 05, 2010 2:14 am

Re: Problem with CSS

Postby 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.
cantlep
 
Posts: 172
Joined: Fri Mar 05, 2010 2:14 am

Re: Problem with CSS

Postby 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 ! :D
pyroboynroses
 
Posts: 24
Joined: Thu Feb 04, 2010 2:26 am


Return to Xataface Users

Who is online

Users browsing this forum: No registered users and 11 guests

Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved