fields display inline
Archived from the Xataface Users forum.
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?
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
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