roryg / ElementHelper

Element Helper is a MODx Revolution plugin for automatically creating elements from static files without the MODx manager.
27 stars 10 forks source link

What should be the path? #41

Closed ukwiz closed 8 years ago

ukwiz commented 8 years ago

As there is no documentation for 2.0, I am having difficulty in setting up the directory structure. I have tried putting a chunk.html into /site/elements/chunks, but nothing happens - even after clearing cache. Similarly with assets/site/elements/chunks.

I am on modx 2.4.2 and elementhelper-2.0.0-alpha-3

roryg commented 8 years ago

Hi Ukwiz,

You need to have site/elements/chunks in the root of your modx install and any chunks or templates should use the .tpl file type. Hope that helps! :)

ukwiz commented 8 years ago

Thanks Rory, that did the trick. Regards David