Log message #1110921

# At Username Text
# Oct 22nd 2009, 18:18 Patrick_TT or is there more to it than that?
# Oct 22nd 2009, 18:18 Patrick_TT is it just the database setting that needs changing?
# Oct 22nd 2009, 18:18 Patrick_TT hey i have developed a website using cakephp and mysql.. but the host only has ms sql
# Oct 22nd 2009, 18:08 dieselz even though the site im looking at is french.
# Oct 22nd 2009, 18:08 dieselz its always en-us
# Oct 22nd 2009, 18:08 dieselz lang comes out to be the wrong value....
# Oct 22nd 2009, 18:08 dieselz sorry, should have binned it
# Oct 22nd 2009, 18:07 dieselz is wrong.
# Oct 22nd 2009, 18:07 dieselz $lang = $I18n->l10n->locale;
# Oct 22nd 2009, 18:07 dieselz $I18n->l10n->get(Configure::read('Config.language'));
# Oct 22nd 2009, 18:07 dieselz $I18n =and I18n::getInstance();
# Oct 22nd 2009, 18:07 jessica-m i have a HABTM relationship, but it isnt deleting the rows in the db before it inserts, what would cause that?
# Oct 22nd 2009, 17:54 meenie Guess it's not heh
# Oct 22nd 2009, 17:48 meenie Greetings All. Is it possible to validate a form without using a model? Meaning can I use the same validation methods as you would inside a model on a form without actually using a model?
# Oct 22nd 2009, 17:43 dieselz <html lang="<? $l10n = new L10n(); echo $l10n->lang; ?>">
# Oct 22nd 2009, 17:42 dieselz i realize its neither, i just need to create an object of that class
# Oct 22nd 2009, 17:42 dieselz $l10n
# Oct 22nd 2009, 17:40 joeb ?
# Oct 22nd 2009, 17:40 dieselz joeb: is that a helper? component?
# Oct 22nd 2009, 17:39 jessica-m HABTM*
# Oct 22nd 2009, 17:39 jessica-m i have a HABYM relationship, but it isnt deleting the rows in the db before it inserts, what would cause that?
# Oct 22nd 2009, 17:30 ADmad i'm off.. good luck solving your issue
# Oct 22nd 2009, 17:29 FMC ADmad: it's the same, except that I'm not using Cookies
# Oct 22nd 2009, 17:28 ADmad *followed
# Oct 22nd 2009, 17:28 ADmad well since what you following isnt quite working as expected i suggest you try this one
# Oct 22nd 2009, 17:28 FMC ADmad: I used another tut but almost exactly like this one
# Oct 22nd 2009, 17:26 ADmad FMC: http://teknoid.wordpress.com/2008/11/28/cakephp-url-based-language-switching-for-i18n-and-l10n-internationalization-and-localization/
# Oct 22nd 2009, 17:25 FMC I modified url in app_helper, some links works, some not
# Oct 22nd 2009, 17:25 FMC I have a problem using Routes for I18n... lang:fr is appened at the end of some links...
# Oct 22nd 2009, 17:21 joeb err, sorry. that should be $l10n->lang
# Oct 22nd 2009, 17:21 joeb $l10n->charset
# Oct 22nd 2009, 17:19 dieselz i need to make the <html lang="en"> match
# Oct 22nd 2009, 17:19 dieselz anyone know how to get the two character country code of the current i18n language?
# Oct 22nd 2009, 17:17 joeb No problem
# Oct 22nd 2009, 17:17 Bartek120 joeb: Thanks
# Oct 22nd 2009, 17:16 joeb Bartek120: I'm not familiar with the details. You should Google it perhaps and see if anything fruitful comes up.
# Oct 22nd 2009, 17:15 Bartek120 joeb: could you tell about that something more
# Oct 22nd 2009, 17:13 joeb Bartek120: There was a write up about storing pages in the DB
# Oct 22nd 2009, 17:13 Bartek120 or maybe there is possibility in cake generate view and send it, use it, write to session
# Oct 22nd 2009, 17:10 joeb Huh. The "sandbox" section of code.cakephp.org is now gone...
# Oct 22nd 2009, 17:09 sphereweb dogmatic69: yup :)