?
avatar Buro26-Vincent
Buro26-Vincent
1 Jul 2015

Steps to reproduce the issue

  1. Login front-end
  2. Edit article
  3. Set the option Featured to Yes
  4. Save the article

Expected result

  1. That the article shows up in special article overview (back-end)

Actual result

  1. In Article overview (back-end) the article get's a "star"
  2. In Special article overview (back-end) the article is not shown

System information (as much as possible)

Joomla! 3.4.1 Stable [ Ember ] 21-March-2015 20:30 GMT

Additional comments

  • The featured setting is correctly saved in the table #__content
  • The featured stetting is not saved in the table #__content_frontpage
  • In back-end saving featured setting works
  • In front-end saving featured setting doesn't work

Votes

# of Users Experiencing Issue
0/1
Average Importance Score
1.00

avatar Buro26-Vincent Buro26-Vincent - open - 1 Jul 2015
avatar brianteeman
brianteeman - comment - 1 Jul 2015

I have tried to replicate this in 3.4.1 and 3.4.2 and I can not


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

avatar zero-24
zero-24 - comment - 1 Jul 2015

BTW if i understand it correct #__content_frontpage has nothing to do with featured only with ordering :smile:

See: https://github.com/joomla/joomla-cms/blob/3.4.2/installation/sql/mysql/joomla.sql#L359-368

avatar Buro26-Vincent
Buro26-Vincent - comment - 1 Jul 2015

Ok, I'll show you:

The Featured article overview in back-end doesn't display Fetured items created from front-end:
joomla - featured articles

The Article overview however shows the star:
joomla - articles

When creating a menu item and showing the Featured articles in front-end, they won't show up.

For back-end part of saving Featured setting:
See https://github.com/joomla/joomla-cms/blob/3.4.2/administrator/components/com_content/models/article.php#L538-L545

For front-end part of saving Featured setting:
See https://github.com/joomla/joomla-cms/blob/3.4.2/components/com_content/models/form.php#L178-L195

When I add before form.php#L178-L195:

if (isset($data['featured'])) {
  $this>featured($data['id'], $data['featured']);
}

It works like it should. But maybe there's a better place to correct this.

avatar Bakual
Bakual - comment - 1 Jul 2015

Can you create a PR with your code proposal? Then it could be tested.
See https://docs.joomla.org/Using_the_Github_UI_to_Make_Pull_Requests if you don't know what a PR is :smile:

avatar RonakParmar
RonakParmar - comment - 1 Jul 2015

I have tried to produce this issue in joomla 3.4.1 but not able to produce it.
I can see the featured article in featured article view. please see the screen dump.screen shot 2015-07-01 at 06 58 56screen shot 2015-07-01 at 06 58 57


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

avatar brianteeman
brianteeman - comment - 1 Jul 2015

Dont know what to say - I have no problem or am I doing something different? Here is a video

https://www.dropbox.com/s/psh7hmep44144zf/featured.mp4?dl=0

avatar RonakParmar
RonakParmar - comment - 1 Jul 2015

I have watched this video and got the same output as per the video.


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

avatar Buro26-Vincent
Buro26-Vincent - comment - 1 Jul 2015

Thanks, for all the answers, that looks like the problem is not in Joomla itself. Excuse me for that, I have to look further into it. I think it's a plugin problem.

avatar brianteeman brianteeman - close - 1 Jul 2015
avatar brianteeman
brianteeman - comment - 1 Jul 2015

I shall close it at this time. If you do find it was a Joomla issue feel free to post here again and it can be re-opened

avatar brianteeman brianteeman - change - 1 Jul 2015
Status New Closed
Closed_Date 0000-00-00 00:00:00 2015-07-01 12:38:37
Closed_By brianteeman
avatar brianteeman brianteeman - close - 1 Jul 2015

Add a Comment

Login with GitHub to post a comment