Skip to content

Instantly share code, notes, and snippets.

@chucktrukk
Created July 22, 2011 19:48
Show Gist options
  • Save chucktrukk/1100267 to your computer and use it in GitHub Desktop.
Save chucktrukk/1100267 to your computer and use it in GitHub Desktop.
revo updates

Allow multiple templates to have the same name

  1. Remove index on template name via: ALTER TABLE modx3_site_templates DROP INDEX templatename
  2. comment out 25-30 in /core/model/modx/processors/element/template/create.php
  3. comment out 40-46 in /core/model/modx/processors/element/template/update.php
@chucktrukk
Copy link
Author

  • migx should set document dirty
  • ok. all items should set document dirty. or live save (if versioned)

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