Log message #1034463

# At Username Text
# 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
# Sep 13th 2009, 18:13 unclezoot and the helper works in a regular view
# Sep 13th 2009, 18:13 unclezoot yes that's right
# Sep 13th 2009, 18:13 unclezoot standard: /app, /cake/, /httpdocs
# Sep 13th 2009, 18:13 savant1 I assume app/plugins/adminnav/views/helpers/fgmenu.php
# Sep 13th 2009, 18:13 savant1 okay and what is your directory structure?
# Sep 13th 2009, 18:12 unclezoot i trust you
# Sep 13th 2009, 18:12 unclezoot var $helpers = array('Html','Javascript','Form','Time','Adminnav.Fgmenu');
# Sep 13th 2009, 18:12 savant1 im not going to steal your code, trust me
# Sep 13th 2009, 18:12 savant1 if you wont tell me exactly what you are doing, I can't help
# Sep 13th 2009, 18:12 TehTreag lol
# Sep 13th 2009, 18:11 unclezoot no
# Sep 13th 2009, 18:11 savant1 and your helper is named 'Helper'?
# Sep 13th 2009, 18:11 unclezoot no
# Sep 13th 2009, 18:11 savant1 'Plugin' ?
# Sep 13th 2009, 18:11 savant1 is that your plugin name?
# Sep 13th 2009, 18:11 unclezoot var $helpers = array(.....'Plugin.Helper'); in my app_controller
# Sep 13th 2009, 18:11 savant1 how are you loading it?
# Sep 13th 2009, 18:10 savant1 ...
# Sep 13th 2009, 18:10 unclezoot the plugin.helper
# Sep 13th 2009, 18:10 savant1 loading what