Display a custom text instead of the email in EMAIL field

More
13 years 2 weeks ago #25718 by igcorreia
I have found a Way to do it. Thanks I will wait for the commit.

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

More
13 years 2 weeks ago #25721 by ggppdk
Try the latest build r1338:
code.google.com/p/flexicontent/downloads/list

You can get the email field for the above build (email.php and email.xml) should work with your version


-- 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
13 years 2 weeks ago #25725 by igcorreia
Thanks again. I will do it.

update:Worked, i did it before but not as good as you. One day I will! :D (not even close)

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

More
13 years 2 weeks ago #25734 by ggppdk
You think to allow email field to hide the property "Email title" from the user entering the data?

Currently i am cleaning up/improving/fixing advanced search view

It is easy to make email field advanced searchable by using the title entered in the email field , which e.g. could be the full name of a person

What do you think?


-- 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
13 years 2 weeks ago #25741 by igcorreia
From Our perceptive this is how we think email should work.

int the FIELD CONFIGURATION we could have this inputs:

- DEFAULT EMAIL: emaildefault@gmai.com

- ALLOW TO USE TITLES: this will override the email if used (yes , no or FORCED LABEL bullets)

- FORCED LABEL: this is the label to use in ALL fields, for example - Contact Us By Email(this should be translatable, also is FORCED LABEL is used then the title should be the alt="" text)

- SHOW EMAIL IN ADV. SEARCH: Global (it will validate if the titles exists if so it will override the email), NO (it never never show email, so if it does have email it will be detected in the search but not presented the field), FORCED EMAIL (always show email field)

Does this makes sense?

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

More
13 years 2 weeks ago #25744 by ggppdk
I forgot to pass through JText the default title text
replace:
Inside email.php:

Replace line:
$default_value_title = $field->parameters->get( 'default_value_title', '' );
with:
$default_value_title = JText::_( $field->parameters->get( 'default_value_title', '' ) );

Will add this in next commit

The current override is
1. use custom title if set
2. then use default title is set
3. then use email as displayed title

Will add parameter for hiding the title property, most of the code for hiding this is already there

Regards


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