- Posts: 7
COMMUNITY FORUM
Different URL (Menuitem K2 TAG / K2 page&mod)
- Igor Shklovtsov
-
Topic Author
- Offline
- New Member
- From idea to result!
Thanks for stable perfect component.
I used it for news of university.
After tryed mod_K2_tools as tags i see different of URL.
I create for each category menu item.
I create for each tag menu item.
But i see different
=> ON K2 PAGE ARTICLE
category URL OK as menu alias
tag url NOT NOT OK as menu (only as ...../my-category-alias/my-subcategory-alias/itemlist/tag/cyrillic text with spaces)
And mod_k2_Tools not used menu alias for tag too.
What i must do for used menui tem as tag in url of k2 links?
P.S. Sorry for my english
WBR
Igor
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- User
The tags will use the current menu item as their base if they do not belong to a menu item.
You can solve this by creating a K2 menu item pointing to all categories bellow all other menu items.
This way all orphan tags will be rendered from that menu item.
Please Log in or Create an account to join the conversation.
- Igor Shklovtsov
-
Topic Author
- Offline
- New Member
- From idea to result!
- Posts: 7
I tryed many variants, but result as before.
I need locked 1 page for many authors.
And i used tags as authors info for one article.
I have structure menu as
(1) Main category K2 menuitem (without parent)
(1.1) subcategory #1 K2 menuitem
(1.2) subcategory #2 K2 menuitem
(1.3) subcategory #3 K2 menuitem
.....
(2) Menuitem for Authors (without parent)
(2.1) author #1K2 TAG#1 menuitem
(2.2) author #1K2 TAG#2 menuitem
....
I tryed many variants.
(2) under (1)
(2) as milticategory type menu
I tryed TEST move (2.1) as submenu of parent category (1.1.1), but nothing change
Category URL
/ua/kategoriji/statti
TAG url in article
/ua/kategoriji/statti/itemlist/tag/%D0%9D%D0%9E%D0%96%D0%9E%D0%92%D0%9D%D0%86%D0%9A%20%D0%9E%D0%9B%D0%95%D0%93%20%D0%9C%D0%98%D0%9A%D0%9E%D0%9B%D0%90%D0%99%D0%9E%D0%92%D0%98%D0%A7
But GOOD URL from menuitem (2.1) as
/ua/avtori/nozhovnik-oleg-mikolajovich
Can i use GOOD url from menu in article and module?
WBR
Igor
Please Log in or Create an account to join the conversation.
- Igor Shklovtsov
-
Topic Author
- Offline
- New Member
- From idea to result!
- Posts: 7
I used
Joomla! 3.3.6
K2 v2.6.8
WBR
Igor
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- User
Did you try my solution?
Create a menu link to K2 categories and don't select any category. This way, all unresolved links will be assigned to this menu, preventing duplicates.
Please Log in or Create an account to join the conversation.
- Igor Shklovtsov
-
Topic Author
- Offline
- New Member
- From idea to result!
- Posts: 7
I changed
(2) Menuitem for Authors (without parent) AS CATEGORY WITHOUT SELECT
(2.1) author #1K2 TAG#1 menuitem
(2.2) author #1K2 TAG#2 menuitem
And TAG url changed
/ua/avtori/itemlist/tag/%D0%9D%D0%9E%D0%96%D0%9E%D0%92%D0%9D%D0%86%D0%9A%20%D0%9E%D0%9B%D0%95%D0%93%20%D0%9C%D0%98%D0%9A%D0%9E%D0%9B%D0%90%D0%99%D0%9E%D0%92%D0%98%D0%A7
But 2.1 menuitem URL
/ua/avtori/nozhovnik-oleg-mikolajovich
I can not see tag url as menuitem url.
WBR
Igor
Please Log in or Create an account to join the conversation.
- Igor Shklovtsov
-
Topic Author
- Offline
- New Member
- From idea to result!
- Posts: 7
I changed GLOBAL K2 CONFIG
SEF for K2 URL = YES
And url of TAG
/ua/avtori/nozhovnik-oleg-mikolajovich
That is good.
But i read attention note in this option about warning for server.
I plan create menu for authors (as tag) 200-500
and article with that tag 4000+.
It is one way for good url in tag?
WBR
Igor
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- User
Please Log in or Create an account to join the conversation.
- Joe Campbell
-
- User
domain.com/tag/Tag%20Name
I followed your instructions and created a hidden menu titled "View" and saved it without adding any K2 categories, but the problem still persists:
domain.com/view/tag/Tag%20Name
What else could be the issue?
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- User
You need to enable the tag normalisation option in K2's settings. This will work for newly created tags only.
Please Log in or Create an account to join the conversation.
- Joe Campbell
-
- User
When I went add it to an item, the auto complete tag was lowercase, even though I saved it as Capital Case.
When viewed from the frontend it displays as...
domain.com/view/tag/new%20tag
Please Log in or Create an account to join the conversation.
- Lefteris
-
- User
This is how it should be displayed. Any non valid URL characters should be URL encoded in order to work. If you don't want URL encoded characters in your tags URLs you need to ensure that your tags do not contain spaces, dots and other characters that are not valid for URLs. Note that in the upcoming version 3 of K2 tags have an alias so there should be no such issues.
Please Log in or Create an account to join the conversation.
- Joe Campbell
-
- User
The tag alias portion of the URL has spaces instead of hyphens and the characters are not all lowercase.
Also, what does "Tag character case" do, there is no tooltip to describe it.
Please Log in or Create an account to join the conversation.
- Joe Campbell
-
- User
I tried deleting "tag" under the Advanced SEF Parameter, but it replaces it with "tag" as a default.
Please Log in or Create an account to join the conversation.
- Joe Campbell
-
- User
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- User
Also, is there a way to create hidden menu named "tag" and then do the trick of creating a K2 category menu item with selecting any categories...then remove the "/tag" prefix portion of the url that K2 automatically to all tag URLs?
I do not really understand the question since you already pointed out the trick. The only different thing I would do is to leave that menu item blank instead of selecting all categories.
Also, the title and breadcrumbs displays the tag in lowercase (even though the tag was saved as Title Case)
Is it possible to have a link?
Please Log in or Create an account to join the conversation.
- Joe Campbell
-
- User
Wishing the entire #JoomlaK2 Team & Community a Happy & Health New Year :)
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- User
You can use our contact form to send links and credentials www.joomlaworks.net/support/contact
Please Log in or Create an account to join the conversation.
- Joe Campbell
-
- User
I will send the links and credentials in a few days...I would like to tidy a few things up first, as I would like to receive your option on the site as well...THANKS AGAIN :)
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- User
Let me know when you've sent them.
Please Log in or Create an account to join the conversation.