- Log in to post comments
# project page
http://drupal.org/project/webform
# download
# old # http://ftp.drupal.org/files/projects/webform-6.x-2.8.tar.gz
http://ftp.drupal.org/files/projects/webform-6.x-2.9.tar.gz
extract
copy webform to /sites/all/modules
# enable module
Administer > Modules
/admin/build/modules
check: Webform
# (optional, disable display post information)
Site building > Themes > Configure
/admin/build/themes/settings
checkout: Webform
# Site configuration > Languages
# admin/settings/language
# Translate interface
# /admin/build/translate/search
# String contains: Submit
# admin/build/translate/edit/3849
# German: Absenden
Display post information on
Admin > Create content > Webform
/node/add/webform
Webform Settings
Title: Kontakt
Description:
Webform mail settings
E-mail to address: info@example.com
#E-mail from name: example.com
[save]
Forum components
/node/15/edit/components
Edit > Configuration
Menu settings
Menu link title: Kontakt
Webform Settings
Title: Kontakt
Description: YOUR_ADDRESS....
Webform mail settings
E-mail to address: mail@example.com
E-mail from name:
Component: Ihr Name
E-mail from address:
Component: Ihre E-Mail-Adresse
E-mail subject:
Component: Betreff
Webform advanced settings
Submit button text: Absenden
Comment settings
Disabled
URL path settings
Kontakt
Publishing options
check: Published
[save]
## translation
# disable "The results of this submission may be viewed at:" footer
/modules/webform/webform-mail.tpl.php
<?php //print t('The results of this submission may be viewed at:') ?>
<?php //print url('node/'. $node->nid .'/submission/'. $sid, array('absolute' => TRUE)) ?>
/modules/webform/translations/de.po
#: webform.module:1986
msgid "Thank you, your submission has been received."
msgstr "Vielen Dank. Ihre Nachricht wurde übermittelt."
or
/admin/build/translate/search
Thank you, your submission has been received.
search
edit
Vielen Dank. Ihre Nachricht wurde übermittelt.
save
# Diff
diff -r webform.org/translations/de.po webform.new/translations/de.po
838c838
< msgstr ""
---
> msgstr "Vielen Dank. Ihre Nachricht wurde übermittelt."
diff -r webform.org/webform-mail.tpl.php webform.new/webform-mail.tpl.php
44,45c44,45
< <?php print t('The results of this submission may be viewed at:') ?>
< <?php print url('node/'. $node->nid .'/submission/'. $sid, array('absolute' => TRUE)) ?>
---
> <?php //print t('The results of this submission may be viewed at:') ?>
> <?php //print url('node/'. $node->nid .'/submission/'. $sid, array('absolute' => TRUE)) ?>
// edit css
#webform-client-form-1 .form-item {
display: block;
float: left;
margin: 1em;
}
# Contact entry settings
Webform advanced settings
Submit button text: Absenden
Comment settings
select: Disabled
# set permissions
##admin/user/permissions
##webform module > create webforms
##check: authenticated user
##admin/content/webform
# Submit path HowTo
http://drupal.org/node/7404/cvs-instructions/HEAD