# |
Aug 10th 2008, 11:57 |
xaxsfds |
- |
# |
Aug 10th 2008, 11:57 |
xaxsfds |
[freenode-info] if you need to send private messages, please register: http://freenode.net/faq.shtml#privmsg |
# |
Aug 10th 2008, 11:57 |
xaxsfds |
- |
# |
Aug 10th 2008, 11:57 |
xaxsfds |
rclogs.ubuntu.com/ |
# |
Aug 10th 2008, 11:56 |
medice |
okie, thanks |
# |
Aug 10th 2008, 11:56 |
kristofer |
medice: yeah, put parent::beforeFilter(); in your controller's beforeFilter() |
# |
Aug 10th 2008, 11:56 |
medice |
erm, in a controller not a model |
# |
Aug 10th 2008, 11:55 |
medice |
if i set beforefilter in a model do i have to call some parent stuff to get app_controller's beforefilter to run? |
# |
Aug 10th 2008, 11:45 |
kristofer |
what can I do to pull in related fixtures for my model tests? |
# |
Aug 10th 2008, 11:45 |
kristofer |
yo |
# |
Aug 10th 2008, 11:43 |
TheBig |
there you can even find the docType and useful <HEAD> elements |
# |
Aug 10th 2008, 11:42 |
TheBig |
no problem |
# |
Aug 10th 2008, 11:42 |
M4ngoB00M |
tx |
# |
Aug 10th 2008, 11:41 |
TheBig |
M4ngoB00M, head of http://book.cakephp.org/view/206/inserting-well-formatted-eleme |
# |
Aug 10th 2008, 11:40 |
M4ngoB00M |
here comes the but |
# |
Aug 10th 2008, 11:40 |
TheBig |
take a look at the helper first |
# |
Aug 10th 2008, 11:40 |
TheBig |
but |
# |
Aug 10th 2008, 11:40 |
TheBig |
which lie in /cake/libs/view/helpers/html.php |
# |
Aug 10th 2008, 11:40 |
TheBig |
in html helper |
# |
Aug 10th 2008, 11:40 |
M4ngoB00M |
AHA - getting closer - k the default view says: <?php echo $html->charset(); ?> now where the hell is $html->charset() defined? |
# |
Aug 10th 2008, 11:39 |
TheBig |
is that what you mean? |
# |
Aug 10th 2008, 11:39 |
TheBig |
where you have <?php echo $html->charset(); ?> |
# |
Aug 10th 2008, 11:38 |
TheBig |
default is /cake/libs/view/layouts/default.ctp |
# |
Aug 10th 2008, 11:38 |
TheBig |
it's usually written into the layout parts |
# |
Aug 10th 2008, 11:38 |
M4ngoB00M |
yes |
# |
Aug 10th 2008, 11:38 |
TheBig |
in the head section? |
# |
Aug 10th 2008, 11:38 |
TheBig |
M4ngoB00M, you mean the default charset string? |
# |
Aug 10th 2008, 11:37 |
M4ngoB00M |
k |
# |
Aug 10th 2008, 11:37 |
cpierce |
i've never scaffoid |
# |
Aug 10th 2008, 11:36 |
M4ngoB00M |
k - will poke around |
# |
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? |