Noobie Question: Looking a little undecorated

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

Postby confundido » Tue Aug 01, 2006 12:21 pm

Hey

Hi, I saw the css stylesheet for plone.css in the database folder. Looking it over, it doesn't seem like it is being applied to my site.

(discombobulated.info/student_files)

I'm also not getting a lot of the widgets not displayed correctly (specifically 3rd pary widgets like the calender widget and FCK Editor.) I looked at the FAQ and followed its advice....

It should be noted, I had to do a manual install. Would that have something to do with it?

TIA
Nathan
confundido
 
Posts: 8
Joined: Wed Dec 31, 1969 5:00 pm

Postby shannah » Tue Aug 01, 2006 12:26 pm

This is most likely a problem with the 2nd parameter of your df_init() call in the index.php file.
e.g. df_init(__FILE__, '/url/to/dataface');

The '/url/to/dataface' should be the url to the dataface folder (you don't have to put the hostname, as dataface should be accessible from the same hostname as your app).

Best regards

Steve
--
Steve Hannah
@shannah78 (on twitter)
sjhannah.com blog
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Postby confundido » Tue Aug 01, 2006 6:42 pm

Yeah, I tried looking at that. Hmmm.

df_init(__FILE__, '~/public_html/dfroot');

I've also tried it with a an absolute path '/home/foo/public_html/dfroot'
I've also tried '/home/foo/public_html/dfroot/Dataface'
confundido
 
Posts: 8
Joined: Wed Dec 31, 1969 5:00 pm

Postby shannah » Tue Aug 01, 2006 10:41 pm

It looks like the problem is that your looking at this path from the file system's point of view, whereas dataface needs the path as you would enter it into a web browser.

E.g. with your current setup would be looking for the dataface folder at 'http://discombobulated.info/student_files/~/public_html/dfroot'

My First question, is where is your dataface folder installed on the file system? This will dictate where it is accessible on the web.

you can try :

df_init(__FILE__, 'http://discombobulated.info/path/to/dataface');
but make sure that if you type in that url into the web browser it is actually going to the dataface folder.

Hope this helps a little.
--
Steve Hannah
@shannah78 (on twitter)
sjhannah.com blog
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm


Return to Xataface Users

Who is online

Users browsing this forum: No registered users and 20 guests

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