- Posts: 75
- Thank you received: 1
Problem with Hikashop $current_url (Solved)
12 years 11 months ago - 12 years 11 months ago #129409
by spotstv
Problem with Hikashop $current_url (Solved) was created by spotstv
-- url of the page with the problem -- :
dev.frame-revival.com/sold-frames
-- HikaShop version -- : 2.2.2
-- Joomla version -- : 2.5.14
-- PHP version -- : 5.3
-- Browser(s) name and version -- : All browsers
Hi.
I am having trouble with a Hikashop installation I am currently working on, specifically relating to the url that Hikashop is looking up.
If you take a look at this page dev.frame-revival.com/sold-frames and navigate to the 'next/prev' form at the bottom, clicking on any link in that form gives a 404.
To explain further, the path that contains the dev.frame-revival.com domain is spots.tv/live/frame-b-dev
For some reason the $current_url / hikashop_currentURL( ); is looking at the root of spots.tv, not where it was installed on dev.frame-revival.com.
Is this something simple I have overlooked? We have reason to believe it is something to do with the .htaccess file but are unsure.
-- HikaShop version -- : 2.2.2
-- Joomla version -- : 2.5.14
-- PHP version -- : 5.3
-- Browser(s) name and version -- : All browsers
Hi.
I am having trouble with a Hikashop installation I am currently working on, specifically relating to the url that Hikashop is looking up.
If you take a look at this page dev.frame-revival.com/sold-frames and navigate to the 'next/prev' form at the bottom, clicking on any link in that form gives a 404.
To explain further, the path that contains the dev.frame-revival.com domain is spots.tv/live/frame-b-dev
For some reason the $current_url / hikashop_currentURL( ); is looking at the root of spots.tv, not where it was installed on dev.frame-revival.com.
Is this something simple I have overlooked? We have reason to believe it is something to do with the .htaccess file but are unsure.
Last edit: 12 years 11 months ago by spotstv. Reason: Solved
Please Log in or Create an account to join the conversation.
12 years 11 months ago #129462
by Xavier
Replied by Xavier on topic Problem with Hikashop $current_url
Hi,
Thanks to try to edit the view "product / listing" via the menu display > Views and replace:
By the joomla function to get the current url:
You have to make the replacement twice.
Thanks to try to edit the view "product / listing" via the menu display > Views and replace:
Code:
hikashop_currentURL()
Code:
JURI::current()
You have to make the replacement twice.
The following user(s) said Thank You: spotstv
Please Log in or Create an account to join the conversation.
12 years 11 months ago #129511
by spotstv
Replied by spotstv on topic Problem with Hikashop $current_url
Hi Xavier,
That worked perfectly, thanks a lot for your help
That worked perfectly, thanks a lot for your help
Please Log in or Create an account to join the conversation.
Time to create page: 0.172 seconds