? Success
Related to # 3370

User tests: Successful: Unsuccessful:

avatar Kixo
Kixo
31 May 2014

The problem
No matter what I set the properties in the backend, the boolean value for "show_title" is always TRUE.
At first I edited "components\com_content\views\article\tmpl\default.php" Line 43:
-- get('show_title') || $params->get('show_author')) : ?>
++ get('show_title')&&$params->get('show_page_heading')) || $params->get('show_author')) : ?>
I know it is not a permanent solution, because that condition would be tied to two variables.
The solution
It will not break existing use case scenario but now user have the option to inherit Article options instead of Global options in that article.

I have made it possible for any option to be used in this way if it will be needed. It can be enabled by adding option COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS

Description pasted from original issue by Brian Teeman

Votes

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

avatar Kixo Kixo - open - 31 May 2014
avatar Kixo Kixo - change - 31 May 2014
Title
3370_params_articke_template_problem
3370_show_title_article_problem
avatar Bakual
Bakual - comment - 31 May 2014

Issue: #3370

avatar brianteeman brianteeman - change - 21 Aug 2014
The description was changed
avatar nicksavov nicksavov - change - 21 Aug 2014
Labels Removed: ?
avatar brianteeman brianteeman - change - 30 Aug 2014
The description was changed
Status New Pending
avatar brianteeman
brianteeman - comment - 19 Sep 2014

I am closing this so that we only have one issue for the same topic #3370

This comment was created with the J!Tracker Application at http://issues.joomla.org/.

avatar brianteeman brianteeman - close - 19 Sep 2014
avatar brianteeman brianteeman - change - 19 Sep 2014
Status Pending Closed
avatar brianteeman brianteeman - close - 19 Sep 2014
avatar brianteeman brianteeman - change - 19 Sep 2014
Closed_Date 0000-00-00 00:00:00 2014-09-19 11:22:59
avatar sovainfo
sovainfo - comment - 19 Sep 2014

Not sure that I agree with the PR, but now both are closed without reason!

avatar elkuku elkuku - change - 19 Sep 2014
Rel_Number 3700
Relation Type Related to
avatar elkuku elkuku - change - 19 Sep 2014
Rel_Number 3700 3370
avatar jissues-bot jissues-bot - reopen - 19 Sep 2014
avatar jissues-bot
jissues-bot - comment - 19 Sep 2014

Set to "open" on behalf of @elkuku by The JTracker Application at issues.joomla.org

avatar jissues-bot jissues-bot - reopen - 19 Sep 2014
avatar elkuku elkuku - change - 19 Sep 2014
Status Closed Pending
avatar jissues-bot jissues-bot - change - 19 Sep 2014
Status Pending New
avatar elkuku
elkuku - comment - 19 Sep 2014

I hope this was a number confusion ;)

This comment was created with the J!Tracker Application at http://issues.joomla.org/.

avatar infograf768
infograf768 - comment - 20 Sep 2014

Also, please change spaces to tabs in

+            <option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
avatar brianteeman brianteeman - change - 17 Oct 2014
Status New Pending
avatar davdebcom
davdebcom - comment - 28 Feb 2015

@Kixo Sent you a pull request to add use Joomla\Registry\Registry; to the top of view.html.php

@ Other testers: if you get the error, add "use Joomla\Registry\Registry;" to the top of view.html.php.

@Test
Works. Adds an option "Use Article Settings" to menu item edit view for articles to use the "Show title" setting as defined in the article itself (not com_content options).

@HermanPeeren and I discussed it. We might want to discuss if this is the best solution UX wise. We should either add "Use Article Settings" for all options (not just title) or adjust "Use Global" name to "Use Article Settings" and adjust the function to always take the setting from the article, which could be "Use Global". The term "Use Global" might be better as "Use Global Article Settings".

avatar davdebcom davdebcom - test_item - 28 Feb 2015 - Tested successfully
avatar roland-d
roland-d - comment - 20 Aug 2015

@Kixo Can you look at the PR sent to you by @davdebcom so we can test this issue further?


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

avatar roland-d roland-d - change - 20 Aug 2015
Status Pending Information Required
avatar roland-d
roland-d - comment - 7 Nov 2015

Hello @Kixo

Thank you for your contribution.

The last comment here was on 21st August. Can you please update the pull request?

If no reply is received within 4 weeks we will close this issue.

Thanks for understanding!


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

avatar brianteeman brianteeman - change - 17 Dec 2015
Status Information Required Closed
Closed_Date 2014-09-19 11:22:59 2015-12-17 11:08:49
Closed_By brianteeman
avatar brianteeman brianteeman - close - 17 Dec 2015
avatar brianteeman brianteeman - close - 17 Dec 2015
avatar brianteeman
brianteeman - comment - 17 Dec 2015

Closed due to inactivity stated above.
It can always be reopened if needed


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

Add a Comment

Login with GitHub to post a comment