- Posts: 41
COMMUNITY FORUM
K2 Tags - Ampersands
- Tom
- Topic Author
- Offline
- Senior Member
Less
More
10 years 10 months ago #120825
by Tom
K2 Tags - Ampersands was created by Tom
Hi there,
Stumbled across an annoying little bug.
I have publication issues listed as Tags within K2. The only problem is that the format for these consists of Publication title + issue date.
In some titles we have ampersands and for branding purposes, these must remain (as opposed to replacing with 'and').
The ampersand included causes the tag to break and the articles listed under that tag will not show.
Is there a way anyone knows of to remedy this?
Any assistance greatly appreciated. Th
Joomla 2.5.
Stumbled across an annoying little bug.
I have publication issues listed as Tags within K2. The only problem is that the format for these consists of Publication title + issue date.
In some titles we have ampersands and for branding purposes, these must remain (as opposed to replacing with 'and').
The ampersand included causes the tag to break and the articles listed under that tag will not show.
Is there a way anyone knows of to remedy this?
Any assistance greatly appreciated. Th
Joomla 2.5.
Please Log in or Create an account to join the conversation.
- Tom
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 41
10 years 10 months ago #120826
by Tom
Replied by Tom on topic Re: K2 Tags - Ampersands
...just to add - I've tried a couple of generic ampersand 'fix' plugins, to no avail.
Please Log in or Create an account to join the conversation.
- Yiota
- Visitor
10 years 10 months ago #120827
by Yiota
Replied by Yiota on topic Re: K2 Tags - Ampersands
Go to the K2 Parameters -> Advanced tab and through the Tag System Settings -> Additional character replacements add theThis will prevent the & characters to be stripped through your added tags.
Give it a try and let me know.
&|&
Give it a try and let me know.
Please Log in or Create an account to join the conversation.
- Tom
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 41
10 years 10 months ago #120828
by Tom
Replied by Tom on topic Re: K2 Tags - Ampersands
Hi Yiota,
Many thanks for your response.
That area (for me) was under the SEO heading - there's not a specific 'Tag System Settings' header in the K2 Parameters - perhaps as I'm on an older version.
Either way, I now have -
Å |S, Å’|O, Ž|Z, Å¡|s, Å“|oe, ž|z, Ÿ|Y, Â¥|Y, µ|u, À|A, Ã�|A, Â|A, Ã|A, Ä|A, Ã…|A, Æ|A, Ç|C, È|E, É|E, Ê|E, Ë|E, ÃŒ|I, Ã�|I, ÃŽ|I, Ã�|I, Ã�|D, Ñ|N, Ã’|O, Ó|O, Ô|O, Õ|O, Ö|O, Ø|O, Ù|U, Ú|U, Û|U, Ãœ|U, Ã�|Y, ß|s, à |a, á|a, â|a, ã|a, ä|a, Ã¥|a, æ|a, ç|c, è|e, é|e, ê|e, ë|e, ì|i, Ã|i, î|i, ï|i, ð|o, ñ|n, ò|o, ó|o, ô|o, õ|o, ö|o, ø|o, ù|u, ú|u, û|u, ü|u, ý|y, ÿ|y, ß|ss &|&
The last one (in bold) which I added seems to have converted the code you provided.
No joy yet...
Thanks so much for your assistance with this.
Many thanks for your response.
That area (for me) was under the SEO heading - there's not a specific 'Tag System Settings' header in the K2 Parameters - perhaps as I'm on an older version.
Either way, I now have -
Å |S, Å’|O, Ž|Z, Å¡|s, Å“|oe, ž|z, Ÿ|Y, Â¥|Y, µ|u, À|A, Ã�|A, Â|A, Ã|A, Ä|A, Ã…|A, Æ|A, Ç|C, È|E, É|E, Ê|E, Ë|E, ÃŒ|I, Ã�|I, ÃŽ|I, Ã�|I, Ã�|D, Ñ|N, Ã’|O, Ó|O, Ô|O, Õ|O, Ö|O, Ø|O, Ù|U, Ú|U, Û|U, Ãœ|U, Ã�|Y, ß|s, à |a, á|a, â|a, ã|a, ä|a, Ã¥|a, æ|a, ç|c, è|e, é|e, ê|e, ë|e, ì|i, Ã|i, î|i, ï|i, ð|o, ñ|n, ò|o, ó|o, ô|o, õ|o, ö|o, ø|o, ù|u, ú|u, û|u, ü|u, ý|y, ÿ|y, ß|ss &|&
The last one (in bold) which I added seems to have converted the code you provided.
No joy yet...
Thanks so much for your assistance with this.
Please Log in or Create an account to join the conversation.
- Lefteris
- Offline
- Moderator
Less
More
- Posts: 8743
10 years 10 months ago - 10 years 10 months ago #120829
by Lefteris
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Lefteris on topic Re: K2 Tags - Ampersands
I believe that this 'Tag System Settings' section is included in the K2 2.6.7 version. Which K2 version do you use?
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Tom
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 41
10 years 10 months ago #120830
by Tom
Replied by Tom on topic Re: K2 Tags - Ampersands
v 2.6.5
Please Log in or Create an account to join the conversation.
- Yiota
- Visitor
10 years 10 months ago #120831
by Yiota
Replied by Yiota on topic Re: K2 Tags - Ampersands
Hm. Could you upgrade to the latest version?
Please Log in or Create an account to join the conversation.
- Tom
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 41
10 years 10 months ago #120832
by Tom
Replied by Tom on topic Re: K2 Tags - Ampersands
Hi Yiota,
If upgrading could be avoided, that would be preferable. I have a lot of customisation going on and the fear is that by upgrading, this will be lost.
If upgrading could be avoided, that would be preferable. I have a lot of customisation going on and the fear is that by upgrading, this will be lost.
Please Log in or Create an account to join the conversation.
- Yiota
- Visitor
10 years 10 months ago #120833
by Yiota
Replied by Yiota on topic Re: K2 Tags - Ampersands
I'm afraid that I cannot think of a solution on this in your current version. Is the customisation in the core files?
I don't know if this will work but you are free to try.
Make a comparison between the k2tag.php files located in administrator/components/com_k2/tables/ of the 2.6.5 and 2.6.7 versions. Check if there are any differences. Maybe if you added the replacement there would work.
I don't know if this will work but you are free to try.
Make a comparison between the k2tag.php files located in administrator/components/com_k2/tables/ of the 2.6.5 and 2.6.7 versions. Check if there are any differences. Maybe if you added the replacement there would work.
Please Log in or Create an account to join the conversation.
- Tom
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 41
10 years 10 months ago #120834
by Tom
Replied by Tom on topic Re: K2 Tags - Ampersands
No luck with that, I'm afraid.
I've tried updating versions, but am running into an error:
Fatal error: Class 'K2Controller' not found in SITENAME/components/com_k2/controllers/itemlist.php on line 15
Sorry to be a pain with this - it's a small, but very annoying thing I need to get sorted!
Thanks again.
I've tried updating versions, but am running into an error:
Fatal error: Class 'K2Controller' not found in SITENAME/components/com_k2/controllers/itemlist.php on line 15
Sorry to be a pain with this - it's a small, but very annoying thing I need to get sorted!
Thanks again.
Please Log in or Create an account to join the conversation.