modxcms / revolution

MODX Revolution - Content Management Framework
https://modx.com/
GNU General Public License v2.0
1.36k stars 529 forks source link

Custom TVs still require pathing plugin. #13693

Open pepebe opened 6 years ago

pepebe commented 6 years ago

Summary

According to the docs, custom TVS can be fully triggered by a namespace an a prefedined directory structure:

https://docs.modx.com/revolution/2.x/making-sites-with-modx/customizing-content/template-variables/adding-a-custom-tv-type-modx-2.2

The new TV in fact does show up in the List of available TVs, but it is not displayed. Instead a fallback text tv will be shown.

Step to reproduce

Follow the steps shown in the docs.

Observed behavior

As described above. On top of that no error is logged for the missing files.

Expected behavior

The pathing plugin is not required.

Environment

Any current or older version of MODX.

labr1005 commented 6 years ago

Is there any other advantage of not needing a plugin than not needing a plugin?