Technology Tools for Ministry

Community

Web-Empowered Church User Community
Total Posts: 9 - Pages (1): [1]
user picture Author: Andre Daley
Posted: May 26 2007 - 11:36 AM
Subject: e-candle errors
I starting getting the following errors in the e-candle implementation of the prayer connector on my site.

You have errors in the following:
"Your Email" entry needs to be filled in

Message: entry too long (max=400, current=472)


I only have the the name and location on the form and nothing is required on the record. SO I'm not sure what's up. I'm running version 1.6.3.

Any help is appreciated

Andre
Author: Dave Slayback
Posted: May 27 2007 - 12:36 AM
Subject: re: e-candle errors
Hi Andre,

Check your ecandle plugin Flexform. Go to the Field tab and see if you have any fields in the Required Fields on Form section checked. It looks like you have Email.

The other issue is with how long of a message that you want to support. It seems that the message is over 400 characters...if you want to increase that, then go to the Display tab and set the Max 'message field' length. However, with the E-Candle template, only about 200-220 characters will fit. You can modify the existing template to make it longer...but we set it up so that it would all be three rows on a page and they had the same height and size.

-Dave
user picture Author: Andre Daley
Posted: May 27 2007 - 04:49 PM
Subject: re: e-candle errors
Dave,
I don't have any fields as required

Andre
Author: Dave Slayback
Posted: May 29 2007 - 09:49 AM
Subject: re: e-candle errors
Hi Andre,

I looked at the code and if you do not set any required fields, the 'message' and 'email' is set as required by default. You can override this by just selecting the message field here. I will change this in the next version so that 'email' is only set if it an available field. The e-candle is a little different in that it is not used for Connecting (reply to) and so the email field should not be required or needed here.

-Dave
user picture Author: Andre Daley
Posted: May 30 2007 - 02:21 PM
Subject: re: re: e-candle errors
Dave Slayback wrote:
Hi Andre,

I looked at the code and if you do not set any required fields, the 'message' and 'email' is set as required by default. You can override this by just selecting the message field here. I will change this in the next version so that 'email' is only set if it an available field. The e-candle is a little different in that it is not used for Connecting (reply to) and so the email field should not be required or needed here.

-Dave


Dave,
That worked thanks. HOw can I increase the amount of letters allowed in the message?

Andre
Author: Dave Slayback
Posted: May 30 2007 - 03:57 PM
Subject: re: e-candle errors
Hi Andre,

You will first need to go the Flexform for the e-candle wec_discussion plugin. Then, go to the Display tab and set the Max 'message field' length to whatever value you would like.

Then you will need to copy and edit the template -- wecconnector-candle.tmpl. It is located in the typo3conf/ext/wecdiscussion/res/ folder. Put it in fileadmintemplates or wherever you would like. Then you will have to set the tx_wecdiscussion_pi1.templateFile = fileadmintemplateswecconector-candle.tmpl (or to wherever you put it in fileadmin).

In the template file,find the ###TEMPLATE_DISPLAYENTRIES### section. Change the <div> line with height: to something greater -- i.e. 300px or more. See the code below for the exact code needed to change. Try out what works best for you and looks good. You can also set the colors here - i.e., add a background-color:#602020 for a dark red...or whatever you would like.

-Dave

<div class="tx-wecconnector-entry" style="width:175px;height:210px;border:3px groove #b6d;overflow:hidden;">
<div style="float:right; padding:4px;">
<img src="typo3conf/ext/wec_connector/res/candle.gif" height=93 width=10>
</div>
<div style="margin:4px; font-size:12px;font-face:Times New Roman,Verdana,sans-serif;">
###MESSAGE###
</div>
<div class="tx-wecconnector-messageinfo" style="float:left; font-size:11px; margin:0px; padding:0px; margin-left:4px;margin-top:4px;border:0;">
by ###NAME### ###LOCATION### [###DATE### ###TIME###]
</div>
<div style="float:left; font-size:10px;padding-top:8px;">
<span class="tx-wecconnector-button">###MODIFY###</span>
</div>
</div>
user picture Author: Andre Daley
Posted: May 30 2007 - 07:25 PM
Subject: re: e-candle errors
Thanks Dave
user picture Author: Andre Daley
Posted: Jun 04 2007 - 04:46 PM
Subject: re: e-candle errors
Dave,

I've been able to add the new e-candle entry without errors. Bu the entries aren't showing up on the page and when I get the link to moderate the entry and click the link no moderate options show up on the page.

Any ideas

Andre
Author: Dave Slayback
Posted: Jun 11 2007 - 08:23 AM
Subject: re: e-candle errors
Hi Andre,

missed seeing this post, so a late reply...

My only thought is that it sounds like the template has been changed incorrectly with wrong values or a missing marker field enclosure (###MARKER_1### start ... ###MARKER_1### end).

If that is not it, if I could get a Backend login (send to my email, please) I could look at this issue and likely solve it.

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