Jump to content

FormBuilder and LanguageSupport


sytcher
 Share

Recommended Posts

Hi there,

i'm using processwire 2.4.0 with LanguageSupport (id=150, version=1.0.1) and FormBuilder (version=0.2.2):

There are following possibilities to embed a form in html:

Optiona A (Embed in Text):

form-builder/contactform

primary language      --> ok

secondary language  --> not ok (Notice: Trying to get property of non-object in /..../wire/core/Page.php on line 1253)

Option B (echo in some-template.php)

echo $forms->embed('contactform');

primary language      --> ok

secondary language  --> not ok (Notice: Trying to get property of non-object in /..../wire/core/Page.php on line 1253)

Option C (echo in some-template.php)

echo $forms->load('contactform')->render();

primary language      --> ok (but no styles and no theme)

secondary language  --> ok (but no styles and no theme)

All three possibilities don't work as expected. 

Does anybody know how to solve this problem?

The PageObject seems to be null in secondary language..

object(NullPage)#461

post-2132-0-24937800-1402899451_thumb.jp

post-2132-0-94957200-1402899451_thumb.jp

post-2132-0-73796300-1402899452_thumb.jp

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...