jDiction Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

jDiction 2.2.0 released. http://jdiction.org/downloads

Author Topic: Tags in Joomla 3.x  (Read 17713 times)

boeschung

  • Newbie
  • *
  • Posts: 4
    • View Profile
Tags in Joomla 3.x
« on: June 27, 2014, 06:15:07 pm »

Hello,

does jdiction support joomla 3.x "tags"? It doesn't seem to work or is there something special to be done to achieve this?

Thanks and best regards
Alfred
Logged

Harald Leithner

  • Administrator
  • Hero Member
  • *****
  • Posts: 1688
    • View Profile
Re: Tags in Joomla 3.x
« Reply #1 on: June 27, 2014, 07:59:37 pm »

Its basicly possible but no xml file is not done yet.

Maybe its not possible to do everything with it.
Logged
Joomla! 5.0 Release Manager
Vote at JED

boeschung

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Tags in Joomla 3.x
« Reply #2 on: June 27, 2014, 08:12:46 pm »

Thanks for your quick response.

sorry, but I don't understand your answer :-[.

I wanted to know if it is possible to work with Joomla tags as well. In a project I used tags to display articles but the translation does not work for these articles.

Thanks a lot and best regards
Alfred
Logged

Harald Leithner

  • Administrator
  • Hero Member
  • *****
  • Posts: 1688
    • View Profile
Re: Tags in Joomla 3.x
« Reply #3 on: June 27, 2014, 08:15:08 pm »

Its untested.
Logged
Joomla! 5.0 Release Manager
Vote at JED

boeschung

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Tags in Joomla 3.x
« Reply #4 on: June 29, 2014, 02:22:04 pm »

Ok. When do you think this feature is supported by your extension?

Best regards
Alfred
Logged

Harald Leithner

  • Administrator
  • Hero Member
  • *****
  • Posts: 1688
    • View Profile
Re: Tags in Joomla 3.x
« Reply #5 on: June 29, 2014, 04:27:13 pm »

I will try to write a xml definition on monday. So you can test it.
Logged
Joomla! 5.0 Release Manager
Vote at JED

Harald Leithner

  • Administrator
  • Hero Member
  • *****
  • Posts: 1688
    • View Profile
Re: Tags in Joomla 3.x
« Reply #6 on: June 30, 2014, 12:03:56 pm »

Please copy the attached file to:
/libraries/jdiction/tables

this let you translate tags, a short test worked for me
Logged
Joomla! 5.0 Release Manager
Vote at JED

boeschung

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Tags in Joomla 3.x
« Reply #7 on: July 15, 2014, 01:53:01 pm »

Thank you for your work.

A corresponding XML I had already created, it actually worked. I was able to translate the tags. However, there seems to be a problem when I want to view tagged articles. The items are displayed only in the default language, they do not respond to the language selection. With Falang is the same problem.

We no longer use the tags. Now we use an other solution.

Best regards
Alfred
Logged

Harald Leithner

  • Administrator
  • Hero Member
  • *****
  • Posts: 1688
    • View Profile
Re: Tags in Joomla 3.x
« Reply #8 on: July 15, 2014, 02:39:30 pm »

com_tags loads it content from the ucm tables and not from the original tables thats the reason why its not translated.
Logged
Joomla! 5.0 Release Manager
Vote at JED

barcik

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Tags in Joomla 3.x
« Reply #9 on: December 05, 2014, 12:08:24 pm »

Hi,

Now I downloaded jdiction v 1.3.2 and I have Joomla Version 3.3.6 and tags still not working.
It will be a solution to this problem? Should I look for another solution?
BR
Bartosz
Logged

Harald Leithner

  • Administrator
  • Hero Member
  • *****
  • Posts: 1688
    • View Profile
Re: Tags in Joomla 3.x
« Reply #10 on: December 05, 2014, 12:26:44 pm »

What exactly is the problem?

Normal translation of the tag title and description should work, content displayed in a tag overview will not work as expected.
Logged
Joomla! 5.0 Release Manager
Vote at JED

barcik

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Tags in Joomla 3.x
« Reply #11 on: December 05, 2014, 12:42:02 pm »

Hi,
I translate tag, but icons is with exclamation mark (tags.png) but in jdiction component this tag is invisible (tags1.png)

Edit: strange, but works. Now I read article, and tags are visible and change, when I change language. Sorry for the confusion.
« Last Edit: December 05, 2014, 12:48:20 pm by barcik »
Logged

Harald Leithner

  • Administrator
  • Hero Member
  • *****
  • Posts: 1688
    • View Profile
Re: Tags in Joomla 3.x
« Reply #12 on: December 05, 2014, 01:01:39 pm »

I can't confirm this, for me its working...

the exclamation mark means that the translation is out of date. So the translation must be there.

It means you changed the tag after you saved the translation... (thats the theory)
Logged
Joomla! 5.0 Release Manager
Vote at JED

crliuh

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: Tags in Joomla 3.x
« Reply #13 on: May 13, 2015, 09:31:14 pm »

com_tags loads it content from the ucm tables and not from the original tables thats the reason why its not translated.

Hi Harald,

Is there any solutions for this ? When im trying to load article from tags it will just show my original language article even though i have changed to second language. Please advise.

Thanks.
Logged

Harald Leithner

  • Administrator
  • Hero Member
  • *****
  • Posts: 1688
    • View Profile
Re: Tags in Joomla 3.x
« Reply #14 on: May 15, 2015, 09:44:35 am »

It should be possible to translate the ucm table with data from jdiction but that needs some work in jdiction.

What you can do (not the best/efficent solution) is to query the #__article by hand in the template.

So if you have little programming skills that should be possible, here is an untested example:

Code: [Select]
$db = JFactory::getDbo();
$query = $db->getQuery(true);
$query->select('introtext,articletext');
$query->from('#__article');
$query->where('id='.$item->content_item_id);
$db->setQuery($query);
$article = $db->loadObject();
You can use this snipped in the template override for com_tags/tag/default_items.php inside the "foreach ($items as $i => $item) : " loop.

If you have no idea what I'm talking about, then you have to wait till I have time to do it on jdiction site.
Logged
Joomla! 5.0 Release Manager
Vote at JED