mod_tabs_gk5 hikashop products urls

Tabs module is the easiest and convenient way to create tabs in Joomla website with powerful features like JSON or XML support.
Rate this topic: Evaluations: 1, 6.00 on the average.Evaluations: 1, 6.00 on the average.Evaluations: 1, 6.00 on the average.Evaluations: 1, 6.00 on the average.Evaluations: 1, 6.00 on the average.Evaluations: 1, 6.00 on the average.6.00 out of 6 based on 1 vote(s)
GK User
Wed Oct 29, 2014 3:19 pm
Hi!
In Hikashop made ​​type URLs /palto-rozovyj-son-s-vorotnikom, but in the module displaying URLs mod_tabs_gk5 type /component/hikashop/product/palto-rozovyj-son-s-vorotnikom?Itemid = 9999.
How to do that when the wedge on the item in the module mod_tabs_gk5 makes a transition to the URL /palto-rozovyj-son-s-vorotnikom?
Thank you!
User avatar
Junior Boarder

teitbite
Fri Oct 31, 2014 6:06 pm
Hi

You need to create landing pages for products. It's as simple as creating category type pages for each category in product listing.
User avatar
Moderator

GK User
Sat Nov 01, 2014 1:59 pm
I do not understand how and where I need to create a landing page for a product? Can you give an example? http://s-kol.ru/
Thank you!
User avatar
Junior Boarder

GK User
Mon Nov 03, 2014 10:04 am
teitbite wrote:Hi

You need to create landing pages for products. It's as simple as creating category type pages for each category in product listing.

ask me to understand and take into account the inaccuracy of translation google.translate :roll:
User avatar
Junior Boarder

GK User
Mon Nov 03, 2014 9:12 pm
I believe that the correct operation of the module must be the canonical url products.
Please help solve the problem
User avatar
Junior Boarder

teitbite
Wed Nov 05, 2014 8:32 am
Hi

Here is what I meant. It's a little bit different example, but same issue with a lack of landing pages: https://www.gavick.com/documentation/qu ... s-working/
User avatar
Moderator

GK User
Wed Nov 05, 2014 12:21 pm
teitbite wrote:Hi

Here is what I meant. It's a little bit different example, but same issue with a lack of landing pages: https://www.gavick.com/documentation/qu ... s-working/


This menu I have. Each product has its own URL. In the setting of the goods designated canonical URL. Everywhere items displayed just under the canonical URL, except with the transition mod_tabs_gk5. Here's the canonical URL http://s-kol.ru/palto-rozovyj-son-s-vorotnikom, but the module is mod_tabs_gk5 transition to http://s-kol.ru/component/hikashop/product/palto-rozovyj-son-s-vorotnikom?Itemid= and so need to http://s-kol.ru/palto-rozovyj-son-s-vorotnikom.

http://s-kol.ru - site
http://prntscr.com/538boz - scr

*PL*
Może to nie jest tłumaczenie krzywej:
Menu to mam. Każdy produkt ma swój własny adres. W ustawieniu towarów oznaczonych kanonicznego adresu URL. Wszędzie elementy wyświetlane tuż pod kanonicznego adresu URL, chyba że mod_tabs_gk5 przejściowego. Oto kanonicznej URL http://s-kol.ru/palto-rozovyj-son-s-vorotnikom ale moduł jest mod_tabs_gk5 przejście do tego http://s-kol.ru/component/hikashop/product/palto-rozovyj-son-s-vorotnikom?Itemid= i konieczne jest, że ten http://s-kol.ru/palto-rozovyj-son-s-vorotnikom
User avatar
Junior Boarder

teitbite
Thu Nov 06, 2014 3:51 pm
Hi

I have asked programmers to take a look into this matter. Will let You know when I'll have an answer.
User avatar
Moderator

GK User
Thu Nov 06, 2014 5:37 pm
Okay,
I very much look forward to hearing
User avatar
Junior Boarder

GK User
Thu Nov 06, 2014 6:03 pm
Configured redirect URL that removes part /component/hikashop/product/. As a result of such a URL turned http://s-kol.ru/palto-rozovyj-son-s-vorotnikom?Itemid=. How to remove the ending "?Itemid=". Then the problem will be solved.

* But it would be better without these tweaks. That was enough to customizing Tab to select a category of goods HikaShop. And when you click on the items in the module I got on the canonical URL of the goods.
User avatar
Junior Boarder

teitbite
Thu Nov 06, 2014 9:21 pm
Hi

I've just tracked this problem. It's all because of sh404sef. I have set the ID of product listing page 1034 as an Itemid for Hikashop products main page. Since it's covering most of the products links are created correctly inside module. Below a dump to prove it:

Code: Select all
string(47) "/magazin/product/palto-rozovyj-son-s-vorotnikom"
string(54) "/magazin/product/palto-granatovyj-braslet-s-vorotnikom"
string(53) "/magazin/product/palto-anglijskie-tsvety-s-vorotnikom"
string(52) "/magazin/product/palto-amerikanskij-sad-s-vorotnikom"
string(47) "/magazin/product/palto-vals-boston-s-vorotnikom"


So this links are being changed after being displayed by some other extention. The only url extention You have is sh404sef.
Try delete all this broken links so maybe it will be recreated properly.
User avatar
Moderator

GK User
Fri Nov 07, 2014 8:46 am
1. Why changed the picture to Image Show GK4?
2. Why cleaned substrate under the heading module Image Show GK4?
3. What the.. http://prntscr.com/53uiix ???
4. Component sh404sef I tried to fix the problem, but do not get it right. Moreover, the component itself is not included, the reason why it is not.
User avatar
Junior Boarder

GK User
Sat Nov 08, 2014 11:09 am
Help least in htaccess configure. Cut "?Itemid=" from url. This is the only thing that does not run the site.
User avatar
Junior Boarder

teitbite
Sat Nov 08, 2014 11:10 am
Hi

1,2,3. Probably You've seen me checking links while I worked on this. About slider I must misunderstood You, sorry for that.

4. It's only my guess that it's sh404sef component fault. As You've seen links are created correctly by module itself. They are being changed after that. One of the component I know which can do that is sh404sef, so it may be a problem.
User avatar
Moderator

teitbite
Sat Nov 08, 2014 11:12 am
4Aces wrote:Help least in htaccess configure. Cut "?Itemid=" from url. This is the only thing that does not run the site.


This is not a solution at all. Without "?Itemid" You will not be able to attach modules to this pages. Please look into sh404sef. I believe this is what is causing the problem.
User avatar
Moderator

GK User
Mon Nov 10, 2014 4:16 pm
problem existed before I installed the component sh404.
User avatar
Junior Boarder

teitbite
Tue Nov 11, 2014 10:39 am
Hi

I agree. Before installing sh404 problem existed because there were a wrong Hikashop landing page ID attached. I've corrected this already, but sh404 is still using the remembered wrong links. I do not use sh404, but I suspect there is a way to delete the broken links and generate new one somehow.
User avatar
Moderator

GK User
Tue Nov 11, 2014 3:00 pm
So, let's start from the beginning.
I deleted all the old and unnecessary menu. Cleared all references sh404sef. Disable sh404sef component. Cleared the cache.

The product page has (and should have) the following url: http://s-kol.ru/NAME_PRODUCT. This created a menu that generates for goods canonical url. In HikaShop in the settings of each item is assigned a url like /NAME_PRODUCT. Throughout the site, the transition to the goods passes on this url: http://s-kol.ru/name_product. Here is an example: http://s-kol.ru/magazin - transition to the goods is carried out in the correct url without any settings, when I create a menu, choose the category of the store.

In the settings Tab News Show Pro GK5 I also indicate the category of the store to display. The site displays the specified category, but when switching to the goods specified category I get to the page: http://s-kol.ru/component/hikashop/prod ... ct?itemid= - who should not exist. I am sure that this drawback module News Show Pro GK5 and (or) Tabs GK5.

I beg you to look at the problem from this position.
Thank you for your work.
User avatar
Junior Boarder

teitbite
Wed Nov 12, 2014 6:24 pm
Hi

Ok. When sh404 was out of the sight I was able to check it and indeed one of the 4 links created by our module was wrong and it was the one used for header.

In tmpl/view.php in header() function link is produced with line:

Code: Select all
        $link = static::itemLink($item);


while it should be

Code: Select all
        $link = static::itemLink($item,$config);


$config is needed for hikashop landing page.

Informed programmers about that, so it will be updated soon. Thank You for reporting this.
User avatar
Moderator

GK User
Wed Nov 12, 2014 8:12 pm
The file contains several lines $link = static::itemLink($item);. In what line I need to edit ? Or should I wait until the programmers will fix?
User avatar
Junior Boarder

teitbite
Thu Nov 13, 2014 2:25 pm
Hi

I've changed that already in header which is the only element with link that You are using, but it should be added to all of the itemLink() functions visible in this file.
User avatar
Moderator

GK User
Thu Nov 13, 2014 6:15 pm
If make these corrections in all rows we get this:
User avatar
Junior Boarder

GK User
Thu Nov 13, 2014 6:49 pm
Fixed in .htaccess:
RewriteCond %{QUERY_STRING} ^(.*)Itemid=$
RewriteRule ^(.*) /$1?%1 [R=301,L]
RedirectPermanent /component/hikashop/product http://site.ru
User avatar
Junior Boarder

teitbite
Sat Nov 15, 2014 10:29 am
Hi

This is a wrong solution. Removing this attribute will use frontpage for every product which will make robots not see products.

I have fixed it already with the solution mentioned, but I can see it's reversed to the previous version again and on top of all the landing page id is not set in configuration of NSP.

Fix to NSP code is implemented now. Please only select this IDs to a category page of a products You are displaying with this module.
User avatar
Moderator

GK User
Sat Nov 15, 2014 7:57 pm
Yes, the bug with the module fixed, but again, I neither need such a long url. http://s-kol.ru/palto-s-vorotnikom/prod ... vorotnikom.

My solution is not wrong. The robot sees an existing page http://s-kol.ru/palto-granatovyj-braslet-s-vorotnikom which is the transition from the Tabs.

While I will use what I have configured.
User avatar
Junior Boarder

teitbite
Tue Nov 18, 2014 8:01 am
Hi

There is no "Itemid=" anymore, so I'm not sure if this solution is even used now. But I think sh404 has an option to remove the categories name/parent menu item aliases from url.
User avatar
Moderator


cron