Keyword

K2 Search and Tags result page - With SEF

  • Carlos Carvalho
  • Carlos Carvalho's Avatar Topic Author
  • Offline
  • New Member
More
7 years 4 days ago #165486 by Carlos Carvalho
K2 Search and Tags result page - With SEF was created by Carlos Carvalho
Hey,

i am having this problem with the k2 search and tag results.

If i turn SEF on the results will always show on the current page but if i turn SEF off the results will show in a new page (Hidden menu link i created).

How can i make it work with SEF on?

Thanks in advance,
Carlos Carvalho

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
6 years 11 months ago #165560 by Krikor Boghossian
Replied by Krikor Boghossian on topic K2 Search and Tags result page - With SEF
Hello Carlos,

Is there a link you can share?
By default the results are rendered through the current menu item if there is a) direct link to that user/ tag/ search results or b) there is a hidden K2 categories menu item which points towards all menu item.
If that is the case then the results will be shown through one of these menu items.

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

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

  • Carlos Carvalho
  • Carlos Carvalho's Avatar Topic Author
  • Offline
  • New Member
More
6 years 11 months ago #165577 by Carlos Carvalho
Replied by Carlos Carvalho on topic K2 Search and Tags result page - With SEF
It all works exactly how you describe.

I have the hidden menu items and the search results and tag results show in the correct place.

BUT........ if i turn SEF option (Search Engine Friendly) on it starts to show both results in the current page.

I have SEF option disabled for the moment because i have other projects to finish but i will come back to this later and i would like to turn SEF on if possible.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
6 years 11 months ago #165591 by Krikor Boghossian
Replied by Krikor Boghossian on topic K2 Search and Tags result page - With SEF
Do you mean K2's Advanced SEF or Joomla!'s SEF?
If you mean the former, then this is pretty much and either/ or scenario.
You can have the hidden menu item or, you can have the Advanced SEF for these views.

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

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

  • Carlos Carvalho
  • Carlos Carvalho's Avatar Topic Author
  • Offline
  • New Member
More
6 years 11 months ago #165660 by Carlos Carvalho
Replied by Carlos Carvalho on topic K2 Search and Tags result page - With SEF
I mean the Joomla!´s SEF.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
6 years 11 months ago #165674 by Krikor Boghossian
Replied by Krikor Boghossian on topic K2 Search and Tags result page - With SEF
Can you send some example URLs?
Both with SEF and without SEF.

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

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

  • Carlos Carvalho
  • Carlos Carvalho's Avatar Topic Author
  • Offline
  • New Member
More
6 years 11 months ago - 6 years 11 months ago #165689 by Carlos Carvalho
Replied by Carlos Carvalho on topic K2 Search and Tags result page - With SEF
This is a Search example

Joomla! SEF ON: /jportal/index.php/itemlist/search?searchword=teste&categories=

Joomla! SEF OFF: /jportal/index.php?searchword=teste&categories=&option=com_k2&view=itemlist&task=search&lang=pt
Last edit: 6 years 11 months ago by Carlos Carvalho.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
6 years 11 months ago #165701 by Krikor Boghossian
Replied by Krikor Boghossian on topic K2 Search and Tags result page - With SEF
Have you set a menu item in the module's settings?
The setting is called "Select menu item (to assign an ItemID) for the results page"

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

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

  • Carlos Carvalho
  • Carlos Carvalho's Avatar Topic Author
  • Offline
  • New Member
More
6 years 11 months ago #165760 by Carlos Carvalho
Replied by Carlos Carvalho on topic K2 Search and Tags result page - With SEF
Well i have seen now that it only opens inside the current view when you are at the HOME item.

If i search from other item view it opens where i want.


This template uses a listing of K2 items in the HOME menu, so the problem probably has to do with it.

This is the HOME button link:
index.php?option=com_k2&view=itemlist&layout=category&task=category&id=130

Is there any work around you can think of?

Thanks

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

  • Carlos Carvalho
  • Carlos Carvalho's Avatar Topic Author
  • Offline
  • New Member
More
6 years 11 months ago #165761 by Carlos Carvalho
Replied by Carlos Carvalho on topic K2 Search and Tags result page - With SEF
Well my friend i found a work around.

I created a menu item with exactly the same option as the HOME (Category List) and set the modules to open on that new item.

It seems to work like it should now!

Thanks for the small, but usefull, tips

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


Powered by Kunena Forum