[solved]Cannot select existing tags

More
12 years 10 months ago - 12 years 10 months ago #21693 by gcprnet
We have many tags for our site and of course some of them are alike others. As an example we have almost 20 Tags that contain the word "Wärme":
Abwärme
EEWärmeG
Erdwärme
Erdwärmeheizung
Erdwärmepumpe
Erdwärmetauscher
erneuerbare Wärme
Erneuerbare-Energien-Wärmegesetz
Fernwärme
Heizen mit Erdwärme
Kraft-Wärme-Kopplung
Kraft-Wärme-Kopplungs-Gesetz
Luftwärmeheizung
Luftwärmepumpe
Strom und Wärme Alternativen
Wärme
Wärmegesetz
Wärmepumpe
Wärmespeicher
When I want to map the Tag "Wärme" to an article this won't work. The word itself won't show up in the select list and when I poke it into the input field and press return it will not be taken by FC.
Whe have this problem with quite a lot of words. Is there any workaround for this?
Regards
Last edit: 12 years 10 months ago by gcprnet.

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

More
12 years 10 months ago #21698 by ggppdk
I could not reproduce this
It maybe related to jquery autocomplete, or to jquery version being loaded, not sure though


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

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

More
12 years 10 months ago #21701 by gcprnet
Could it be related to german Umlauts like ä or ö?

Also the problem seems to be that if a word is contained in more than 10 other words it's not displayed since the autocomplete function never offers more than 10 suggestions.

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

More
12 years 10 months ago #21703 by ggppdk
It is not related to specific characters. It is limitation imposed by the javascript autocomplete script, luckily there is an option that allows setting a different (bigger than 10) limit.

In files:
components/com_flexicontent/views/items/tmpl/form.php
administrator/components/com_flexicontent/views/item/tmpl/default.php

just after:
Code:
jQuery(\"#input-tags\").autocomplete(\"".JURI::base()."index.php?option=com_flexicontent&task=items.viewtags&format=raw&".JUtility::getToken()."=1\", { width: 260,
add:
Code:
max: 100,
don't forget the comma after the number

I will add this higher limit in next commit.

Regards


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

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

More
12 years 10 months ago #21709 by gcprnet
it seems this didn't work:
I changed the code according to your instructions as there is now:
Code:
jQuery(\"#input-tags\").autocomplete(\"".JURI::base()."index.php?option=com_flexicontent&controller=items&task=viewtags&format=raw&".JUtility::getToken()."=1\", { width: 260, max: 100, matchContains: false,
but the changes seem to have no effect.

By the way: I just discovered that the autocomplete-feature seems not to work with IE 9 - I tried it on two sites
Regards

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

More
12 years 10 months ago #21710 by ggppdk
mmm, i have tested this and it works,

i see that you changed frontent form.php file? did you change backend file too?


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.497 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline