Technology Tools for Ministry

Community

Web-Empowered Church User Community
All Categories > Ministry Tools > Prayer Connector Extension > Unable to change button text
Total Posts: 2 - Pages (1): [1]
Author: David Middlebrooks
Posted: Jun 28 2007 - 06:40 PM
Subject: Unable to change button text
Running latest WEC Prayer Connector - 1.6.3,I am able to change button text in the FlexForm, but button text in the FE remains unchanged. Referring to the "Add an entry" Button.

I'm also unable to affect change to button text color (from Template editing), although I can change background color.

Author: Dave Slayback
Posted: Jun 30 2007 - 04:08 PM
Subject: re: Unable to change button text
Hi David,

The text in the Flexform is for the button in the Form, not the one at the top. To change the one at the top, you need to add the following to the SETUP of the extension template in your connector:

plugin.tx_wecconnector_pi1._LOCAL_LANG.default.form_toggleOn = Add a prayer request
plugin.tx_wecconnector_pi1._LOCAL_LANG.default.form_toggleOff = Hide prayer request form

The 'default' is the default language. If you want a specific language, like German (de), you would put _LOCAL_LANG.de.form... in there.

As for the button color issue, I would check your extension template and see what values are in there. Look for btnColor and btnBackColor. The btnColor should change your button text color. Here is an example of what I found in one of my Connector templates:

plugin.tx_wecconnector_pi1.btnBackColor = #6600CC
plugin.tx_wecconnector_pi1.btnColor = #FFFFFF

If the value is there, then it is possible you are overriding it with your own sites custom CSS. Look at the CSS on the page if you can and see what it is set to and what is overriding it.

Also, for the button color, the color for buttons changes the buttons at top, not the buttons on the form. Those are a different type of button (a form button) and you can style those with CSS.

-Dave


Total Posts: 2 - Pages (1): [1]
You must login to post a message to this conference.