Hi There,
When using both JoomFish and K2 (which is great!) I noticed that the list of K2_Items "to be translated" becomes quite long and there is no indication to which K2_category the items belong (listing is ordered alphabeticaly on Item Title).
All in all it becomes hard to find the right item in such a long list of (context-less) items.
I experimented with the "translation filter" option for JoomFish content elements and succeeded to get some useful filtering options out of them.
This might be useful for some of you with the same problem. The solution is quite simple:
- Locate the /administrator/components/com_joomfish/contentelements/k2_items.xml file
- add the following code just above the </joomfish> tag :
<translationfilters>
<K2_category>catid</K2_category>
<keyword>title</keyword>
<author>created_by</author>
<published>published</published>
</translationfilters>
- place the attached file (translationK2_categoryFilter.php) in the
/administrator/components/com_joomfish/contentelements/ folder
This will enable the following filters:
- filter by item parent category name (non - recursive)
- filter by author
- filter by publishing state
- filter by Item title
Hope someone finds this useful.
Johan
When using both JoomFish and K2 (which is great!) I noticed that the list of K2_Items "to be translated" becomes quite long and there is no indication to which K2_category the items belong (listing is ordered alphabeticaly on Item Title).
All in all it becomes hard to find the right item in such a long list of (context-less) items.
I experimented with the "translation filter" option for JoomFish content elements and succeeded to get some useful filtering options out of them.
This might be useful for some of you with the same problem. The solution is quite simple:
- Locate the /administrator/components/com_joomfish/contentelements/k2_items.xml file
- add the following code just above the </joomfish> tag :
<translationfilters>
<K2_category>catid</K2_category>
<keyword>title</keyword>
<author>created_by</author>
<published>published</published>
</translationfilters>
- place the attached file (translationK2_categoryFilter.php) in the
/administrator/components/com_joomfish/contentelements/ folder
This will enable the following filters:
- filter by item parent category name (non - recursive)
- filter by author
- filter by publishing state
- filter by Item title
Hope someone finds this useful.
Johan