Forum Replies Created
-
AuthorPosts
-
Eric Belanger
ParticipantHi,
You probably meant Phone Types… I tried it but nothing changed on the View profile page. For your information, all other strings are translated well on the page, only the “fax” one is not working.
Is there anything else I can try?
Eric
Eric Belanger
Participantwhere is that file located in the plugin? Can’t find it :-)
Eric Belanger
ParticipantHello there,
Seems the CSS option did not work here for en-groupe.ca in the form and in the admin part of Connections.
I want to hide all options for Phone, Address, and Email and only show “Work” items.
Thanks!
Eric Belanger
ParticipantI will need a little more guidance :-)
I read the entire jQuery script and I couldn’t figure which part could override the pattern I wrote in the Form plugin. This is probably my final option to force the format :-)
Eric Belanger
ParticipantI applied your suggestions but it still allows me to enter any type of number. I want to force users to use a specific format. Any other insight?
Eric Belanger
ParticipantHow about this one? there is the
$out .= __(‘Phone Type’ , ‘connections_form’ ) . ‘: ‘ . $form->buildSelect(‘phone[::FIELD::][type]’, $connections->options->getDefaultPhoneNumberValues() ) . “\n”;
There is an item called
$connections->options->getDefaultPhoneNumberValues() )
Eric Belanger
ParticipantI developed a pattern
$out .= '<label>' . __('Phone Number (format (506) 555-5555)' , 'connections_form' ) . '</label> <input type="tel" pattern="[\(]\d{3}[\)]\d{3}[\-]\d{4}" name="phone[::FIELD::][number]" value="" style="width: 30%"/>' . "\n";But I still can add any type of number for the phone number. Where else do I need to edit Connections Form so I can force people to use that specific format?
Eric Belanger
ParticipantI’m trying to edit the Form plug-in to force a format. Here is the line of code I would put
<input type='tel' pattern=' [\(]\d{3}[\)]\d{3}[\-]\d{4}' title='Phone Number (Format: (999)999-9999)'>If I put it in the connections_form.php file, will it force a format? I tried it and it didn’t work, so I thought you could give me more insight.
Thanks!
Eric Belanger
ParticipantHello Steven,
Could you give me an idea of how I could make category names translateable? What would need to be edited in the Connections plugin?
Any timeframe on updates to the plugin that could allow me to translate my categories?
Kevin
Eric Belanger
ParticipantSure, if it’s feasible I’d like to do it. Thanks for the guidance!
-
AuthorPosts
