I've just started using xataface and I must say I REALLY LOVE it so far ... kudos to Steve Hannah.
I've not sure what I'm doing wrong or if this is even the best way so any ideas are welcome ...
Thanks ... Jeff
<b>My environment:</b>
Windows 10 running XAMPP.
My application is in L:\xampp\htdocs\candler\
Xataface in is in L:\xampp\htdocs\xataface
I can't seem to get my CSS style sheet to get recognized. The 2 things that the CSS should do are (1) change the logo and (2) remove the search bar which is just a convenient 2nd way to see if the style sheet is being picked up.
ApplicationDelegateClass.php within the candler/conf directory
<?php
class conf_ApplicationDelegate {
function beforeHandleRequest(){
Dataface_Application::getInstance()
->addHeadContent('<link rel="stylesheet" type="text/css" href="style.css"/>');
}
}
The style.css within the candler main directory
#xf-logo {
background-image: url(images/candlerconnection.png);
background-repeat: no-repeat;
width: 152px;
height: 39px;
padding: 0;
margin: 0;
}
div#top-search-form {display:none;}