Keyword

[SOLVED]change slug /component/k2/

  • Franz Heine
  • Franz Heine's Avatar Topic Author
  • Offline
  • Premium Member
More
6 years 9 months ago - 6 years 9 months ago #166443 by Franz Heine
[SOLVED]change slug /component/k2/ was created by Franz Heine
Hi,

if i display in "item view options -> Tags, ill see in the item view the tags with a link.

Im using the "Advanced SEF settings". For "Prefix for tag URLs" im using onlineshop:

The link looks like: /component/k2/onlineshop/xxx.html


How can i change /component/k2 to the menu alias?

In other project i works, but i dont know where to check.

Thx in advance
Last edit: 6 years 9 months ago by Franz Heine. Reason: Solved

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
6 years 9 months ago #166450 by Krikor Boghossian
Replied by Krikor Boghossian on topic change slug /component/k2/
Hello,

Are you using any other SEF extensions?
By enabling Advanced SEF the URLS should change.
If you are using cache make sure to clear J!'s and your browser's cache so the links are generated.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

  • Franz Heine
  • Franz Heine's Avatar Topic Author
  • Offline
  • Premium Member
More
6 years 9 months ago - 6 years 9 months ago #166468 by Franz Heine
Replied by Franz Heine on topic change slug /component/k2/
Hi Krikor,

no other SEF extensions in use. Joomla SEF plugin active.

What ive realized is, that this issue happend after the joomla 3.8.4 update. Could this be the problem?

The k2 Advanced SEF is active and works.

See the Url:

sepa-bezahlen.de/shops/versandhaus/baur.html


Prefix for tag URLs is "shop"

The tag for ex. for #Bosch is: component/k2/shop/Bosch.html

the k2 Advanced SEF is working. In the past it was without the component/k2/

EDIT: The reason for my question is a module position.

If i want to display this module just in category view, not item view, im using: && JRequest::getCmd( 'option' )==com_k2 && JRequest::getCmd( 'view' )==itemlist

How could i display the module in the "K2_DISPLAYING_ITEMS_BY_TAG" view?
Last edit: 6 years 9 months ago by Franz Heine.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
6 years 9 months ago #166476 by Krikor Boghossian
Replied by Krikor Boghossian on topic change slug /component/k2/
One question, what was the tags' prefix so I can check the previous links?

How could i display the module in the "K2_DISPLAYING_ITEMS_BY_TAG" view?


Add the task as well :P
JRequest::getCmd( 'task' ) == "tag"

Also it is "com_k2" and "itemlist"

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

  • Franz Heine
  • Franz Heine's Avatar Topic Author
  • Offline
  • Premium Member
More
6 years 9 months ago #166480 by Franz Heine
Replied by Franz Heine on topic change slug /component/k2/
Hi Krikor,

you mean: "Prefix for tag URLs"? its "shop"

ive used
<?php if ($this['modules']->count('innertoptag') && JRequest::getCmd( 'option' )==com_k2 && JRequest::getCmd( 'view' )==itemlist && JRequest::getCmd( 'task' )==tag) : ?>

But the modul is not displayed.

URL: sepa-bezahlen.de/component/k2/shop/Bosch.html -> modul not displayed

URL: sepa-bezahlen.de/shop/Bosch.html -> modul displayed

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

More
6 years 9 months ago - 6 years 9 months ago #166489 by illovo
Replied by illovo on topic change slug /component/k2/

issue happend after the joomla 3.8.4 update. Could this be the problem?


Maybe. Joomla 3.8.4 has a severe router bug. As far as I remember there was also a report concerning K2 after updates to 3.8.4.
Suddenly appearing /component/-parts in links are a typical "signature" of this bug in many extensions and Joomla. Also disappearing modules because the itemid is "killed" in some cases.

If you speak German you can try this workaround (Headline "Revert routing changes in 3.8.4"):
forum.joomla.de/index.php/Thread/4965-Router-Probleme-in-Joomla-3-8-4/?postID=32583#post32583
Last edit: 6 years 9 months ago by illovo.

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

  • Franz Heine
  • Franz Heine's Avatar Topic Author
  • Offline
  • Premium Member
More
6 years 9 months ago #166494 by Franz Heine
Replied by Franz Heine on topic change slug /component/k2/
Ciao Illovo,

thank you. That was the problem.

Great.

@admins. its a bug in Joomla 3.8.4

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
6 years 9 months ago #166623 by Krikor Boghossian
Replied by Krikor Boghossian on topic change slug /component/k2/
Thank you so much for letting us know :)

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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


Powered by Kunena Forum