- Posts: 5
COMMUNITY FORUM
- Forum
- K2 Community Forum
- English K2 Community
- JoomFish /K2 "Integration": Implemented filter by Category
JoomFish /K2 "Integration": Implemented filter by Category
- Johan Nobel
- Topic Author
- Offline
- New Member
Less
More
15 years 2 weeks ago #73145
by Johan Nobel
JoomFish /K2 "Integration": Implemented filter by Category was created by Johan Nobel
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
Please Log in or Create an account to join the conversation.
- fran p
- Offline
- New Member
Less
More
- Posts: 9
15 years 3 days ago #73146
by fran p
Replied by fran p on topic JoomFish /K2 "Integration": Implemented filter by Category
This is very helpful when using Joomfish and K2. Thank you so much for sharing.
Please Log in or Create an account to join the conversation.
- Isam Ishaq
- Offline
- New Member
Less
More
- Posts: 8
14 years 10 months ago #73147
by Isam Ishaq
Replied by Isam Ishaq on topic JoomFish /K2 "Integration": Implemented filter by Category
Thanks Johan,
This works very well and makes it much easier for the translators.
This works very well and makes it much easier for the translators.
Please Log in or Create an account to join the conversation.
- vanshion
- Offline
- Junior Member
Less
More
- Posts: 23
14 years 5 months ago #73148
by vanshion
Replied by vanshion on topic JoomFish /K2 "Integration": Implemented filter by Category
Thank u very much
Please Log in or Create an account to join the conversation.
- Raquel
- Offline
- New Member
Less
More
- Posts: 3
14 years 5 months ago #73149
by Raquel
Replied by Raquel on topic JoomFish /K2 "Integration": Implemented filter by Category
Thanks!!! It's very useful!
Please Log in or Create an account to join the conversation.
- Johan Nobel
- Topic Author
- Offline
- New Member
Less
More
- Posts: 5
14 years 1 month ago #73150
by Johan Nobel
Replied by Johan Nobel on topic JoomFish /K2 "Integration": Implemented filter by Category
Hi all,
I saw that there is no need to do this yourself anymore, the category filter is now integrated into K2 (since V2.2 i believe).
Kind regards,
Johan
I saw that there is no need to do this yourself anymore, the category filter is now integrated into K2 (since V2.2 i believe).
Kind regards,
Johan
Please Log in or Create an account to join the conversation.
- Russell English
- Offline
- Junior Member
Less
More
- Posts: 37
13 years 1 month ago #73151
by Russell English
Replied by Russell English on topic JoomFish /K2 "Integration": Implemented filter by Category
I know this is now integrated, but great work Johan
Please Log in or Create an account to join the conversation.
- stresskills
- Offline
- New Member
Less
More
- Posts: 6
12 years 1 week ago #73152
by stresskills
Replied by stresskills on topic Re: JoomFish /K2 "Integration": Implemented filter by Category
I created another topic but since you wrote this I thought you might know how "translationK2_categoryFilter.php" could cause a 500 error. Any ideas or help is appreciated.
Please Log in or Create an account to join the conversation.
- Rebelo
- Offline
- New Member
Less
More
- Posts: 2
11 years 3 months ago - 11 years 3 months ago #73153
by Rebelo
Replied by Rebelo on topic Re: JoomFish /K2 "Integration": Implemented filter by Category
Hi,
i have last versions
joomla 2.5.11
joomfish v2.5.1
K2 v2.6.6
and i don 't have filter by category on joomfish
what could i do to work?
tks
jr
i have last versions
joomla 2.5.11
joomfish v2.5.1
K2 v2.6.6
and i don 't have filter by category on joomfish
what could i do to work?
tks
jr
Please Log in or Create an account to join the conversation.
- klikeri
- Offline
- New Member
Less
More
- Posts: 12
11 years 3 months ago #73154
by klikeri
Replied by klikeri on topic Re: JoomFish /K2 "Integration": Implemented filter by Category
I have same problem
Please Log in or Create an account to join the conversation.
- Forum
- K2 Community Forum
- English K2 Community
- JoomFish /K2 "Integration": Implemented filter by Category