Topic RSS
9:59 am
Hello,
Can somebody tell me
how to do:
Recommend this page
with two fields: Your email, Friend's email
It will be on every page. After
submitting I need to get e-mail with those two addresses and IP. All the
information must be stored in db.
Oh and by the way. Because
my blog is Multilanguage is it possible to change global setting depending on
language?
2:16 pm
March 6, 2005
OfflineI suggest you setup a form and use the PHP method of inserting the form code in your post/page template, see the Help! documentation on how to insert forms using PHP.
You can setup the form itself with just the two email fields, if you check both fields as "Is Email" make sure to put the "friends' email" field as the FIRST email field (this one will receive the auto confirmation message!).
Then configure a notification message (look for auto confirmation settings) that will go out to the first email address provided when submitting the form.
Multi-language: not sure what you're trying to do, but cforms is currently supporting Spanish and German (for the admin UI) and is dependent on the WP_LANG variable set in WP.
1:16 pm
Multilanguage:
For example in options in Admin Panel you can specify the error messages shown in case something goes awry.
My blog (CMS) will be in 3 languages (using Gengo). When there will be an error it will show in every language the same information that I wrote in Admin Panel.
Normally in my template I do:
<?php
if (is_language('en')) echo "Try again";
elseif (is_language('pl')) echo "Sprobuj ponownie";
elseif (is_language('de')) echo "blabla";
else query_posts('pagename=translation-company');
?>
Can I place such a code somewhere?
Most Users Ever Online: 959
Currently Online:
55 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
tracedef: 43
mores: 21
Gyrus: 20
frozenwaste: 18
asuffredini: 15
photoworks: 14
Member Stats:
Guest Posters: 3568
Members: 1464
Moderators: 3
Admins: 1
Forum Stats:
Groups: 1
Forums: 4
Topics: 5172
Posts: 18414
Newest Members: juredujmovic, dreamkeeper, rajattyagi, wrokaa, lukass
Moderators: Paul (421), cnymike (8), sonika (95)
Administrators: Oliver (6398)
FAQs
Home
Add Reply
Add Topic
Quote









