? ?
avatar brianteeman
brianteeman
19 Feb 2020

I was looking to see if there was a way to hide the display of the stage name in com_content. There is only value in displaying the name when the default workflow is not being used.

<?php if ($only_icon) : ?>

I came across this code but I can not see how it is ever triggered

avatar brianteeman brianteeman - open - 19 Feb 2020
avatar joomla-cms-bot joomla-cms-bot - change - 19 Feb 2020
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 19 Feb 2020
avatar brianteeman brianteeman - change - 19 Feb 2020
Labels Added: ?
avatar brianteeman brianteeman - labeled - 19 Feb 2020
avatar bembelimen
bembelimen - comment - 19 Feb 2020

The idea behind this "if" is: if there are now transitions for you available, the "click event" with displaying the dropdown makes no sense, so it's not implemented.

avatar brianteeman
brianteeman - comment - 19 Feb 2020

aha - no wonder I couldnt get it to work.

So instead of removing it (we shouldnt have unusable code) I will repurpose it so that if the default workflow is being used we do not display the stage.

OK?

avatar bembelimen
bembelimen - comment - 19 Feb 2020

I have no opinion here, tbh. But I trust your UX knowledge, if you say it makes sense, let's try it.

avatar brianteeman
brianteeman - comment - 19 Feb 2020

well on the basis that with the default workflow the stages are no different to the J3 behaviour it worked well without them then. Of course with a custom workflow they do make sense so I wouldnt remove the display of them in that case

avatar jwaisner jwaisner - change - 19 Feb 2020
Status New Confirmed
Build staging 4.0-dev
avatar brianteeman
brianteeman - comment - 20 Feb 2020

Closed

avatar brianteeman brianteeman - change - 20 Feb 2020
Status Confirmed Closed
Closed_Date 0000-00-00 00:00:00 2020-02-20 18:50:29
Closed_By brianteeman
avatar brianteeman brianteeman - close - 20 Feb 2020

Add a Comment

Login with GitHub to post a comment