# |
Sep 13th 2009, 19:25 |
iammisc |
SSL is a given |
# |
Sep 13th 2009, 19:24 |
iammisc |
or should i do something more |
# |
Sep 13th 2009, 19:24 |
alunde |
Thanks, How do I get the latest 1.3? |
# |
Sep 13th 2009, 19:24 |
iammisc |
I'm thinking about adding an xmlrpc interface to my site so I could do some administrative things as a local app (instead of using a web interface and increasing bandwidth, which im paying for). For security, is using a simple api key enough. Like i'll define() a var to a random string and I'll use this secret string to authenticate? |
# |
Sep 13th 2009, 19:24 |
Seguer |
anyone used the phpGAcl plugin? |
# |
Sep 13th 2009, 19:24 |
markstory |
what don't you git? |
# |
Sep 13th 2009, 19:24 |
markstory |
sure |
# |
Sep 13th 2009, 19:24 |
alunde |
Can anyone offer a little GIT help to a GIT NOOB? |
# |
Sep 13th 2009, 19:12 |
TehTreag |
unclezoot: Here is an example helper - http://bakery.cakephp.org/articles/view/using-tinymce-with-cakephp#comment-2689, that uses the view as jperras suggests. |
# |
Sep 13th 2009, 19:01 |
savant |
well i got it working and you didn't. must be magic :) |
# |
Sep 13th 2009, 18:54 |
unclezoot |
lies |
# |
Sep 13th 2009, 18:53 |
savant |
i did it with magic and zest |
# |
Sep 13th 2009, 18:53 |
unclezoot |
im trying to do it within a layout |
# |
Sep 13th 2009, 18:53 |
jperras |
but not from an element |
# |
Sep 13th 2009, 18:53 |
jperras |
you can do it from a view |
# |
Sep 13th 2009, 18:53 |
unclezoot |
just wondering how savant was able to load his plugin.helper in a layout |
# |
Sep 13th 2009, 18:52 |
unclezoot |
i see |
# |
Sep 13th 2009, 18:52 |
jperras |
but that kind of thing should be encapsulated into a helper. |
# |
Sep 13th 2009, 18:52 |
jperras |
you could get around it by obtaining the view object in the registry and adding your script to it using the relevant method |
# |
Sep 13th 2009, 18:51 |
unclezoot |
but loading in the head would be classier :) |
# |
Sep 13th 2009, 18:51 |
unclezoot |
ive literally just got around it by loading my js and css in my body, i.e. building a string and outputting it |
# |
Sep 13th 2009, 18:51 |
unclezoot |
thx jperras, ill have a read |
# |
Sep 13th 2009, 18:50 |
jperras |
unclezoot: http://martinfowler.com/eaaCatalog/twoStepView.html |
# |
Sep 13th 2009, 18:49 |
jperras |
so you can't insert data into the layout from an element. |
# |
Sep 13th 2009, 18:49 |
jperras |
unclezoot: the layout is rendered before the element's content is parsed |
# |
Sep 13th 2009, 18:35 |
unclezoot |
i mean you can pass parameters into both |
# |
Sep 13th 2009, 18:34 |
unclezoot |
is an element preferable over a helper for this sort of thing? a snazzy js nav which relies on loading some js + css? |
# |
Sep 13th 2009, 18:33 |
unclezoot |
nope, that didnt fix it |
# |
Sep 13th 2009, 18:31 |
unclezoot |
i am using the penultimate version of cake for 1.2, ill upgrade |
# |
Sep 13th 2009, 18:29 |
unclezoot |
ACTION pulls his hair out |
# |
Sep 13th 2009, 18:29 |
savant |
yes i have |
# |
Sep 13th 2009, 18:29 |
unclezoot |
have you tried loading those helpers in a layout though? that seems to be the crucial thing |
# |
Sep 13th 2009, 18:29 |
savant |
yes |
# |
Sep 13th 2009, 18:29 |
unclezoot |
ok then, have you got any plugins in your git repo that load js in a helper which i can use for reference? |
# |
Sep 13th 2009, 18:27 |
savant |
si senor |
# |
Sep 13th 2009, 18:27 |
unclezoot |
in a plugin? with the same syntax i used? |
# |
Sep 13th 2009, 18:26 |
savant |
no you are able to. I've done it before and keep doing it |
# |
Sep 13th 2009, 18:26 |
unclezoot |
well if you can, it's more than a one-liner |
# |
Sep 13th 2009, 18:26 |
unclezoot |
maybe you just cant use your own helpers in a layout if they need to load js + css |
# |
Sep 13th 2009, 18:25 |
unclezoot |
dont see how, im following the manual |
# |
Sep 13th 2009, 18:25 |
savant |
then i guess you broke something somehow |