Skip to main content

HikaShop and Joomfish

More
15 years 4 months ago - 15 years 4 months ago #16863 by davcraiguk
I have a menu displaying the products listing. When I click on the country flags the url changes from this:
www.charitycanvasprints.com/en-gb/view-the-images.html
to this:
www.charitycanvasprints.com/en-us/view-t...ges/format-html.html

And the display changes from the correct 'Product Listing' display to a 'Catagory Listing' Display.

I must be doing something wrong as it should still display the 'Product Listing'

EDIT
I also noticed the the page title is 'Categories' yet its set for a 'Prodct Listing'

Maybe I should delete the menu item and start again.

David Craig
Hikashop 1.5.0 Business edition
www.charitycanvasprints.com
Last edit: 15 years 4 months ago by davcraiguk. Reason: aded a postscript

Please Log in or Create an account to join the conversation.

More
15 years 4 months ago #16865 by nicolas
Replied by nicolas on topic Re: HikaShop and Joomfish
You should first try to deactivate the SEF in Joomla so that we can see the standard URLs. It's hard to say anything like that.

Please Log in or Create an account to join the conversation.

More
15 years 4 months ago #16866 by davcraiguk
Ok - deactivated Joomla SEF.

The original URLs are correct and they display correctly. So Joomla SEF is translating it wrong?

David Craig
Hikashop 1.5.0 Business edition
www.charitycanvasprints.com

Please Log in or Create an account to join the conversation.

More
15 years 4 months ago #16868 by nicolas
Replied by nicolas on topic Re: HikaShop and Joomfish
It must be a problem between the SEF and joomfish. Not sure what to say since it's working fine when not SEFed...

Please Log in or Create an account to join the conversation.

More
15 years 4 months ago #16870 by davcraiguk
I need to have SEF on so I'm taking off the language module for that menu item.

David Craig
Hikashop 1.5.0 Business edition
www.charitycanvasprints.com

Please Log in or Create an account to join the conversation.

More
15 years 4 months ago #16876 by davcraiguk
How I have the problem of how to display the language module on product pages as there are no Joomla menus pointing to prodct pages.

Can a module be coded into Display/views/products/show? My PHP knowledge doesn't go there.

David Craig
Hikashop 1.5.0 Business edition
www.charitycanvasprints.com

Please Log in or Create an account to join the conversation.

More
15 years 4 months ago #16879 by nicolas
Replied by nicolas on topic Re: HikaShop and Joomfish
That should be done in your template's index.php file with something like that:
if($_GET=='com_hikashop'&&$_GET=='product'&&$_GET=='show'){
//display module position
}

The way to display module positions in the index.php can be a lot different depending on how your template provider is making its templates. By default, joomla template's positions are displayed like this:
echo '<jdoc:include type="modules" name="user4" />';
where user4 is the name of the position.

Please Log in or Create an account to join the conversation.

More
15 years 4 months ago #16908 by davcraiguk
Thanks for that. I now use only the language module in 'user3' for product pages only as per code in previous post.

In order for the Language module to show on other Joomla article pages I created a duplicate of the language module anchored it to 'user4' position (similar to user3 in position on the page) and assigned them to menu items as required.

David Craig
Hikashop 1.5.0 Business edition
www.charitycanvasprints.com

Please Log in or Create an account to join the conversation.

More
14 years 10 months ago #30052 by zoomyman
Replied by zoomyman on topic Re: HikaShop and Joomfish
I had similar issue recently. Serfing the web I have found the solution which helped me:


Step 1: Always make a back up of the file you are working on - will save you a lot of time and nerves.

Step 2: Open the components/com_hikashop/router.php file with a text editor (I use Notepad++. Others might screw your files up due to the wrong encoding).

Around line 164 find
Code:
if(!in_array($name,array('option','Itemid','start'))){

and replase it with
Code:
if(!in_array($name,array('option','Itemid','start','format'))){

This did work for me.

Please Log in or Create an account to join the conversation.

More
14 years 10 months ago #30056 by nicolas
Replied by nicolas on topic Re: HikaShop and Joomfish
That has actually been added previously to the router.php file so if you use the latest version of HikaShop you should not have to do that and you should not have the problem.

But thanks anyway for the feedback.

Please Log in or Create an account to join the conversation.

More
14 years 10 months ago #30059 by zoomyman
Replied by zoomyman on topic Re: HikaShop and Joomfish
True. my version is not the latest one.

Please Log in or Create an account to join the conversation.

Time to create page: 0.252 seconds
Powered by Kunena Forum