Skip to content

Create New and default snippet #10

Open

Description

There is an error in the snippet.createnewlink.php code. MODX_MANAGER_URL does not include the index.php part.

return MODX_MANAGER_URL . "?id=$id&a=55&class_key=$classKey&parent=$id&context_key=$context";

needs to be

return MODX_MANAGER_URL . "index.php?id=$id&a=55&class_key=$classKey&parent=$id&context_key=$context";

Activity

  1. jpdevries commented on Sep 24, 2013

    @jpdevries
    Owner

    Is this causing any errors?

    JP DeVries
    Sent with Sparrow (http://www.sparrowmailapp.com/?sig)

    On Tuesday, September 24, 2013 at 4:34 AM, Susan Ottwell wrote:

    There is an error in the snippet.createnewlink.php code. MODX_MANAGER_URL does not include the index.php part.
    return MODX_MANAGER_URL . "?id=$id&a=55&class_key=$classKey&parent=$id&context_key=$context";
    needs to be
    return MODX_MANAGER_URL . "index.php?id=$id&a=55&class_key=$classKey&parent=$id&context_key=$context";

    —
    Reply to this email directly or view it on GitHub (#10).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions