Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
p01-contact : simply add contact forms in your pages
@Robrobot
After upgrading GetSimple, I18N and I18N-Special-Pages I've the same Problem like you!

I think the problem is all Plugins and also GetSimple get updated continuous but the P01-contact Plugin seems to never get an update in future. The last stable version of this plugin exist until Nov. 2011.

So if this plugin won't get any update it will be useless for future!

After searching for this issue I've found a simple solution for this problem:

In my template file I've a language navigation wich is called as followed-> <a href="<?php echo htmlspecialchars(return_i18n_setlang_url('de')); ?>">deutsch</a>
You can read more about this function here: http://mvlcek.bplaced.net/get-simple/i18n?lang=en

Now the p01-contact.php must be edited at the lang()-function as follow->
In line 289 change this variable: $lang = $this->settings('lang');
into this -> $lang = $_SESSION[language];

After these changes the contact form will be loaded in the selected language! ;-)
Wer nicht überzeugen kann sollte wenigstens Verwirrung stiften!
Reply


Messages In This Thread
askcopy syntax Not Working - by celextel - 2019-05-24, 01:54:40
RE: askcopy syntax Not Working - by celextel - 2019-05-28, 01:51:47
p01-contact : simply add contact forms in your pages - by comdraft - 2012-08-28, 19:17:36



Users browsing this thread: 1 Guest(s)