?
avatar Open2logic
Open2logic
12 Apr 2017

Steps to reproduce the issue

Create an article with the function read more.
Creatae a custom field After display
screen shot 2017-04-12 at 19 08 23

In the blog view, the custom field is displayed after read more.
screen shot 2017-04-12 at 19 10 44

Expected result

The custom fields must be displayed in the full article, not below Read more in view Blog, because there is a read more.

Actual result

The custom fields are shown below Read more in view Blog

System information (as much as possible)

Joomla 3.7 RC2

Additional comments

Votes

# of Users Experiencing Issue
1/1
Average Importance Score
5.00

avatar Open2logic Open2logic - open - 12 Apr 2017
avatar joomla-cms-bot joomla-cms-bot - labeled - 12 Apr 2017
avatar Open2logic Open2logic - change - 12 Apr 2017
The description was changed
avatar Open2logic Open2logic - edited - 12 Apr 2017
avatar Open2logic Open2logic - change - 12 Apr 2017
The description was changed
avatar Bakual
Bakual - comment - 12 Apr 2017

Imho it depends on the use case where you would expect it to appear.
You can adjust that in a template override. Just move this line: https://github.com/joomla/joomla-cms/blob/staging/components/com_content/views/category/tmpl/blog_item.php#L82 above the readmore stuff in your override.

avatar Open2logic
Open2logic - comment - 12 Apr 2017

Ok for us, but and for the users of basic knowledge?, users whose profile is to enable or disable administration options.
I want that Joomla 3.7 has a good UX, people expect that under the read more nothing is shown, neither the custom fields, is logical, that is just my opinion, the new version Joomla must be usable for all people, better an option than a override.

Simply add in custom field options:
After title
Before Display
After Display
and.......After Redmore

Thanks


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

avatar mbabker
mbabker - comment - 12 Apr 2017

That's not feasible at the moment. Those display options are based on plugin events that already exist in layouts. There isn't a plugin event that can put content anywhere else into the layout without having to resort to parsing the rendered HTML and hoping the right spot is found.

avatar Open2logic
Open2logic - comment - 12 Apr 2017

I understand that at this moment any addition can be very complex.
All CCK components allow custom fields with control in view blog and view full article.
It would be very functional to control the custom fields after reading more.
Now, without that control the new functionality of custom fields will breaks the view blog, where users thought could add custom content, they not control the view blog. I do not think they like blogging websites, classifieds, directories and websites of news.
I hope to be wrong.

Thanks, very thanks


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

avatar Open2logic
Open2logic - comment - 13 Apr 2017

And adding a class to the blog view?

.custom-fields-hide > div > div > dl {
display: none;
}

Now the custom fields no show in blog view but show in full article.

A class to be executed when enabled from the options of the custom fields:
screen shot 2017-04-13 at 00 13 31


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/15265.
avatar Bakual
Bakual - comment - 13 Apr 2017

"After Readmore" would only make sense in the context of com_content. All other components don't have this feature. So that is not an option at all.
As said, it is a simple change in the view layout. That's what overrides exist for.
Where it appears depends a lot on the use case. For example comments should appear below the read more button.

avatar joomla-cms-bot joomla-cms-bot - change - 13 Apr 2017
The description was changed
avatar joomla-cms-bot joomla-cms-bot - edited - 13 Apr 2017
avatar franz-wohlkoenig franz-wohlkoenig - change - 13 Apr 2017
Status New Confirmed
avatar Open2logic
Open2logic - comment - 13 Apr 2017

You're right
Would have to be general options of the articles or in menu item for blog layout no of custom fields, Is more logical.
screen shot 2017-04-13 at 06 57 01

If you try a blog view with many custom fields it's not very pretty, with few custom fields the look is a bit better because it is more symmetric, question of design, i know it, but for user experience, after read more, nothing should be shown.
I wish you could find some solution.

Thanks, very thanks


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

avatar brianteeman
brianteeman - comment - 13 Apr 2017

For example comments should appear below the read more button.

As i stated before I would never expect to see anything below the readmore button. I cant think of any current example where this is the case.

avatar Bakual
Bakual - comment - 13 Apr 2017

As i stated before I would never expect to see anything below the readmore button. I cant think of any current example where this is the case.

It would be a simple PR if someone feels like it should always be on top of the readmore link.
The lines in question are linked above.

avatar brianteeman
brianteeman - comment - 13 Apr 2017

@bakual for me

If something is set to "after" then I expect it at the very end.of the article. Not at the end of the intro.
so it would not appear on the blog view at all

avatar brianteeman
brianteeman - comment - 13 Apr 2017

Actually I realise that is not always the case as there may not be a readmore. ;)

See #15277 for a PR that moves the blog and features to before the readmore

avatar Bakual Bakual - change - 13 Apr 2017
The description was changed
Status Confirmed Closed
Closed_Date 0000-00-00 00:00:00 2017-04-13 12:34:05
Closed_By Bakual
avatar Bakual Bakual - close - 13 Apr 2017
avatar Bakual
Bakual - comment - 13 Apr 2017

Closing since we have a PR

Add a Comment

Login with GitHub to post a comment