installation seems OK, but no css

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

installation seems OK, but no css

Postby mikewassil » Wed Feb 04, 2009 2:41 pm

I've installed xataface-1.1.2. I just unpacked it into the default directory and did not change any file locations, etc. The application works and finds the database OK, but it apparently can't find the stylesheet because the page is completely unstyled and looks like a dog's breakfast.

In the page source code the link to the plone stylesheet is:

[mysite].com/xataface-1.1.2/Dataface/plone.css

However, it appears that it's really located here:

xataface-1.1.2/plone.css

As a temporary workaround, I just copied the file into /Dataface and that succeeded in getting the table display looking OK, but the header is still not right, no logo, no title ,etc. Please advise. Thanks much.
Mike Wassil
mikewassil
 
Posts: 36
Joined: Wed Dec 19, 2007 3:47 pm

Postby shannah » Wed Feb 04, 2009 2:55 pm

Hi Mike,

The problem is the 2nd parameter of the df_init() function in your index.php file. It should contain the URL (absolute or relative) to the Xataface directory. It apparently is pointing to the xataface/Dataface directory currently.

-Steve
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Postby mikewassil » Wed Feb 04, 2009 3:39 pm

shannah wrote:Hi Mike,

The problem is the 2nd parameter of the df_init() function in your index.php file. It should contain the URL (absolute or relative) to the Xataface directory. It apparently is pointing to the xataface/Dataface directory currently.

-Steve


Thanks, Steve, that was it. Works now. What I did was simply copy the index.php file from the "Getting Started" page of the tutorial without realizing it was from the old Dataface setup and needing to be modified slightly.

Thanks much!

PS: just so you know, I love D/Xataface!
Mike Wassil
mikewassil
 
Posts: 36
Joined: Wed Dec 19, 2007 3:47 pm


Return to Xataface Users

Who is online

Users browsing this forum: No registered users and 14 guests

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