User tests: Successful: Unsuccessful:
Pull Request for Issue #13596.
Added two fields in the article editor featured_up
(Start Featured) and featured_down
(End Featured)
An article is featured if featured
is yes and (featured_up
is null or is less than or is equal to now) and (featured_down
is null or is greater than or is equal to now)
create 5 articles:
Create an Articles » Featured Articles
menu item
Create a News Flash
module and set the option Featured Articles
to Only show Featured Articles
.
Only the articles 2 and 5 will be shown in the Articles » Featured Articles
menu item and in the News Flash
module.
Status | New | ⇒ | Pending |
Category | ⇒ | SQL Administration com_admin com_content Language & Strings Front End Layout Libraries External Library |
Title |
|
Labels |
Added:
?
?
|
I tested and fixed the code. thx @tonypartridge
ummmhh
i guess that featured_up
,featured_down
should be added to the #__content_frontpage
table
you have deleted the fof/table/table.php file instead of reverting the changes
from my data model POV is wrong, these fields are attributes of the featured and not for the content entity
Title |
|
@eshiol Please use the PR template for your PR. The template gives you places for the details needed for adding a feature, for how testing should proceed and more.
Pull Request for Issue #13596.
Summary of Changes
Testing Instructions
Expected result
Actual result
Documentation Changes Required
Pull Request for Issue #13596.
Added two fields in the article editor featured_up
(Start featured) and featured_down
(End featured)
An article is featured if featured
is yes and (featured_up
is null or is less than or equals to now) and (featured_down
is null or is greater than or equal to now)
create 5 articles:
Create an Articles » Featured Articles
menu item
Create a News Flash
module and set the option Featured Articles
to Only show Featured Articles
.
Only the articles 2 and 5 will be shown in the Articles » Featured Articles
menu item and in the News Flash
module.
Labels |
Added:
?
|
Category | SQL Administration com_admin com_content Language & Strings Front End Layout Libraries External Library | ⇒ | SQL Administration com_admin com_content Language & Strings Front End Layout Libraries |
I agree with @brianteeman until a fix is done MySQL 5.7 this is correct.
On 5 Jul 2017, 19:30 +0100, Brian Teeman notifications@github.com, wrote:
@brianteeman commented on this pull request.
In administrator/components/com_admin/sql/updates/mysql/3.7.3-2017-07-01.sql:@@ -0,0 +1,2 @@
+ALTER TABLE#__content
ADD COLUMNfeatured_up
datetime NOT NULL DEFAULT '0000-00-00 00:00:00';
that is true it has issues (outside of Joomla) BUT we are still using it everywhere so it should stay as proposed for this PR
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
Category | SQL Administration com_admin com_content Language & Strings Front End Layout Libraries | ⇒ | SQL Administration com_admin com_content Language & Strings Front End Layout Libraries Unit Tests |
Labels |
Added:
?
|
Category | SQL Administration com_admin com_content Language & Strings Front End Layout Libraries Unit Tests | ⇒ | SQL Administration com_admin com_content Language & Strings Front End Layout Libraries |
Labels |
Removed:
?
|
Category | SQL Administration com_admin com_content Language & Strings Front End Layout Libraries | ⇒ | SQL Administration com_admin Postgresql MS SQL com_content Language & Strings Front End Layout Libraries Unit Tests |
Labels |
Added:
?
|
I think we need to add something like the published state (Published and is Current; Published, but has Expired; Published, but is Pending) to the featured state (Featured; Featured, but Stopped; Featured, but not yet Started). I would use the icon "expired" for the stopped status, and icon "pending" for the not yet started status). What do you think?
Thats a good idea, I’d go simpler with:
Featured
Featured End: 2017-07-09 10:19:07
Featured Ended: 2017-07-09 10:19:07
On 10 Jul 2017, 09:29 +0100, Helios Ciancio notifications@github.com, wrote:
I think we need to add something like the published state (Published and is Current; Published, but has Expired; Published, but is Pending) to the featured state (Featured; Featured, but Stopped; Featured, but not yet Started). I would use the icon "expired" for the stopped status, and icon "pending" for the not yet started status). What do you think?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
Can you look at resolving the conflicts so that this can be tested please.
Category | SQL Administration com_admin com_content Language & Strings Front End Layout Libraries Postgresql MS SQL Unit Tests | ⇒ | Repository Administration com_admin SQL Postgresql MS SQL com_banners com_config com_contact com_content com_finder |
I merged the remote-tracking branch 'refs/remotes/joomla/3.8-dev', my mistake. But now, I'm not able to revert it.
@eshiol if git revert 956a9cd
won't allow you to revert you will likely have to figure out how to redo the source work. (there is probably some way to create a new branch and cherry pick commit 09f5cd5 then overwrite the broken branch in this PR, but I'm not up on all of the pr "rescue" techniques for fixing mistakes and broken branches.)
Just do a git reset --hard upstream/staging if you want to make the branch
the same as the staging branch
--
Tony Partridge
From: Walt Sorensen notifications@github.com notifications@github.com
Reply: joomla/joomla-cms
reply@reply.github.com
reply@reply.github.com
Date: 22 August 2017 at 04:31:36
To: joomla/joomla-cms joomla-cms@noreply.github.com
joomla-cms@noreply.github.com
CC: Tony Partridge admin@xtech.im admin@xtech.im, Mention
mention@noreply.github.com mention@noreply.github.com
Subject: Re: [joomla/joomla-cms] New Feature: Schedule featured articles
#13596 (#16960)
@eshiol https://github.com/eshiol if git revert 956a9cd won't allow you
to revert you will likely have to figure out how to redo the source work.
(there is probably some way to create a new branch and cherry pick commit
09f5cd5
09f5cd5
then overwrite the broken branch in this PR, but I'm not up on all of the
pr "rescue" techniques for fixing mistakes and broken branches.)—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#16960 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABVgloes6B-Mu9YvlwJDT9WeXs0136zzks5sakuXgaJpZM4ONEhM
.
Category | SQL Administration com_admin com_content Postgresql MS SQL Repository com_banners com_config com_contact com_finder | ⇒ | SQL Administration com_admin Postgresql MS SQL com_contact com_content com_languages Language & Strings Modules Front End Installation |
Labels |
Removed:
?
?
|
Broken PR. I'll open a new one. Sorry.
Status | Pending | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-08-22 07:58:51 |
Closed_By | ⇒ | eshiol | |
Labels |
Added:
?
|
I just installed 3.8.0 and this feature is not yet available in the backend.
Have you tested the modules view which featured are shown only?