HI, I have an issue with taxonomies tag.
The problem is that when I create a new blog item page under Taxonomies field I found the right Category (blog) but some tags are missing form drop-down menu. I mean that totally I have 6 tags defined but when I create a new blog item page on 4 are showed in the drop-down menu
If I create a new tag and add it apparently works BUT this is missing again in the drop-down menu on the next blog item creation.
Any ideas?
Grav version 1.7.9
Taxonomi List plugin 1.3.5
Theme: Quark Open Publishing 2.2.7
@Nando, Iâm sorry, but I cannot reproduce the issue on both theme âQuarkâ and âQuark Open Publishingâ.
When creating a new blog item in Admin and adding a new Tag, the new Tag is shown in the list when creating a new blog item.
If you open the newly created file item.md
using an editor, does it show the new tag?
Actually tags not appearing in dropdown was also briefly noted on Discord and I can reproduce it. My tags are not showing at all in a dropdown.
Thank youthe answer is Yes. If i creat a tag named NEWTAG it is show in the blog item when I open it.The issue is that if I create another Blog item the tag created (NEWTAG) in the previuos blog item is not show in the drop down menu. How the drop down menuâ is created? Can I manually populate the dorop down menu?
regards
yes in the item.md tha newly created tag is present
@Nando, Maybe I wasnât clear enough when I said:
Maybe I should have said:
When creating a new blog item in Admin and adding a new Tag, the new Tag is shown in the list when creating another new blog item.
If others can reproduce the issue, you might consider creating an issue on Github. Iâm not sure whether it is Admin or Grav core related though. I think I would start with AdminâŚ
you are right. iâve just done another test. A fresh installation of Open Publishing Space skeleton and the new tag works well. May be related to my environment and Iâm not able to understand where is my issue. regards
HI, I found the issue.
Iâve customized supported Languages. In the system configuration Iâve add âitâ and âenâ.
When I create a new blog Item a new folder is created. Inside this folder you can find item.it.md. Iâve understand that tag is visible (from drop down menu) only for item.md and not for all element item.en.md or item.it.md
Sounds like a newly introduced bug. Would need to test it with some older version, but Iâm pretty sure it worked a few versions ago
@Nando, To me, it seems to be the right behaviour that Italian tags created while editing an Italian page (default.it.md) do not show up while creating an English page (default.en.md). A native English speaker shouldnât be bothered with tags written in Italian and vice versaâŚ
Imagine the mess in the dropdown for tags/categories if a site supports 10 languagesâŚ
@Karmalakas, Wouldnât you agree?
Agreed, but even on same language I donât get a suggestion
Page with saved category:
Another page on same language, but no suggestions:
Iâm pretty sure when I created this category and was adding it to my pages, I had suggestions
verify file named item.language.md inside blog item directory
Copy this file in the same dir and rename it to item.md
With both file you should have drop-down menu populated
@anon76427325. the drop down menu is never populated in italian language but only with default language. There is not different list for different language. My experience is that item.it.md is never check to create drop down but item.md is always check for all languages
@Nando, Iâm afraid I got lost in translation, but here are some tests, of which one isnât working as expectedâŚ
Test1: Fresh Grav 1.7.9, no language support
- Open Admin
- Goto to â/admin/pagesâ, click âAddâ page,
- Name: âpage1â, leave rest as is.
- In âadmin/pages/page1/:addâ, add âcat1â to field âCategoryâ and click âSaveâ
- Go back to â/admin/pagesâ, click âAddâ page,
- Name: 'page2, leave rest as is.
- In âadmin/pages/page2/:addâ, click in field âCategoryâ
- Dropdown contains âcat1â
- This works as expected.
Test2: Fresh Grav 1.7.9, with language support [en, it]
- In âuser/config/system.yamlâ add:
languages: supported: [en, it]
- Open Admin
- Goto to â/en/admin/pagesâ, click âAddâ page,
- Name: âpage1â, leave rest as is.
- In â/en/admin/pages/page1/:addâ, add âcat1â to field âCategoryâ and click âSaveâ
- Go back to â/en/admin/pagesâ, click âAddâ page,
- Name: 'page2, leave rest as is.
- In â/en/admin/pages/page2/:addâ, click in field âCategoryâ.
- Dropdown does not contain âcat1â
- This is not as expectedâŚ
I would think Test2 shows a glitch in Admin and warrants the creation of an issue in the repo of AdminâŚ