?
avatar stoffern
stoffern
1 Nov 2016

Steps to reproduce the issue

Create a expired article, and mark it as featured.
Navigate to the featured article list..

Expected result

Expired articles should now show up.

Actual result

Expired articles show up

System information (as much as possible)

Latest Joomla, Latest PHP

avatar stoffern stoffern - open - 1 Nov 2016
avatar joomla-cms-bot joomla-cms-bot - change - 1 Nov 2016
Labels Added: ?
avatar stoffern stoffern - change - 1 Nov 2016
Title
Expired featured article
[com_article] Expired featured article
avatar stoffern stoffern - edited - 1 Nov 2016
avatar stoffern stoffern - change - 1 Nov 2016
Title
Expired featured article
[com_article] Expired featured article
avatar brianteeman
brianteeman - comment - 1 Nov 2016

Are you using one of the default templates - eg protostar.
If not can you replicate it with protostar
It sounds like a template override issue but you really didnt give enough "system information" to be able to tell

avatar stoffern
stoffern - comment - 1 Nov 2016

Lets say i want to list 3 last featured articles that are not expired.

The model will get the articles. and in the view it will add a expired label to it.
https://github.com/joomla/joomla-cms/blob/staging/components/com_content/views/featured/tmpl/default_item.php#L46-L48

avatar brianteeman
brianteeman - comment - 2 Nov 2016

Please answer

Are you using one of the default templates - eg protostar.
If not can you replicate it with protostar
It sounds like a template override issue but you really didnt give enough "system information" to be able to tell


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

avatar brianteeman brianteeman - change - 2 Nov 2016
Status New Information Required
avatar brianteeman brianteeman - change - 2 Nov 2016
Category com_content
avatar stoffern
stoffern - comment - 2 Nov 2016

i am using a custom template that i have developed.
you want me to post all the code from every files here?

Looks like protostar dont show the items that are unpublished.
When using my template it will show:

  • unpublished items
  • expired items
  • items that need higher permission to view

Looks like there are 0 filtering. should the filter be in the template or in the Joomla settings?

avatar brianteeman
brianteeman - comment - 2 Nov 2016

Which confirms that the problem is in YOUR template and not the core of
Joomla

We cannot support your custom code - this issue tracker is just for bug in
the core of Joomla. If you need help then please use the forum
http://forum.joomla.org

On 2 November 2016 at 14:18, Kristoffer notifications@github.com wrote:

i am using a custom template that i have developed.
you want me to post all the code from every files here?

Looks like protostar dont show the items that are unpublished.
When using my template it will show:

  • unpublished items
  • expired items
  • items that need higher permission to view

Looks like there are 0 filtering. should the filter be in the template or
in the Joomla settings?


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#12685 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABPH8dSoYJ51MqKbkzC8U_Ge50VTHJEuks5q6JulgaJpZM4KmFCD
.

Brian Teeman
Co-founder Joomla! and OpenSourceMatters Inc.
https://brian.teeman.net/ http://brian.teeman.net/

avatar brianteeman
brianteeman - comment - 2 Nov 2016

I am closing this here as you have confirmed by using protosatr that there is no bug in the core of Joomla

avatar brianteeman brianteeman - change - 2 Nov 2016
Status Information Required Closed
Closed_Date 0000-00-00 00:00:00 2016-11-02 14:37:07
Closed_By brianteeman
avatar brianteeman brianteeman - close - 2 Nov 2016
avatar brianteeman brianteeman - close - 2 Nov 2016
avatar brianteeman
brianteeman - comment - 2 Nov 2016

hint look at the override in your template for the featured view

avatar stoffern
stoffern - comment - 2 Nov 2016

Thanks for a polite and good answer, throu out a good support.
Guess i will go back to other CMS systems that are better documented.

avatar brianteeman
brianteeman - comment - 2 Nov 2016

Sorry to hear that but as I said this isn't a support forum. The support
forum is at http://forum.joomla.org

avatar stoffern
stoffern - comment - 3 Nov 2016

Problem found. Someone set the default visiters group to "Super Users"

Add a Comment

Login with GitHub to post a comment