Universal mod, filter by field values of current item

More
11 years 8 months ago #47558 by jrodgar
I see that I have the option to select a dynamic behaviour for dynamic filters, but it looks like its not working, do I need something special?

My current configuration


Custom field scope
- Static method: all
- Dynamic: Filter using field values
-- Dynamic filters: 58

Unless otherwise indicated:
Joomla 3.8.1
Flexicontent 3.2.1.7

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

More
11 years 8 months ago #47560 by micker
can you explain more ?

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

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

More
11 years 8 months ago #47566 by jrodgar
in the universal flexicontent module, I see now that in the item scope I have a dynamic filter based on field values.

I would like to know if is implemented or only a placeholder, and, in case if implemented, if my configuration is correct :)

Unless otherwise indicated:
Joomla 3.8.1
Flexicontent 3.2.1.7

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

More
11 years 8 months ago #47580 by ggppdk
Hello

ok you meant universal module,


but you signature say v2.1.3 r1837 maybe you need to update it?
(this feature is new in v2.2.0)

the dynamic field SCOPE will list items having the same value for e.g. field39 as the currently viewed item


-- 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.

More
11 years 8 months ago #47583 by jrodgar
yeah, I need to update my signature :)

Flexicontent 2.2.0 r1906
Joomla 3.3

Edit: So I would need to use field58 instead of simply 58? ok, I´ll try :)

Unless otherwise indicated:
Joomla 3.8.1
Flexicontent 3.2.1.7

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

More
11 years 8 months ago #47585 by jrodgar
I have change the "58" on the dynamic filter textarea with "field_id58" and "field_58", with no luck, it 'breaks' the page, redirecting me to the home

Using 58 dont break the page, but it looks like is doing nothing

Unless otherwise indicated:
Joomla 3.8.1
Flexicontent 3.2.1.7

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

More
11 years 8 months ago #47593 by jrodgar
Tried also with field58

Unless otherwise indicated:
Joomla 3.8.1
Flexicontent 3.2.1.7

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

More
11 years 8 months ago #47612 by jrodgar
Any suggestion?

Unless otherwise indicated:
Joomla 3.8.1
Flexicontent 3.2.1.7

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

More
11 years 8 months ago #47614 by jrodgar
Hi!

Was debugging, think I found the problem

On mod_flexicontent/helper.php:1888, on the line
Code:
// Single or Multi valued filter , handle by requiring ANY value else if ( isset($filter_values[0]) )

is wrong. Filter_values is used on static filters, not on dynamic filters. The correct line I think would be
Code:
// Single or Multi valued filter , handle by requiring ANY value else if ( isset($curritem_vals[0]) )

I´m correct? :)

Unless otherwise indicated:
Joomla 3.8.1
Flexicontent 3.2.1.7

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

More
11 years 8 months ago #47630 by ggppdk
Hello

as you know this is new feature of v2.2.0,

test/fixed it in r1912

and yes as description state you should enter integer , the field ids for which you want to listed items to have same value as currently viewed item

so you should enter, the field id that you entered originally:
e.g.

52

or

52,19,21


-- 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
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
Save