Field-Filter and category-selector in item-view and favourites

More
8 years 9 months ago - 8 years 9 months ago #59558 by germany_bw
Hello

I use the field-filters (as active) and the category-selector for navigation instead a menu. In category-view it`s all ok.

In item-view the field-filters and the category-selector don`t show the results from the parent category of item. It will be showed the results from the root category.
Edit: After using a filter the results from the parent category and the parenty category itself will be showed. In case for selecting results from another categories any items will be showed.

In favourites the field-filters show the results from the favourite-items, but after using a filter the favourite items will not be showed, it will be showed the results from the root category.

I don`t have found no option to config this. It`s possible that the filters and the category-selector shows the results from the parent category from an item and not from the root category?

Edit: another Question: For each fieldname "-" will be added before and after. I want to remove it. Can you say me in which file I can find this?


FLEXIcontent v3.0.10-RC2f
Last edit: 8 years 9 months ago by germany_bw.

Please Log in or Create an account to join the conversation.

More
8 years 9 months ago - 8 years 9 months ago #59566 by ggppdk
- About filtering module

i guess you have enabled "use current category", right ?

we can do it like in flexicontent universal content module, and also consider current item view
test this change (and i will commit it to future release, (do not hack any other file !!) )
edit
modules/mod_flexifilter/mod_flexifilter.php
replace:
Code:
$isflexicat = JRequest::getVar('option')=="com_flexicontent" && JRequest::getVar('view')=="category";
with:
Code:
$isflexicat = JRequest::getVar('option')=="com_flexicontent" && (JRequest::getVar('view')=="category" || JRequest::getVar('view')=="item");

it is best to disable them if current view is the item view

Before i tell you about filters:


whad to do you mean about this:

For each fieldname "-" will be added before and after. I want to remove it. Can you say me in which file I can find this?



-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...
Last edit: 8 years 9 months ago by ggppdk.

Please Log in or Create an account to join the conversation.

More
8 years 9 months ago - 8 years 9 months ago #59573 by germany_bw
Edit: yes, I "use current category"

Ok, thx, the category selector is now the parent category of the item:)
but the values of the field filters are still the values of the root category. It`s unfortunately important for me because some categories should be a replacement for websites and the filters should be its menu.

In favourites the results are still also the items from the root category but not from favourites. But in favourites the valuse in the field filters are right.

What I mean with "-" before and after fieldnames look screenshot:


Attachments:
Last edit: 8 years 9 months ago by germany_bw.

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.299 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline