?
avatar brianteeman
brianteeman
12 Jun 2020

Steps to reproduce the issue

			<field
				name="page_subheading"
				type="text"
				label="JGLOBAL_SUBHEADING_LABEL"
				size="20"
			/>

This field exists in several front end tmpl eg blog category, featured articles. list category

Expected result

The content of the field is displayed

Actual result

in the list category tmpl it is never used.

avatar brianteeman brianteeman - open - 12 Jun 2020
avatar joomla-cms-bot joomla-cms-bot - change - 12 Jun 2020
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 12 Jun 2020
avatar brianteeman brianteeman - change - 12 Jun 2020
Title
[4.0] page_heading unused param
[4.0] page_subheading unused param
avatar brianteeman brianteeman - edited - 12 Jun 2020
avatar chmst
chmst - comment - 25 Jun 2020

Could we remove these fields? I don't remember that there were subheadings.


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

avatar ReLater
ReLater - comment - 25 Jun 2020

They are used in several frontend views but not in Article Category List (J3 and J4). In Joomla 3 Beez has a custom override for Article Category List where it's used, too.

In the name of consistency and B\C I would add it in the Article Category List output of Joomla 4 instead of removing it.

avatar astridx
astridx - comment - 8 Jul 2020

Staging and Beez are Joomla 3x. This is about Joomla 4, right?

I mean a subtitle doesn't belong in a component. It does not belong to C in MVC, but to the view. If a template wants to display a subtitle, then I think it should create its own override (In my opinion, this also applies to the standard template). A subtitle could then be specified via a menu parameter. This also has the advantage: In this case, everything is together and is not forgotten when deleting.

avatar chmst
chmst - comment - 8 Jul 2020

This is right (that it belongs to the view), but I think, if somone wants subheadings, he ca use a custom field and template override.

avatar SharkyKZ
SharkyKZ - comment - 8 Jul 2020

Looks like this was lost by mistake when switching to JLayout de3a3e1.

avatar ReLater
ReLater - comment - 8 Jul 2020

When we remove the page_subheading fields that are there for a long time in Joomla and used/displayed can we then please remove also all other settings/fields where some professors will find arguments for removing them?

Because users can make overrides and some more overrides and more overrides instead of relying in B\C promises that were made in the past. Let's kick them in the a... again.

avatar AndySDH
AndySDH - comment - 26 Feb 2021

I stumbled upon this while making PR #32525, so I addressed it there. Please test the PR.

avatar alikon alikon - change - 26 Feb 2021
Status New Closed
Closed_Date 0000-00-00 00:00:00 2021-02-26 11:55:56
Closed_By alikon
avatar alikon alikon - close - 26 Feb 2021
avatar alikon
alikon - comment - 26 Feb 2021

please test #32525

Add a Comment

Login with GitHub to post a comment