cat list filter change shown fields

4 years 1 week ago #50120 by mdma
Hello.
how would it possible(where to look into) to change(add/remove) some fields shown, related to filtering in category list.

for example i have filter: all/contest/value2/value3
generally all fields rendered:
item1| contest| field 33|field 345
item2| value2 | field 33|field 345

i want:
user filters all:(field contest,field 33 not shown#)
item1| field 345
item2| field 345

and
user filters contest:
item1| field 33|field 345
item2| field 33|field 345

how to programm/configure?

greetings

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

4 years 1 week ago #50168 by ggppdk
Hello

i am not sure that i understand you


1. you mark fields as filters in fields manager (or inside field configuration

2. you set filters in component parameters

3. you may override filters per category


so i am not sure that i understand your question


-- 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 review. Thanks!

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

4 years 1 week ago #50171 by mdma
1.)in default category list view:

2.)i have a filter with 3 values:all, value1=contest value2=no contest

3.)items have field called contest(value1 or value2)
theres a 2nd field with text related to contest called contest-txt.

my question if filter:
-all: contest txt field not shown.
-contest: contest_txt_field column there
-no contest:contest txt field not shown.

whats the best way?
    <?php if (!strlen($field->display)) continue;?>

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

4 years 5 days ago #50224 by ggppdk
Hello

you need to what you suggest


"ALL" = select none value
"ALL" = select "contest", "no contest"



-- finally you can have a button "clear" that clear ALL values:
<span class="fc_delall_filters"></span>
.fc_delall_filters {
  background: url("../images/delete.png") no-repeat scroll 0 0 transparent !important;
  ...
}


so you can replace the "delete" image with your image
1. notice the "body" below to make it of higher importance
2. notice: MY_ALL_IMAGE.png

body .fc_delall_filters {
  background: url("../images/MY_ALL_IMAGE.png") no-repeat scroll 0 0 transparent !important;
  ...
}


-- 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 review. Thanks!

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

4 years 5 days ago #50233 by mdma
hello! thankyou
iam sorry , i dont understand...
let me clearify myself:

http://deson.at/flexi-custom-filtering.jpg

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

4 years 5 days ago #50234 by ggppdk
Hello

i see you want to do something else

you can get filter value with:
// e.g. field id is 65
$filter_val = JRequest::getVar('filter_65');
print_r($filter_val);


-- 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 review. Thanks!

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

4 years 5 days ago #50255 by mdma
sorry for undetailed question,
thank you for pointing the variable out!

for me, would be unsolvable needle in the haystack
timewaste, or giving up after hours. . .

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

4 years 4 days ago #50270 by ggppdk

mdma wrote: sorry for undetailed question,
thank you for pointing the variable out!

for me, would be unsolvable needle in the haystack
timewaste, or giving up after hours. . .



the filter variables appear in the URL when you click submit, so that
- Joomla caching
- bookmarking

will work on these URLs


so you can make test by directly changing the URL too


-- 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 review. Thanks!

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

Moderators: vistamediajoomlacornerggppdk
© 2018 Flexicontent. All Rights Reserved.