fields display inline

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

Postby dwisn » Mon Oct 30, 2006 10:04 am

Having an issue with displaying inline fields.

While I'm able to pickup the change in ~/templates/Dataface_Logo.html ( which in reality is /var/www/html/csodb/templates/Dataface_Logo.html ); i dont' seem to pickup the:

head_slot.html


or:

styles.css
#Systems-city-wrapper, #Systems-state-wrapper {
float: left;
width: 10%;
}


I've re-read the tutorial - , put in full pathing for href ( head_slot ), Have tried copying / placing the files into the ~/Dataface/templates directory.... Created the ~/templates.c directory etc.

So... I checked my logs and voila!

File does not exist: /var/www/html/csodb/styles.css

Question :: Where does the "templates" directory get "set" from?
dwisn
 
Posts: 25
Joined: Wed Dec 31, 1969 5:00 pm

Postby shannah » Mon Oct 30, 2006 11:31 am

First thing... With the new version 0.6.9 of dataface I changed the way that fields are laid out to use a table instead of div tags. This means that you won't be able to make fields display inline anymore with CSS. Perhaps I'll re-add this feature in a later version.

As for the "templates" directory. Dataface will always check %APP_PATH%/templates first, and %DATAFACE_PATH%/Dataface/templates next. You can register other directories to be used for templates using the df_register_skin() function:
Code: Select all
df_register_skin('my_skin', '/path.to.myskindir');


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

Postby dwisn » Mon Oct 30, 2006 11:59 am

First thing... With the new version 0.6.9 of dataface I changed the way that fields are laid out to use a table instead of div tags. This means that you won't be able to make fields display inline anymore with CSS. Perhaps I'll re-add this feature in a later version.




Thanks much.

I have been using Dadabik for many years and 'ran' across Dataface. While Dadabik is 'somewhat' _easier_ for a general interface, I can see by 2 days of Dataface use, how Dataface can provide more options via standard *ini files -

Looking forward to growth in Dataface -

dan
dwisn
 
Posts: 25
Joined: Wed Dec 31, 1969 5:00 pm


Return to Xataface Users

Who is online

Users browsing this forum: No registered users and 12 guests

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