| Post |
|
Member | fischnackdissen posts 11 1:19 pm April 11, 2009
| |
|
|
Hallo. Folgende Frage habe ich.
Wo finden ich den Text wo die Custom-Fehlermdlungen generiert werden. Die sehen bei mir gerade so aus:
Bite geben Sie ihre Email ein >>
Aber die Pfeile (>>) stören mich, wo kann ich das denn löschen bzw. deaktivieren?
Danke für Hilfe.
Fisch
I`ll try it in english :) I will delete the arrows:
Where can i found the two arrows in the ol-list after using the send-button.
This is the Code in the html-file:
<div id="usermessage3b" class="cf_info failure failure3">Falsche Eingaben. <br> <ol><li> <a href="#li-3-1">Bite geben Sie ihre Email ein. »</a></li><li> </ol> </div>
|
|
|
Admin
| Oliver Munich, Germany posts 6237 1:43 pm April 11, 2009
| |
|
|
hard coded in the cforms core file(s), check cforms.php
|
|
|
|
|
Member | fischnackdissen posts 11 10:04 pm April 11, 2009
| |
|
|
Oliver said:
hard coded in the cforms core file(s), check cforms.php
Hi Oliver.
Sorry, i can`t find the right line in the cforms.php.
Which line do you mean?
I found something in the lib_validate.php. Is this right?
fisch
|
|
|
Admin
| Oliver Munich, Germany posts 6237 10:27 pm April 11, 2009
| |
|
|
my bad. you're right, it is this line:
$custom_error .= '<li><a href="#li-'.$no.'-'.($i+$off).'">'.stripslashes($c_err[1]).' »</li></a>';
|
|
|
|
|
Member | fischnackdissen posts 11 10:54 pm April 11, 2009
| |
|
|
Hi.
I found this line, but if I delete "»" nothing is change in the frontend.
Although, I delete the cache????
Secondly, Why is the </li>-tag before the </a>-tag?
Sorry, for my bad english. I hope you understand me :)
bg
Fisch
|
|
|
Admin
| Oliver Munich, Germany posts 6237 11:36 pm April 11, 2009
| |
|
|
right as this only changes the nonAjax part of it. it should take effect when ajax is disabled.
for the ajax part you need to change the javascript portion of cforms (cforms.js see /src/ +line 580).
|
|
|
|
|
Member | fischnackdissen posts 11 12:22 pm April 12, 2009
| |
|
|
Wow :) This is really tricky.
Do you mean the /cforms/js/cforms.js or do you mean /cforms/js/src/js_src.zip?
The last one is a zip-file?
bg
fisch
|
|
|
Admin
| Oliver Munich, Germany posts 6237 2:24 pm April 13, 2009
| |
|
|
You need to open the zip file and edit cforms.js (search for "»") and use that instead of the current one.
|
|
|
|