I can't seem to figure how to change the tep_href_link
Found the google sheet:
tep_href_link('account.php') $Linker->build('account.php')
tep_href_link('advanced_search_result.php', tep_get_all_get_params(), 'NONSSL', true, false)) $Linker->build('advanced_search_result.php')->retain_query_except())
but can't figure how to replace the code:
$table_content .= '<tr onclick="document.location.href=\'' . tep_href_link('orders.php', tep_get_all_get_params(['action', 'oID']) . '&action=edit&oID=' . $o['orders_id']) . '\'">';^M
Customer Orders Tab
Deprecated: The tep_href_link function has been deprecated. - Customer Orders Tab
-
gsmiley007
- Member
- Posts: 82
- Joined: Sun Mar 14, 2021 9:28 pm
- Phoenix Version:
- Contact:
Re: Deprecated: The tep_href_link function has been deprecat
Code: Select all
Guarantor::ensure_global('Admin')->link('orders.php', ['action' => 'edit', 'oID' => $o['orders_id']])->retain_query_except(['action', 'oID'])Code: Select all
$table_content .= '<tr onclick="document.location.href=\'' . Guarantor::ensure_global('Admin')->link('orders.php', ['action' => 'edit', 'oID' => $o['orders_id']])->retain_query_except(['action', 'oID']) . '\'">';-
BrockleyJohn
- Certified Developer
- Posts: 173
- Joined: Mon Mar 01, 2021 5:37 pm
- Phoenix Version:
- : Buy Me A Beverage
- Contact:
-
gsmiley007
- Member
- Posts: 82
- Joined: Sun Mar 14, 2021 9:28 pm
- Phoenix Version:
- Contact:
Re: Deprecated: The tep_href_link function has been deprecat
Did you eventually get this to work with no errors. If so would you mind sharing the code in the file please as I am struggling to get it to work at all.gsmiley007 wrote:thanks
-
14Steve14
- Senior Contributor
- Posts: 923
- Joined: Fri Oct 25, 2019 7:01 pm
- Phoenix Version: v1.0.9.1
- Contact:
Re: Deprecated: The tep_href_link function has been deprecat
Fixed in the update recently uploaded14Steve14 wrote:Did you eventually get this to work with no errors. If so would you mind sharing the code in the file please as I am struggling to get it to work at all.gsmiley007 wrote:thanks
-
BrockleyJohn
- Certified Developer
- Posts: 173
- Joined: Mon Mar 01, 2021 5:37 pm
- Phoenix Version:
- : Buy Me A Beverage
- Contact:
Re: Deprecated: The tep_href_link function has been deprecat
Sorry, haven't checked the forums in a while. yes i did, but every time i tried to share a fix, the post would be deleted
-
gsmiley007
- Member
- Posts: 82
- Joined: Sun Mar 14, 2021 9:28 pm
- Phoenix Version:
- Contact: