Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Feature items filter to mod_articles_news #11540

Closed
wants to merge 1 commit into from
Closed

Added Feature items filter to mod_articles_news #11540

wants to merge 1 commit into from

Conversation

nickyeoman
Copy link

@nickyeoman nickyeoman commented Aug 10, 2016

Pull Request for Issue #11539 .

Summary of Changes

The feature item filter was already available for the
mod_articles_latest module, but that is just a list.
All code was slightly modified from the mod_articles_latest module.

Testing Instructions

  • Login to the joomla administrator
  • Add the module Articles - Newsflash
  • You should now see a filter parameter for featured

Documentation Changes Required

https://help.joomla.org/proxy/index.php?keyref=Help36:Extensions_Module_Manager_Articles_Newsflash
Should be updated to include the featured articles filter
Just copy and paste what is here: https://help.joomla.org/proxy/index.php?keyref=Help36:Extensions_Module_Manager_Latest_News

The feature item filter was already available for the
mod_articles_latest module, but that is just a list.
All code was slightly modified from the mod_articles_latest module.

Language File - Added three variables (description, lable and value)
Helper - Copy and pasted the switch from mod_articles_latest (same
parameter ordering too)
Parameter file - Added field after order (mirroring _latest)
@@ -4,6 +4,8 @@
; Note : All ini files need to be saved as UTF-8

MOD_ARTICLES_NEWS="Articles - Newsflash"
MOD_ARTICLES_NEWS_FIELD_FEATURED_DESC="Show or hide articles designated as featured."
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For consistency with other language strings can you change this to
Select to Show, Hide, or Only display Featured Articles.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can, but this is consistent with en-GB.mod_articles_latest.ini line 10. Do you want me to change verbiage there too?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I need to check if those two have the options for featured only to see if they need to be updated - but that is beyond the scope of this PR anyway. The string I chose was from mod_articles_category

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nickyeoman if you can change the string hen I can make this RTC and it can be merged -thanks

@Hils
Copy link
Contributor

Hils commented Aug 10, 2016

Small change: Without the Oxford Comma?
"Select to Show, Hide, or Only display Featured Articles."

@brianteeman
Copy link
Contributor

@Hils lets leave it in for now so it is identical to the other string and then the "issue" of the Oxford comma can be addressed in a single pull request

@hardiktailored
Copy link

I have tested this item ✅ successfully on b0e6d3d

Now I can see the 'Featured Articles' parameter selection and all three option works as expected.


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

@1apweb
Copy link

1apweb commented Aug 12, 2016

I have tested this item ✅ successfully on b0e6d3d


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

@brianteeman
Copy link
Contributor

RTC


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

@joomla-cms-bot joomla-cms-bot added the RTC This Pull Request is Ready To Commit label Aug 14, 2016
@rdeutz rdeutz added the Feature label Aug 16, 2016
@rdeutz rdeutz added this to the Joomla 3.7.0 milestone Aug 16, 2016
@rdeutz rdeutz changed the base branch from staging to 3.7.x September 23, 2016 18:49
@rdeutz
Copy link
Contributor

rdeutz commented Oct 1, 2016

@nickyeoman could you have a look at the conflicts and resolve them, thanks!

@zero-24
Copy link
Contributor

zero-24 commented Oct 16, 2016

@nickyeoman please see: https://github.com/nickyeoman/joomla-cms/pull/1 and merge to fix the conflicts

@zero-24
Copy link
Contributor

zero-24 commented Oct 25, 2016

New PR: #12547

@zero-24 zero-24 closed this Oct 25, 2016
@joomla-cms-bot joomla-cms-bot removed the RTC This Pull Request is Ready To Commit label Oct 25, 2016
@zero-24 zero-24 removed this from the Joomla 3.7.0 milestone Oct 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Language Change This is for Translators
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

8 participants