Jump to content

Return to product details page from custom page


fross

Recommended Posts

Hello,

I've created custom page in provisioning module and added link to this page in ClientAreaCustomButtonArray. But when I going to this page, I shouldn't return to product details page. The last link in breadcrumb looks like "href="/clientarea.php?action=productdetails#" as this link is incorrectable I am taken to wrong page "clientarea.php?action=products". In the sidebar, in "service detail overview" tab, "Information" link looks like "href="/clientarea.php?action=productdetails&id=6774#tabOverview" and I stay on current page.

CustomPage function:

function myModule_myCustomPage() {
    return array(
        'templatefile' => 'templates/datatraffic',
        'breadcrumb' => array( "clientarea.php?action=productdetails&id={$params['serviceid']}$modop=custom&a=myCustomPage" => "CustomPage"),
    );
}

Also I've added the "breadcrumb" to array in ClientArea, but I guess that it does not work.
 

function myModule_ClientArea($params) {
	...
	return array(
		'templatefile' => 'templates/clientarea',
        'breadcrumb' => array("clientarea.php?action=productdetails&id={$params['serviceid']}",
		...
        ),
	);
}


Can you help me, please?

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated