FAQ Database Discussion Community


Static route for a subdomain in pimcore

php,zend-framework,routing,pimcore
I need to add a static route in pimcore that only takes effect for a special subdomain. So e.g. /de/json should snap for the URL api.example.org/de/json but not for www.example.org/de/json. Is this possible in pimcore? Or do I have to work with Zend Framework's Hostname? Thanks! ...

Throwing exceptions in pimcore

php,zend-framework,pimcore
Does anyone know if there are 'pimcore-exceptions' or do I have to throw the Zend Framework- or PHP-exceptions? I've scanned their GitHub-repository but found no hint. Thanks!...

Pimcore multilanguage site static route

php,zend-framework,routing,pimcore
I've just recently started working with Pimcore in my work and I'm now on a project consisting of three languages each in their seperate tree. Today the sites URL is my-site.com/LANGUAGE/sub-page For example: my-site.com/se/about But what we would want to have is LANGUAGE.my-site.com/sub-page. For example: se.my-site.com/about I've tried using the...

How to get all available languages from Localized Fields in pimcore?

php,zend-framework,zend-locale,pimcore
I'm a little bit stuck with this: I have a controller where I'm collecting all available languages for an object in pimcore. Right now I simply take a Localized Field from that object, run through it via foreach and fill an array with the Localized Fields's keys. So I get...

Running pimcore on a node.js-server

node.js,pimcore
Has anyone ever tried running pimcore on node.js? And if yes: is it running and was it much work? I have a big PIM-system with many many hits and I want to keep it as slim and fast as possible. So I thought of node.js but I'm not quite sure...