CMS MADE SIMPLE FORGE

Products

 

[#11897] hierarchypage and resultpage has no effect

avatar
Created By: Mich-adg (Mich)
Date Submitted: Sun Sep 16 13:10:53 -0400 2018

Assigned To: Robert Campbell (calguy1000)
Version: 2.28.4
CMSMS Version: 2.2.7
Severity: Major
Resolution: None
State: Open
Summary:
hierarchypage and resultpage has no effect
Detailed Description:
Hi,

i tried this but i can't reach the 'detailprod' page (the summary view show in
the actual page, even if in the Prefs i set the hierarchy default view):


{Products action='hierarchy' hierarchypage='detailprod'}

{Products action='categorylist' resultpage='detailprod'}

I have urls rewrite active.


History

Comments
avatar
Date: 2020-05-19 17:12
Posted By: Chris Taylor (chrisbt)

I found the same issue in 2.28.7

resultpage parameter does not function for either id or alias

I solved the issue in action.categorylist.php line 46, commented out:
   //$resultpage = $this->GetPreference('resultpage','');

This made resultpage parameter work as expected

There does not seem to be a resultpage preference available.
      
avatar
Date: 2023-07-26 14:32
Posted By: cyrcle (cyrcle)

Thank you, it works.
And the equivalent for the hierarchy is "summarypage".
{Products action='hierarchy' summarypage='6'}