Skip to main content

Does not work with standard SEF?Problem menu links

More
15 years 11 months ago - 15 years 11 months ago #163 by Asa
HikaShop does not work with standard SEF?
Last edit: 15 years 11 months ago by Asa. Reason: imprecise question

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

More
15 years 11 months ago #164 by nicolas
It works with standard SEF. We use it on our website and we also use the standard SEF.

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

More
15 years 11 months ago #166 by Asa
I have a problem :( . I use a local server Server2Go. When I create a menu link on the product category when the SEF, I get no working link. When SEF is off the link works...

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

More
15 years 11 months ago #167 by nicolas
Your other extensions links work on the front end when you activate the SEF ? If not, it could be that you need to change the name of the htaccess.txt file to .htaccess. It's something related to joomla standard SEF.

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

More
15 years 11 months ago #168 by Asa
.htaccess - ok. Other extensions links work.

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

More
15 years 11 months ago #169 by nicolas
So could you copy/paste here the SEFed and non SEFed versions of the links which doesn't work ?

By the way, each time our website sends you an email, we got an automatic response saying to stop spaming:
Code:
Прекратите рассылать спам! Немедленно удалите аккаунт связанный с данной почтой. ------------------------------------ Mail.Ru - удобно, доступно, надежно! ------------------------------------

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

More
15 years 11 months ago - 15 years 11 months ago #170 by Asa
Menu HikaShop shows the link: index.php?option=com_hikashop&view=category&layout=listing
Browser link 404:
Code:
http://127.0.0.1:4001/index.php?Itemid=65&option=
_____________

By the way, each time our website sends you an email, we got an automatic response saying to stop spaming:

possibly at mail.ru again the problem...
never was a spammer :blink:
Last edit: 15 years 11 months ago by Asa.

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

More
15 years 11 months ago #171 by nicolas
Could you copy/paste the URL of the link BEFORE clicking on it ? ( you can right click on the link and use the "copy link location" option for that ). The link should be SEFed

I tried on my localhost with wamp server 2 and the SEF works properly for hikashop menus. Which option of the SEF of joomla did you activate ? How did you add the HikaShop menu ? You must be missing something somewhere because there is no reason it wouldn't work.

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

More
15 years 11 months ago - 15 years 11 months ago #172 by Asa
Step_1 - OK
[IMG

Step_2 - OK
[IMG

Step_3 - OK
[IMG

Step_4 - OK
[IMG

Step_5 - Err
[IMG

Right click - copy link:
Code:
http://127.0.0.1:4001/index.php?Itemid=65&option=

There is a call to the database id=65, but the link is not taken from the nucleus table...
Last edit: 15 years 11 months ago by Asa.

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

More
15 years 11 months ago #173 by nicolas
You did it correctly. However, doing the same thing on all websites I tried works properly. Moreover, this link is not correct (that's why it doesn't work when you click on it) but it is generated by Joomla (or whatever SEF component you use ) not HikaShop, so there is not much we can do... I can't ask you an access to your website to try to put traces since you're in local so I'm afraid I can't help you much :/

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

More
15 years 11 months ago - 15 years 11 months ago #209 by Asa
When run the script, somewhere there is a substitution of finished code SEF joomla
Code:
<a href="/(alias).html">
on the code HikaShop
Code:
<a href="/index.php?Itemid=(ID menu)&option=">
Please, tell me which file (s) responsible for the formation of menu links.
Last edit: 15 years 11 months ago by Asa.

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

More
15 years 11 months ago #213 by nicolas
Hi,

We found the problem.
You need to change the declaration fo the function save in the file administrator/components/com_hikashop/classes/menus.php by the code below :
Code:
function save(&$element){ $query="SELECT a.id FROM ".hikashop::table('components',false).' AS a WHERE a.option=\''.HIKASHOP_COMPONENT.'\''; $this->database->setQuery($query); $element->componentid = $this->database->loadResult(); if(empty($element->id)){ $element->params['show_page_title']=1; } if(!empty($element->params)&&is_array($element->params)){ $params = ''; foreach($element->params as $k => $v){ $params.=$k.'='.$v."\n"; } $element->params = rtrim($params,"\n"); } $element->id = parent::save($element); return $element->id; }
And then open your menu with HikaShop and save it once. That should fix the problem.
We will release later today a new version of HikaShop with this fix.

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

More
15 years 11 months ago #217 by Asa
This is great news! Thank you!

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

Time to create page: 0.302 seconds
Powered by Kunena Forum