Yeh ok cool. So essentially the login can take the user to the Django page, just not log them into any MODx built aps?
Correct. Just create the login form html and have the action post to the login processing page of your Django app. A chunk would be ideal for this. You can put your Django app in a subdirectory (eg /opp) and access it at www.mywebsite.com/opp/ ie the existence of a physical directory or file simply overrides modx’s fURL handling. Thus your app can exist entirely independently of modx if that’s what you wish.
Brill, thanks for your help guys.
-
☆ A M B ☆
- 24,524 Posts
If the MODx installation is in the root, then the /opp directory would need a .htaccess file turning off the rewrite engine (or changing the rewrite rules), since they’ll cascade.