Open fredson opened 6 years ago
Thanks for the info @fredson. I'll talk this over with @zhangster. Sounds reasonable to me but I'm not sure what all of the ramifications are.
I'm so happy to hear that this is useful for those urban flood projects. I think we will be using it on a landslide management project soon. I would love to hear more about how you are using it in this work and how you learned about EgoWeb2.0.
Dear all!
I patched two files - views/layouts/main.php and views/admin/index.php -, replacing hardcoded subdirs to dynamic generation by Yii (patch attached).
That way, I could fix the links in the nav-bar and on the admin page to point to e.g. www.university.de/~foo/mystudy/importExport (as intended) instead of www.university.de/importExport (as it was after initially installing the master branch).
I did try to solve that issue with .htaccess, but any solution on that level would have been idiosyncratic and - honestly - I hate messing around with rewrite rules.
I would appreciate your feedback regarding whether that seems to be a sound fix and if it's worth being merged with master. It may be, that this still only relevant for my use case - I'm not sure.
For that - and for everything to work on my university's shared webspace - I spotted another 15 hardcoded subdirs, that than would have to be recoded. Most problably I will have to do that anyway, therefore I could than request a pull (see the attached hrefego.txt).
If you have any thoughts on that, I of course would love to hear from you. I am absolutely not an expert regarding Yii, so every comment is highly appreciated.
Finally, thank you very much for all the effort; we started using EgoWeb2.0 now for a survey on urban flood management and find it to be very helpful. It could easily become a focal tool for a whole bunch of resarch projects in our field over the next decade.
linkpatch.txt
hrefego.txt