olsgreen / slim-concrete5

Core libraries for booting & working with Concrete5 in the Slim micro framework
MIT License
2 stars 2 forks source link

Concrete5.7 compatibility #1

Open xhemlock opened 9 years ago

xhemlock commented 9 years ago

For some reason, I can't get this to work with the newly released Concrete5.7. When I try to access index.php, I don't see the Slim framework template message. Instead, the index.php instead the Concrete5 folder is displayed with missing images.

concrete5_7

With older version of Concrete5, it works fine.

olsgreen commented 9 years ago

Verified. Not sure how easy it's going to be to boot & inject 5.7 with the new architecture, I'll take a look when I have a minute.

xhemlock commented 9 years ago

Thank you Oliver!

xhemlock commented 9 years ago

Hey Oliver,

Do we have any progress with 5.7 compatibility?

Thanks!

ghost commented 8 years ago

Hello Oliver,

I'm stuck on the C5_ENVIRONMENT_ONLY definition which is no longer in 5.7 (except for command-line recognition).

Trying to get either SLIM or (even better for now) the routerjs (https://github.com/tildeio/router.js) to work inside only one path of a Concrete5 installation. No CRUD requirements (so no real need for SLIM).

How can I bypass the C5 router in one path so I can use a JS routing library? I'm using NGINX and C5 5.7.4

Any thoughts you want to share? (Thanks for your work.)

Rick

olsgreen commented 8 years ago

Why not bypass Concrete5 completely from the NGINX configuration?

server {

    ...

    location = /url/to/my/js/router {
        root /path/to/my/js/router;
    }

    ...

}
ghost commented 8 years ago

Yes, thank you.

Do you have a thought on how I could keep the C5 environment in C5 5.7 on a path-specific basis?