Log message #1034483

# At Username Text
# 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
# Sep 13th 2009, 18:20 savant no I meant in your helper
# Sep 13th 2009, 18:19 savant of the epic variety
# Sep 13th 2009, 18:19 unclezoot not in the layout no
# Sep 13th 2009, 18:19 savant fail
# Sep 13th 2009, 18:19 unclezoot so i made a test action in my helper, called test() imaginatively enough. it tries to load a js file with javascript->link('myjs', array('inline' => false)), and echos some text. in the layout, the text comes out but the javascript doesnt get loaded
# Sep 13th 2009, 18:19 savant you aren't ever returning the js
# Sep 13th 2009, 18:17 unclezoot http://pastebin.com/m3d3842b0
# Sep 13th 2009, 18:16 savant1 when did my nick change
# Sep 13th 2009, 18:16 savant1 woah
# Sep 13th 2009, 18:14 unclezoot k 30 secs..
# Sep 13th 2009, 18:14 savant1 also the layout and the view would be nice
# Sep 13th 2009, 18:14 savant1 that would be helpful.
# Sep 13th 2009, 18:14 savant1 yes
# Sep 13th 2009, 18:14 unclezoot shall i bin my plugin helper?
# Sep 13th 2009, 18:13 unclezoot it's like they're stripped
# Sep 13th 2009, 18:13 unclezoot but in a layout, the js + css don't come out