?
avatar coolcat-creations
coolcat-creations
23 Jan 2017

Steps to reproduce the issue

Create an article with custom fields and fill out one or more of these
Publish a newsflash module containing this article

Expected result

Default should be to show up without custom fields + an option added to show them if wanted

Actual result

  • Custom fields will show up here and probably in all other modules, donĀ“t know about 3rd party

System information (as much as possible)

Joomla 3.7.0 Alpha 2

avatar coolcat-creations coolcat-creations - open - 23 Jan 2017
avatar joomla-cms-bot joomla-cms-bot - change - 23 Jan 2017
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 23 Jan 2017
avatar coolcat-creations coolcat-creations - edited - 23 Jan 2017
avatar Bakual
Bakual - comment - 23 Jan 2017

Looking over the code, that module seems to be the only one supporting the onContentAfterTitel/BeforeDisplay/AfterDisplay events.
It should be simple to add a parameter which disables those events.

What I find more troubling is that the output uses an ID which will be the same eachtime that field is shown, eg field-entry-14 for the field with the ID 14. So you get multiple IDs on your site, one for the article shown and again for the module.
Thus we need to get rid of the IDs when the field is shown in frontend (outside a form). They shouldn't be there to begin with.

avatar Bakual
Bakual - comment - 23 Jan 2017

See #13703 for the new parameter and #13702 for the duplicate ID issue.

Closing as we have PRs.

avatar Bakual Bakual - change - 23 Jan 2017
Title
Custom Fields show up by default in Newsflash
[com_fields] show up by default for example in mod_articles_news
Status New Closed
Closed_Date 0000-00-00 00:00:00 2017-01-23 13:37:20
Closed_By Bakual
avatar Bakual Bakual - close - 23 Jan 2017

Add a Comment

Login with GitHub to post a comment