? ? Pending

User tests: Successful: Unsuccessful:

avatar Bakual
Bakual
27 Apr 2017

Currently the "After Title" position for fields is misleading as it is actually the exact same place as "Before Display". The only difference is that "After Title" is wrapped into a conditional which checks if "Show Intro" is disabled. Which is confusing as well since the position actually has no ties to the intro text.

Summary of Changes

This moves the position up after the title and before the info block and removes the conditional.

Testing Instructions

  • Create a field and set it to display "After Title". Assign some value to that field in the article.
  • Check in frontend the featured view, blog view and article view.

Expected result

Field appears after the title

Actual result

Field appears (if "Show Intro" is disabled) after the info block, right where the fields from "Before Display" appear as well.

Documentation Changes Required

Not sure.

B/C Note

This is not strictly B/C since the fields (and other plugin content using that event) may appear in a different place. Or even appear now when they didn't before (due to param). However this change is only for the Protostar and Beez template and templates that don't override this views. 3rd party templates with overrides to those views will not be affected at all.

avatar Bakual Bakual - open - 27 Apr 2017
avatar Bakual Bakual - change - 27 Apr 2017
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 27 Apr 2017
Category Front End com_content Templates (site)
avatar Bakual Bakual - change - 27 Apr 2017
Labels Added: ?
avatar Bakual Bakual - change - 27 Apr 2017
The description was changed
avatar Bakual Bakual - edited - 27 Apr 2017
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 28 Apr 2017

I have tested this item successfully on f6be2f2


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/15639.

avatar franz-wohlkoenig franz-wohlkoenig - test_item - 28 Apr 2017 - Tested successfully
avatar AlexRed
AlexRed - comment - 28 Apr 2017

Is it only for com_content? or also for com_users and com_contact etc.. ?

avatar Bakual
Bakual - comment - 28 Apr 2017

This PR only deals with com_content.
I haven't looked yet at how com_users and com_contact behave in this case. If the same issue exists there I can expand this PR.

avatar laoneo
laoneo - comment - 28 Apr 2017

Com_users don't have that events at all. Com_contact has them.

avatar AlexRed
AlexRed - comment - 28 Apr 2017

yes, Com_users don't have that events at all but have the parameter :(
Also for Com_contact "Mail" i think don't have that events at all but have the parameter

avatar drmenzelit
drmenzelit - comment - 28 Apr 2017

I have tested this item successfully on f6be2f2

Thank you for this PR! The position of the fields makes more sense in this way.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/15639.

avatar drmenzelit drmenzelit - test_item - 28 Apr 2017 - Tested successfully
avatar franz-wohlkoenig franz-wohlkoenig - change - 28 Apr 2017
Status Pending Ready to Commit
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 28 Apr 2017

RTC after two successful tests.

avatar Bakual
Bakual - comment - 28 Apr 2017

Com_users don't have that events at all but have the parameter

The parameter is hardcoded. Com_fields has no knowledge about the implementation of the respective extension. So until someone writes code to change that, we will have to live with it.

Also for Com_contact "Mail" I think don't have that events at all but have the parameter

Same case here for the mail. The events aren't triggered for the contact form. The whole form is done different.
The contact itself imho looks fine.

avatar AlexRed
AlexRed - comment - 28 Apr 2017

So until someone writes code to fix it, can we write in the parameter it is not to use on com_users and com_contact "Mail" ?
We need to inform the Joomla users about it

avatar mbabker
mbabker - comment - 28 Apr 2017

No. The issue is not unique to these core components. Any extension integrating com_fields support and not having these event triggers have the same problem.

The best you can do for a tooltip is to note that the parameter requires the extension to support its options and not create an explicit list of supported or unsupported configurations.

avatar AlexRed
AlexRed - comment - 28 Apr 2017

my english is very very bad.... but if nobody can edit the tooltip I can try :(

avatar Bakual
Bakual - comment - 28 Apr 2017

The english from @brianteeman is a bit better, maybe he can help here ?

avatar rdeutz rdeutz - change - 22 May 2017
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2017-05-22 19:17:19
Closed_By rdeutz
Labels Added: ?
avatar rdeutz rdeutz - close - 22 May 2017
avatar rdeutz rdeutz - merge - 22 May 2017

Add a Comment

Login with GitHub to post a comment