Avatar

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

datrim

About

Username
datrim
Joined
Visits
8
Last Active
Roles
Member

Comments

  • Yes, that is what I finished up doing. I was hoping to be able to be able to modify the nav array so that I did not have calls to fuel_nav in different places, but I guess that nav.php is not loaded until the fuel_nav function is called.
  • Great, thanks. Chris.
  • According to the MYSQL documentation a YEAR type can be either a YEAR(2) or YEAR(4). The default is YEAR(4). Heres a link to the docs: http://dev.mysql.com/doc/refman/5.1/en/year.html
  • Please disregard last comment - my aplologies, didn't spot the change to the field_type function as well. It is now working for me. Thank you. Chris.
  • Sorry, but the fix doesn't work. The $this->field_type($field) will still be a DATE type so the 'year' case in the switch statement is never hit. The 'date' case needs to then check the $field_data['type'] to determine whether the type of date is…
  • No, at present it works only for 1900 - 2099, but wouldn't take too much effort to make it a little more flexible
  • This seems to work for YEAR fields without affecting the error checking for other DATE types: case 'date': $valid_date = TRUE; if ($field_data['type'] == 'year') { $reg_exp = $field_data['max_length'] == 4 ? '/(19|20)\d\d$/' : '…
  • Sorry, I meant a YEAR field which can be either 2 or 4 digits. Chris.
  • Yes, fastcgi is being used. Regards, Chris.
  • I will try changing the index.php and let you know what happens. The cPanel stats are: Apache version 2.0.63 PHP version 5.2.9 MySQL version 5.0.91-community Architecture i686 Operating system linux Kernel version 2.6.18-194.11.4.el5 Hope i…
  • It is '/fuel/login' . I have moved the site to another server and everything is now working, so I assume it is something in the server configuration that is causing the problem. Regards, Chris.
  • Sorry, I tried that, but it didn't make any difference. Regards, Chris.
  • Thanks for the quick response. Since my last message I have discovered that although I can browse to all of the pages in my site, if I am in a subdirectory, the css path is incorrect. For example if I am viewing the page http://www.mysite/about/des…