Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create New and default snippet #10

Open
sottwell opened this issue Sep 24, 2013 · 1 comment
Open

Create New and default snippet #10

sottwell opened this issue Sep 24, 2013 · 1 comment

Comments

@sottwell
Copy link
Contributor

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";

@jpdevries
Copy link
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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants