richardhj/contao-ajax_reload_element

ce_* elements in tl_news are not recognized.

reluem opened this issue · 4 comments

Hi,
first of all I love the simplicity of this module. Thank you!

When using content elements in tl_news such as a gallery, it is not recognized correctly.
My gallery as a news item has e.g. the following identifier data-ajax-reload-element="mod::1240"

This is probably due to this line here, since the ptable of my gallery is not tl_article.

: (('tl_article' === $template->ptable) ? self::TYPE_CONTENT : self::TYPE_MODULE);

Thank you!

I applied a fix in 1ab0c6c.
Can you please install dev-master as 2.1.4 of this package and give feedback?

Hi,
tested the new dev-master and it works now for content elements in tl_news.
Ajax gallery reloading 🥇