SPECIAL OFFER: Only $69 for access to everything in OSTraining for 1 year! You save $75! 
Join today and get access to 1,000's of books and videos. Learn WordPress, Drupal, Magento, Joomla and more! Sign up today!

adding tags in J3 articles

5 years 10 months ago #120980 by emilylu
adding tags in J3 articles was created by emilylu
Hi,

For some reason keywords like "BA 9" is not showing up on my Joomla site search.
So I've manually added the tags "ba 9" and "ba9" for that article. See screenshot 1.



Then when I preview that page I see both tags BA9 and BA 9 show up on the top of the article. See screenshot 2.



Please let me know what I've done wrong? Thanks.

This message has attachments images.
Please log in or register to see it.

Please Log in to join the conversation.

5 years 10 months ago #120982 by Nick
Replied by Nick on topic adding tags in J3 articles
Hi Emily,

Regarding the search, it's likely because Joomla only searches for 3-character-or-more words. So words like "a" and "an" wouldn't show in a search.

As to

Then when I preview that page I see both tags BA9 and BA 9 show up on the top of the article. See screenshot 2. Please let me know what I've done wrong?


Could you clarify what result you were expecting? Are you wanting them to appear on the bottom? Or something else?

Looking forward to helping.

Kind regards,
Nick

Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining

Please Log in to join the conversation.

5 years 10 months ago #120983 by emilylu
Replied by emilylu on topic adding tags in J3 articles
Hi Nick,

Base on your explanation, what should I do with search terms shorter than 3 characters?
I guess I thought the tags will only be embedded in the source code and not show up on a page at all?

Thanks.

Please Log in to join the conversation.

5 years 10 months ago #120985 by Nick
Replied by Nick on topic adding tags in J3 articles
Tags in Joomla are meant to be more content (e.g. like categories), rather than meta data.

But, the real solution you need for this situation is the ability to search for 1 or 2 characters. I was looking through Joomla's code and looks like they might have made it customizeable. I'll have to dig a little deeper since I haven't found any documentation on it yet. I'll get back to you in a bit.

Kind regards,
Nick

Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining
The following user(s) said Thank You: emilylu

Please Log in to join the conversation.

5 years 10 months ago #120987 by Nick
Replied by Nick on topic adding tags in J3 articles
OK, I think I have a solution that involves an override and no core hacks. Would you send me some login credentials to support@ostraining.com? I can implement the fix for you and turn it into a tutorial for you.

Also, please do two things for me:
1) In the email, include a link to this forum post
and
2) After sending the email, reply to this forum post letting me know you sent the email so that I can check it.

Looking forward to helping.

Kind regards,
Nick

Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining

Please Log in to join the conversation.

Join today and get access to 1,000's of books and videos. Learn WordPress, Drupal, Magento, Joomla and more! Sign up today!