Log message #1034447

# At Username Text
# 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
# Sep 13th 2009, 18:10 unclezoot im loading it in my app_controller's $helpers array
# Sep 13th 2009, 18:10 savant1 because you aren't loading it correctly
# Sep 13th 2009, 18:09 unclezoot but in a layout, only the html comes out, the js and css is ignored, it's not even loaded
# Sep 13th 2009, 18:09 savant1 javascript->link('/plugin_name/js/js_file_name')
# Sep 13th 2009, 18:09 unclezoot yes im using that, and my plugin.helper works fine in a view
# Sep 13th 2009, 18:09 savant1 html->css('/plugin_name/css/css_file_name')
# Sep 13th 2009, 18:09 unclezoot yes helpers deployed in a plugin
# Sep 13th 2009, 18:08 savant1 plugin helpers?
# Sep 13th 2009, 18:08 unclezoot savant, do you know much about plugin.helpers? specifically, ones that load js and css?
# Sep 13th 2009, 18:04 guille1983 ~quiet
# Sep 13th 2009, 17:49 guille1983 thanks
# Sep 13th 2009, 17:45 unclezoot http://mark-story.com/nodes/view/auth-and-acl-an-end-to-end-tutorial-pt-1
# Sep 13th 2009, 17:44 guille1983 unclezoot: anyways, where is that mark story blog entry you talk about?
# Sep 13th 2009, 17:44 guille1983 unclezoot: but it only says about the columns create, update, read, delete, nothing about "my custom action"
# Sep 13th 2009, 17:42 unclezoot read it again dude, then read mark story's blog on acl, then read both again 3 times is my advice =)
# Sep 13th 2009, 17:39 guille1983 hello, I just read the acl section on the manual, it explains everything but it does not say how to protect a custom action, how to do that?