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

Some options not available #32

Open DESIGNfromWITHIN opened 10 years ago

DESIGNfromWITHIN commented 10 years ago
roryg commented 10 years ago

I'm still trying to decide which of these options are really necessary. Personally I never use the media source or description options but I guess others might? Do you use them?

The history option is no longer needed as the history is recorded in a file now.

JayCarney commented 10 years ago

@roryg we use the Media Source option every day.

Basically because ClientConfig doesn't use media sources, we set our media source of '1' to be an upload directory (stops image uploads inside of ClientConfig from seeing the full filesystem) and create a new filesystem media source.

I suppose that the media source option is only needed if EH is going to actually use a media source to define its base path instead of just using the modx base path

roryg commented 10 years ago

@JayCarney Hmm interesting. At the moment it just uses the modx base path and you set the paths to the element directories with their path settings. So the only reason I can see for using a media source would be if you wanted to keep the element files out of the modx root. Maybe I'm missing something? I believe @exside originally added the option so maybe he could give more insight?