[Skip to main content](#vessel-content)

#   How to change the "Back" link

##

- **[peteo](/forum/user/33887-peteo "View peteo's Profile")**
- [![peteo's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/33887-peteo "View peteo's Profile") Topic Author
- [ Offline](/forum/user/33887-peteo)

Less More

- Posts: 114
- Thank you received: 4
-
-

9 years 5 months ago [\#270698](#270698) by [peteo](/forum/user/33887-peteo "View peteo's Profile")  *[How to change the "Back" link](/forum/33-customers/890471-how-to-change-the-back-link#270698 "-- HikaShop version -- : 3.1 -- Joomla version -- : 3.7 -- PHP version -- : 7.1  In all the views like ...?ctrl=order&amp;task=show... there is a &quot;Back&quot; link displayed. I would need that button to link to the user profile, which in my case is provided by CB. Where can I cange that link?")* was created by *[peteo](/forum/user/33887-peteo "View peteo's Profile")*

-- HikaShop version -- : 3.1
-- Joomla version -- : 3.7
-- PHP version -- : 7.1

In all the views like ...?ctrl=order&amp;task=show... there is a "Back" link displayed. I would need that button to link to the user profile, which in my case is provided by CB. Where can I cange that link?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2N1c3RvbWVycy84OTA0NzEtaG93LXRvLWNoYW5nZS10aGUtYmFjay1saW5rP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86540
- Thank you received: 14299
-
-

9 years 5 months ago [\#270703](#270703) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[How to change the "Back" link](/forum/33-customers/890471-how-to-change-the-back-link#270703 "-- HikaShop version -- : 3.1 -- Joomla version -- : 3.7 -- PHP version -- : 7.1  In all the views like ...?ctrl=order&amp;task=show... there is a &quot;Back&quot; link displayed. I would need that button to link to the user profile, which in my case is provided by CB. Where can I cange that link?")*

Hi,

That should already be the case.
I suppose that you have installed the integration with have with CB.
In that case, when you click on the link to access the order from the CB orders listing, the link has a parameter cancel_url which contains the CB profile URL so that when the user clicks on the cancel button, he is redirected to that URL.

If you want to force that URL, you can edit the file "show" of the view "order" via the menu Display&gt;Views and change the line: Code:

&lt;input type="hidden" name="cancel_url" value="&lt;?php echo JRequest::getString('cancel_url'); ?&gt;" /&gt;

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2N1c3RvbWVycy84OTA0NzEtaG93LXRvLWNoYW5nZS10aGUtYmFjay1saW5rP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[peteo](/forum/user/33887-peteo "View peteo's Profile")**
- [![peteo's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/33887-peteo "View peteo's Profile") Topic Author
- [ Offline](/forum/user/33887-peteo)

Less More

- Posts: 114
- Thank you received: 4
-
-

9 years 5 months ago -  9 years 5 months ago [\#270978](#270978) by [peteo](/forum/user/33887-peteo "View peteo's Profile")  Replied by *[peteo](/forum/user/33887-peteo "View peteo's Profile")* on topic *[How to change the "Back" link](/forum/33-customers/890471-how-to-change-the-back-link#270978 "-- HikaShop version -- : 3.1 -- Joomla version -- : 3.7 -- PHP version -- : 7.1  In all the views like ...?ctrl=order&amp;task=show... there is a &quot;Back&quot; link displayed. I would need that button to link to the user profile, which in my case is provided by CB. Where can I cange that link?")*

Thanks. I installed the CB plugin but it says "This plugin is not compatible with your current CB version. This plugin may still be used, but it may not function properly."
Currently it seems to work but it could collaps with every new CB update. Might be a good idea to update your code soon?

EDIT: I reinstalled the CB plugin. Now it displays v 2.0.0 and CB does not give that warning anymore.

Last edit: 9 years 5 months ago by [peteo](/forum/user/33887-peteo "View peteo's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2N1c3RvbWVycy84OTA0NzEtaG93LXRvLWNoYW5nZS10aGUtYmFjay1saW5rP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[peteo](/forum/user/33887-peteo "View peteo's Profile")**
- [![peteo's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/33887-peteo "View peteo's Profile") Topic Author
- [ Offline](/forum/user/33887-peteo)

Less More

- Posts: 114
- Thank you received: 4
-
-

9 years 4 months ago -  9 years 4 months ago [\#272032](#272032) by [peteo](/forum/user/33887-peteo "View peteo's Profile")  Replied by *[peteo](/forum/user/33887-peteo "View peteo's Profile")* on topic *[How to change the "Back" link](/forum/33-customers/890471-how-to-change-the-back-link#272032 "-- HikaShop version -- : 3.1 -- Joomla version -- : 3.7 -- PHP version -- : 7.1  In all the views like ...?ctrl=order&amp;task=show... there is a &quot;Back&quot; link displayed. I would need that button to link to the user profile, which in my case is provided by CB. Where can I cange that link?")*

The correct "back" url is only displayed when the user is already on the website. When a user comes from the order notification email to that page it leads to the hikashop panel and not to the CB profile page as it should.

Last edit: 9 years 4 months ago by [peteo](/forum/user/33887-peteo "View peteo's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2N1c3RvbWVycy84OTA0NzEtaG93LXRvLWNoYW5nZS10aGUtYmFjay1saW5rP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86540
- Thank you received: 14299
-
-

9 years 4 months ago [\#272045](#272045) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[How to change the "Back" link](/forum/33-customers/890471-how-to-change-the-back-link#272045 "-- HikaShop version -- : 3.1 -- Joomla version -- : 3.7 -- PHP version -- : 7.1  In all the views like ...?ctrl=order&amp;task=show... there is a &quot;Back&quot; link displayed. I would need that button to link to the user profile, which in my case is provided by CB. Where can I cange that link?")*

Hi,

When you access the order from the email, the system has no idea that you want to go to the profile of CB when you click on the back button. So no it's not "as it should", but "as you would like".

That's why I told you:

> If you want to force that URL, you can edit the file "show" of the view "order" via the menu Display&gt;Views and change the line:
>
> &lt;input type="hidden" name="cancel\_url" value="&lt;?php echo JRequest::getString('cancel\_url'); ?&gt;" /&gt;

So that way, you can force the URL you want for the back button, so that it always redirect to the CB profile, regardless of where you accessed the order from.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2N1c3RvbWVycy84OTA0NzEtaG93LXRvLWNoYW5nZS10aGUtYmFjay1saW5rP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.060 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
