Log message #1034499

# At Username Text
# 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
# Sep 13th 2009, 18:25 unclezoot no change
# Sep 13th 2009, 18:24 savant well try the "long tag" anyways
# Sep 13th 2009, 18:24 savant wait it is
# Sep 13th 2009, 18:24 savant <? isn't a shorttag
# Sep 13th 2009, 18:23 unclezoot because i like short tags, personal preference
# Sep 13th 2009, 18:23 savant line 36 and 37
# Sep 13th 2009, 18:23 savant why don't you do <?php in the layout?
# Sep 13th 2009, 18:23 unclezoot that's where it all goes tits up for me
# Sep 13th 2009, 18:23 unclezoot but i wasnt using that helper in a layout
# Sep 13th 2009, 18:22 unclezoot yes, because i made a helper the other day with the same syntax (i used that to write this)
# Sep 13th 2009, 18:22 savant no, loading it period
# Sep 13th 2009, 18:22 unclezoot the right syntax for loading javascript in a helper?
# Sep 13th 2009, 18:22 unclezoot no request in firebug, no error
# Sep 13th 2009, 18:22 savant you sure that is the correct syntax? (idk I'm using 1.3-dev)
# Sep 13th 2009, 18:21 unclezoot no change when i echo it
# Sep 13th 2009, 18:20 savant return it or echo it or something
# Sep 13th 2009, 18:20 unclezoot yup that's what i meant
# Sep 13th 2009, 18:20 savant in fgmenu too
# Sep 13th 2009, 18:20 unclezoot in the test()
# Sep 13th 2009, 18:20 unclezoot that's right
# Sep 13th 2009, 18:20 savant you are just making a link that is neither echoed nor returned
# Sep 13th 2009, 18:20 unclezoot but, if i use the helper in a normaly view then both helpers work because the js + css ARE loaded