# |
Aug 10th 2008, 11:36 |
M4ngoB00M |
in the scaffolded view layouts is empty... I am talking about the default scaffolded view |
# |
Aug 10th 2008, 11:36 |
cpierce |
see my above question... |
# |
Aug 10th 2008, 11:36 |
cpierce |
but i'm new to 1.2 |
# |
Aug 10th 2008, 11:36 |
cpierce |
thats where i always put mine |
# |
Aug 10th 2008, 11:36 |
cpierce |
where i would specify it in my cake would be in /views/layouts/ |
# |
Aug 10th 2008, 11:35 |
cpierce |
AddDefaultCharset UTF-8 |
# |
Aug 10th 2008, 11:35 |
M4ngoB00M |
hrm - k - i will try that... but also - just for my info - any idea where the meta tag gets inserted in the html stream? |
# |
Aug 10th 2008, 11:35 |
cpierce |
i'm saying that if you specify it in apache it won't matter what the meta tag says |
# |
Aug 10th 2008, 11:34 |
M4ngoB00M |
yeah i do - its my localhost |
# |
Aug 10th 2008, 11:34 |
M4ngoB00M |
really - you mean apache is inserting the meta tag into my rendered html ? ummm... I dunno |
# |
Aug 10th 2008, 11:34 |
cpierce |
do you have access to that? |
# |
Aug 10th 2008, 11:34 |
cpierce |
its specified in the httpd |
# |
Aug 10th 2008, 11:34 |
cpierce |
usually |
# |
Aug 10th 2008, 11:34 |
M4ngoB00M |
*ctp |
# |
Aug 10th 2008, 11:34 |
M4ngoB00M |
its not in the tpl file, seems to be in a dynamically genered style or something? |
# |
Aug 10th 2008, 11:33 |
M4ngoB00M |
ok - yeah that was where I was going... however - my problem now is i cant find in my cake source where the charset is even defined for the scaffolded view... |
# |
Aug 10th 2008, 11:33 |
cpierce |
i'd switch to utf-8 |
# |
Aug 10th 2008, 11:32 |
cpierce |
or specify your page content type as iso8559-1 |
# |
Aug 10th 2008, 11:32 |
M4ngoB00M |
cpierce: OK - fair enough... so what you are saying is I should switch everything to UTF-8? |
# |
Aug 10th 2008, 11:30 |
cpierce |
not your browser but your ... web server (apache) |
# |
Aug 10th 2008, 11:29 |
cpierce |
and your symbols are a bit different in those two charsets |
# |
Aug 10th 2008, 11:29 |
cpierce |
M4ngoB00M: the problem you are having is that your browser is utf8 and your html is iso-8859-1 |
# |
Aug 10th 2008, 11:29 |
M4ngoB00M |
I see all the associated ctp files start with: <div class="currencyCodes index"> but need to figure out where this css style gets defined - cause of course its not in the cake.generic.css |
# |
Aug 10th 2008, 11:28 |
cpierce |
whats the best place to look if i'm movng from 1.1. to 1.2. and want to see in a nutshell what i should expect to be different |
# |
Aug 10th 2008, 11:25 |
M4ngoB00M |
I have looked in views/currency_codes/ and all the ctp files there - but do not see it - must be included from somehwhere else? |
# |
Aug 10th 2008, 11:25 |
M4ngoB00M |
I am using latin1 encoding so when i changed the html page encoding to iso-8859-1 (latin1) the symbol display correctly - but only in a quick test... now can someone help me find this in the scaffolded source? heh |
# |
Aug 10th 2008, 11:17 |
davidpersson |
M4ngoB00M: and in the html page it the content type must be "UTF-8" |
# |
Aug 10th 2008, 11:16 |
zmonteca |
morning all...when doing a deleteAll on a habtm table with cascade set to true ($habtm->deleteAll(condition, true)), shouldn't that trickle down to all tables in the model set to dependent = true???? |
# |
Aug 10th 2008, 11:14 |
davidpersson |
M4ngoB00M: if you are using utf-8 with mysql you must specify it as "utf8" |
# |
Aug 10th 2008, 11:13 |
M4ngoB00M |
k - thx - checking |
# |
Aug 10th 2008, 11:12 |
davidpersson |
M4ngoB00M: + browser |
# |
Aug 10th 2008, 11:12 |
davidpersson |
M4ngoB00M: everything should be the same |
# |
Aug 10th 2008, 11:11 |
davidpersson |
M4ngoB00M: page, db-connection and database |
# |
Aug 10th 2008, 11:11 |
M4ngoB00M |
in the page I take it? |
# |
Aug 10th 2008, 11:11 |
primeminister |
foxmask: and changed somethings in your find('all') |
# |
Aug 10th 2008, 11:10 |
davidpersson |
M4ngoB00M: check your encoding. |
# |
Aug 10th 2008, 11:10 |
primeminister |
foxmask: added $actAs in you Dfteam model |
# |
Aug 10th 2008, 11:09 |
M4ngoB00M |
I am using mysql: I have a currecy_codes table which contains a values like '£' and '€' which appear correct in the MySQL Query browser. However when I view them in my scaffolded view they appear as a '?' inside a diamond... any ideas? |
# |
Aug 10th 2008, 11:09 |
primeminister |
foxmask: http://bin.cakephp.org/view/178077399 |
# |
Aug 10th 2008, 11:09 |
davidpersson |
does anyone know how i can disable the default routes completely? |
# |
Aug 10th 2008, 11:08 |
primeminister |
foxmask: read it. I will show you somethings |