jocms
jocms copied to clipboard
Currently only working in root directory?
First of all thanks for this great product, as a long time user of coast cms, jocms seems like a possible successor. During my tests of the systems it seemed to only work if installed in the root directory (www.test.com/jocms/), it would be nice to have the option to use it also within directories, also for local development (www.test.com/test1/jocms/ or localhost/test1/jocms) I've also sent a short mail to your address concerning professional usage, just wanted to make sure, you've got it.
Hello, I also set up jocms in sub directory.
It looks like if I set "JO_ROOT", it will be OK. If so, please let me know where and how to set "JO_ROOT".
Hello, I also set up jocms in sub directory.
It looks like if I set "JO_ROOT", it will be OK. If so, please let me know where and how to set "JO_ROOT".
the main problem is that html code and ajax requests uses paths relative to root so you need to edit paths in php, css and js files
Hello,
Thank you for your reply.
It seems not easy, so I will install in root directory.
By the way, I made a language-file. Shall I sent this to you by e-mail?
Gran trabajo. Simple pero practico.
How can someone develop a software, which is intended to run on 'root' only? Sometimes i really have to scratch my head .. people!
@mclvren is right, its not so easy to change the directory rn. In its current version, jocms should be installed in the root directory.
Is there any way to deploy jocms in a subfolder? This would offer many many more use cases! Maybe there is a tutorial to manually change the directories or something like this?
@donjenso did you even read the whole topic here?
Hi, I'm not sure if this helps anyone or if I understand the OP's question, but I could edit other pages in subdirectories of my static site by putting the full path in the corresponding url parameter. E.g. I installed jocm in the root directory but wanted to edit /pages/mypage.html so I went to https://www.your-site.xyz/jocms/control/cms.php?path=%2Fpages%2Fmypage.html and jocms seemed to work fine!