? ? ? Pending

User tests: Successful: Unsuccessful:

avatar vaibhavsTekdi
vaibhavsTekdi
31 Dec 2018

Is your feature request related to a problem? Please describe.

Yes, the user cannot able to see the featured contacts at the top in the contact list & also not able to set the number of contacts to display on a single page.

Describe the solution you'd like

Add new configs are as follows :

  • Contacts to List: Should have numbers to show contacts on list page with 'All' option.
  • Sort By: Featured Contacts Ordering (It will display the featured contacts at the top in the contact list)

Add above configs about showing the number of contacts(default numbers) to display on contact list page & also add a new sort option as 'Featured Contacts Ordering' in sort by config under 'Contacts: Options >> List Layouts' tab as global at the component level.

Also, these configs should available at Joomla contact menu having 'List Contacts in a Category' menu type. Both the configs should have global values as default values.

Contacts list should display according to the contact menu level configs.

Additional context

With the existing config(s) at Contacts component level options & Contacts menu level, the user cannot able to see the featured contacts at the top in the contact list & also not able to set the number of contacts to display on a single page.
It is showing the contacts sort by name or ordering or sort name etc.

Votes

# of Users Experiencing Issue
7/7
Average Importance Score
4.00

avatar vaibhavsTekdi vaibhavsTekdi - open - 31 Dec 2018
avatar vaibhavsTekdi vaibhavsTekdi - change - 31 Dec 2018
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 31 Dec 2018
Category Administration com_contact Language & Strings Front End
avatar vaibhavsTekdi vaibhavsTekdi - change - 31 Dec 2018
Title
Feature #23408 feat: New config to display featured contacts at the top in the contact list & config to set the number of contacts to display on a contact list page.
Feature #23408 feat: New configs to display featured contacts at the top & number of contacts to display on a contact list page.
avatar vaibhavsTekdi vaibhavsTekdi - edited - 31 Dec 2018
avatar infograf768
infograf768 - comment - 1 Jan 2019

Please modify constants below to COM_CONTACT_etc and move both strings to the com_contact.ini file
Articles similar strings should never have been created as JGLOBAL_and placed in en-GB.ini.

JGLOBAL_NUMBER_CONTACTS_LIST_DESC="Default number of contacts to list on a page."
JGLOBAL_NUMBER_CONTACTS_LIST_LABEL="# Contacts to List"

avatar vaibhavsTekdi vaibhavsTekdi - change - 2 Jan 2019
Labels Added: ? ?
avatar vaibhavsTekdi
vaibhavsTekdi - comment - 2 Jan 2019

Please modify constants below to COM_CONTACT_etc and move both strings to the com_contact.ini file
Articles similar strings should never have been created as JGLOBAL_and placed in en-GB.ini.

JGLOBAL_NUMBER_CONTACTS_LIST_DESC="Default number of contacts to list on a page."
JGLOBAL_NUMBER_CONTACTS_LIST_LABEL="# Contacts to List"

Modified both the constants & moved to the com_contact.ini file.

avatar infograf768
infograf768 - comment - 2 Jan 2019

_N_ITEMS in the constants makes no sense here as they are Label and Description which do not use a sprintf and variable.
Please just use
label="COM_CONTACT_NUMBER_CONTACTS_LIST_LABEL"
description="COM_CONTACT_NUMBER_CONTACTS_LIST_DESC"

avatar vaibhavsTekdi
vaibhavsTekdi - comment - 2 Jan 2019

_N_ITEMS in the constants makes no sense here as they are Label and Description which do not use a sprintf and variable.
Please just use
label="COM_CONTACT_NUMBER_CONTACTS_LIST_LABEL"
description="COM_CONTACT_NUMBER_CONTACTS_LIST_DESC"

Fixed.

avatar uthorat
uthorat - comment - 10 Jan 2019

I have tested this item successfully on 6ab994a


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

avatar uthorat uthorat - test_item - 10 Jan 2019 - Tested successfully
avatar tushs24
tushs24 - comment - 11 Jan 2019

I have tested this item successfully on 6ab994a


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

avatar tushs24 tushs24 - test_item - 11 Jan 2019 - Tested successfully
avatar Quy Quy - change - 11 Jan 2019
Status Pending Ready to Commit
avatar Quy
Quy - comment - 11 Jan 2019

RTC


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

avatar pallaviu
pallaviu - comment - 16 Jan 2019

I have tested this item successfully on 6ab994a


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

avatar pallaviu
pallaviu - comment - 16 Jan 2019

I have tested this item successfully on 6ab994a


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

avatar pallaviu pallaviu - test_item - 16 Jan 2019 - Tested successfully
avatar rdeutz
rdeutz - comment - 19 Jan 2019

@wilsonge rebase to 4.0-dev?

avatar shraddhaSankpal27
shraddhaSankpal27 - comment - 21 Jan 2019

I have tested this item successfully on 6ab994a


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

avatar shraddhaSankpal27 shraddhaSankpal27 - test_item - 21 Jan 2019 - Tested successfully
avatar vaibhavsTekdi vaibhavsTekdi - change - 24 Jan 2019
Labels Added: ?
avatar punambaravkar
punambaravkar - comment - 24 Jan 2019

I have tested this item successfully on 2009b15

## config related to pagination works fine


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

avatar punambaravkar punambaravkar - test_item - 24 Jan 2019 - Tested successfully
avatar KishoriBKarale
KishoriBKarale - comment - 25 Jan 2019

I have tested this item successfully on 2009b15

Updated code about pagination & this feature working fine.


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

avatar KishoriBKarale KishoriBKarale - test_item - 25 Jan 2019 - Tested successfully
avatar uthorat
uthorat - comment - 28 Jan 2019

I have tested this item successfully on 2009b15

Checked with updated code about pagination and its working fine.


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

avatar uthorat uthorat - test_item - 28 Jan 2019 - Tested successfully
avatar HLeithner
HLeithner - comment - 28 Jan 2019

@vaibhavsTekdi please rebase this feature to 4.0 and create a new PR, this PR will likely not go into 3.9

avatar vaibhavsTekdi vaibhavsTekdi - change - 29 Jan 2019
Status Ready to Commit Closed
Closed_Date 0000-00-00 00:00:00 2019-01-29 11:20:42
Closed_By vaibhavsTekdi
avatar vaibhavsTekdi
vaibhavsTekdi - comment - 29 Jan 2019

Rebased this feature to 4.0. Check the new PR link here.

avatar vaibhavsTekdi vaibhavsTekdi - close - 29 Jan 2019

Add a Comment

Login with GitHub to post a comment