Jump to content

turmeric

Member
  • Content Count

    1
  • Joined

  • Last visited

Community Reputation

0 Neutral
  1. Hi, I am hooking into class.gui.body_js.php in a test plugin, my hook file has: $body_js[] = "<script>alert('test')</script>"; That script will not appear in the footer scripts. I have tried outputting the data where CubeCart is using the class.gui.body_js.php hook to see if my data is getting through: https://github.com/cubecart/v6/blob/1c15992f4d8306584a26cf7bb8dc8c56d02480b1/classes/gui.class.php#L174 I have var dumped $body_js around that code and it contains my data. I think I am doing everything required, am I missing something? I am running a freshly downloaded CCv6 today with the default foundation theme, no other edits. Thanks,
×
×
  • Create New...