ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

[SOLVED] Can't include control panel javascript with cp_js_end hook

May 05, 2011 1:58pm

Subscribe [2]
  • #1 / May 05, 2011 1:58pm

    Rick Jolly

    729 posts

    Edit: Solved by manually removing the extension from the database.

    I’d like to add javascript to the control panel using an extension that is bound to the cp_js_end hook. However, the custom javascript can’t be loaded because the url that includes it on all control panel pages returns an error. Here is the url generated by EE:

    <a href="http://macresources.ca/admin.php?S=85cf0d58911090dde2e0240aa70d415860134cb3&D=cp&C=javascript&M=load&file=ext_scripts">http://macresources.ca/admin.php?S=85cf0d58911090dde2e0240aa70d415860134cb3&D=cp&C=javascript&M=load&file=ext_scripts</a>

    Here is the error:

    Unable to load the following extension file:
    ext.dynamic_member_fields.php

    I can’t find a “dynamic member fields” extension installed. Any clue where that comes from?

    Edit: Version 2.1.3 build 20101220

  • #2 / May 05, 2011 4:38pm

    Brandon Jones

    5500 posts

    Thanks for the update, Rick. Glad you got this resolved!

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases