Child pages
  • Ability to use PerPage, SortBy and Page params from URL Query

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Imported From: http://groups.google.com/group/in-portal-dev/browse_thread/thread/c722936e20596265#

...

We are looking for a way to extend functionality for using PerPage,
SortBy and Page params from URL Query. Here is a quick outline of
things to do:

New Query Params Usage:1.

  1. Tag PageLink will include parameters "page,per_page,sort_by" from

...

  1. request, when available (only pass them, when differ, from default

...

  1. values from unit config of that prefix)

...

  1. Pass main_list="1" to InitList/PrintList of main list on the page

...

  1. (one list per page)

...

  1. When main_list parameter is given, then during list initialization

...

  1. use page,per_page,sort_by from url to initialize list

...

  1. Remove "action" attribute from <form> tags on front-end

...

  1. Events OnSetPage, OnSetPerPage, OnSetSorting* should not add

...

  1. associated with them url parameter (page,per_page,sort_by), when it's

...

  1. value is equals to default value from unit config of main list being

...

  1. used.

New Query Params Storage: 1.

  1. don't store page,page,sorting in session on Front-End (setting in

...

  1. debug.php)

...

  1. store page,page,sorting in cookie (expiration until browser is

...

  1. closed) in format "<prefix>_var", e.g. "product_page".

Thanks.

Related Tasks

JIRA
serverIn-Portal Issue Tracker
serverId126bf1dc-b574-3522-8c14-3dd94dfb9de1
keyINP-460