Create an article with the function read more.
Creatae a custom field After display
In the blog view, the custom field is displayed after read more.
The custom fields must be displayed in the full article, not below Read more in view Blog, because there is a read more.
The custom fields are shown below Read more in view Blog
Joomla 3.7 RC2
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
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.
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
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:
"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.
Status | New | ⇒ | Confirmed |
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.
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
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.
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.
Status | Confirmed | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-04-13 12:34:05 |
Closed_By | ⇒ | Bakual |
Closing since we have a PR
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.