# |
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 :) |
# |
Oct 22nd 2009, 17:09 |
Bartek120 |
which are outside the cake |
# |
Oct 22nd 2009, 17:08 |
dogmatic69 |
Bartek120: what you mean external? like smartie |
# |
Oct 22nd 2009, 17:08 |
Bartek120 |
How to use external layouts,views in cakephp? It is possible? |
# |
Oct 22nd 2009, 17:07 |
dogmatic69 |
sphereweb: np... less maintanece for you now also |
# |
Oct 22nd 2009, 17:07 |
Bartek120 |
dogmatic69: :) |
# |
Oct 22nd 2009, 17:07 |
dogmatic69 |
~tell Bartek120 about bin |
# |
Oct 22nd 2009, 17:07 |
ADmad |
why do you wann use the Curl model when there's are HttpSocket class in 1.2 |
# |
Oct 22nd 2009, 17:07 |
sphereweb |
dogmatic69: i switched to contact controller instead of pages.. my ajax form works nice. thanks a lot, wish i could give you a beerand say cheers! |
# |
Oct 22nd 2009, 17:06 |
Bartek120 |
Hello |
# |
Oct 22nd 2009, 17:05 |
dogmatic69 |
better explinations get better help |