Suffix for values in filter?

More
8 years 1 month ago #67467 by lipatovroman
But I think we need also ability to configure placeholders for filters inputs (text, text range etc)

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

More
8 years 1 month ago #67468 by ggppdk
Replied by ggppdk on topic Suffix for values in filter?
Hello

hhmm, for drop-down Select Filter display

The placeholder parameters exist already :

-- "Customize default option (all values)"
-- "Default option Text"

So i think to rename the Labels of the above 2 parameters, to be:

-- "Enable placeholder"
-- "Placeholder Text"

and then use them in all text / date filters Types too,
(the SLIDERs filter types already have other parameters, probably will not touch these)

and it is quite easy to add

now about having 2 placeholders, i understand that placeholder text can be different
we will need 2nd placeholder if the filter is Text/Date/Select "RANGE"


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

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

More
8 years 1 month ago - 8 years 1 month ago #67469 by lipatovroman
So, what should I do?
Last edit: 8 years 1 month ago by lipatovroman.

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

More
8 years 1 month ago #67470 by lipatovroman
Also suffixes does not support html...



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

More
8 years 4 weeks ago #67500 by lipatovroman
Is it possible to enable HTML for suffixes?

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

More
8 years 4 weeks ago #67501 by ggppdk
Replied by ggppdk on topic Suffix for values in filter?
Hello

Also suffixes does not support html


The prefix / suffix are delibarately removing HTML

since if you add HTML you will break the filter 's HTML !!

so they have in the field.xml file
Code:
<field name="pretext_filter" type="text" default="" filter="string" ... <field name="pretext_filter" type="text" default="" filter="string" ...

The Open / Close text are supposed to support HTML

but by mistake i did not add any filter="..." inside the field.xml file,
but default behaviour without filter is to remove HTML and other things
Code:
<field name="opentag_filter" type="text" default="" filter="JComponentHelper::filterText" ... <field name="opentag_filter" type="text" default="" filter="JComponentHelper::filterText" ...

I will add
filter="JComponentHelper::filterText"

the above filters HTML according to current's user Text filters (= Joomla allowed HTML tags per usergroup in global configuration)


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

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.351 seconds
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