problem with contact form
problem with contact form
Hello everybody,
I'm checking wondercms and Idon't really see where (in theme.php) i've to insert the code for the contact form
Thx for your answer
I'm checking wondercms and Idon't really see where (in theme.php) i've to insert the code for the contact form
Thx for your answer
Re: problem with contact form
Hi stratego, welcome to the community
Paste the code anywhere you want to display it. You can also send a screenshot where you want to place it in your theme and we'll be able to help you out.
Paste the code anywhere you want to display it. You can also send a screenshot where you want to place it in your theme and we'll be able to help you out.
Re: problem with contact form
I would like to insert it in place of ...How to edit anything (by example)
Thanks
Thanks
Re: problem with contact form
I see you're using the green theme.
I don't believe you can put it between the two texts you're specifying, but you can insert the PHP code here:
Let me know if the above works for you. The above should display the contact form under the "How to install" text.
Please note I've added the in the code above.
If that doesn't work, you can try this:
The above example will display the form under all of the content that is displayed on the left and right.
I don't believe you can put it between the two texts you're specifying, but you can insert the PHP code here:
Code: Select all
<div class="container">
<div class="col-xs-12 col-sm-8">
<div class="whiteBackground grayFont padding20 rounded5">
<?= $Wcms->page('content') ?>
<?php echo contact_form(); ?>
</div>
</div>
<div class="col-xs-12 col-sm-4">
<div class="visible-xs spacer20"></div>
<div class="greenBackground padding20 rounded5">
<?= $Wcms->block('subside') ?>
</div>
</div>
</div>
Let me know if the above works for you. The above should display the contact form under the "How to install" text.
Please note I've added the
Code: Select all
<?php echo contact_form(); ?>
If that doesn't work, you can try this:
Code: Select all
<div class="container">
<div class="col-xs-12 col-sm-8">
<div class="whiteBackground grayFont padding20 rounded5">
<?= $Wcms->page('content') ?>
</div>
</div>
<div class="col-xs-12 col-sm-4">
<div class="visible-xs spacer20"></div>
<div class="greenBackground padding20 rounded5">
<?= $Wcms->block('subside') ?>
</div>
</div>
</div>
<?php echo contact_form(); ?>
Re: problem with contact form
no so good
any idea ?
any idea ?
Re: problem with contact form
Can you try the last piece of the code I've pasted?
This should put the contact form under the content and should be looking ok.
This should put the contact form under the content and should be looking ok.
Code: Select all
<div class="container">
<div class="col-xs-12 col-sm-8">
<div class="whiteBackground grayFont padding20 rounded5">
<?= $Wcms->page('content') ?>
</div>
</div>
<div class="col-xs-12 col-sm-4">
<div class="visible-xs spacer20"></div>
<div class="greenBackground padding20 rounded5">
<?= $Wcms->block('subside') ?>
</div>
</div>
</div>
<?php echo contact_form(); ?>
Re: problem with contact form
as you see, it's a little bit better but still shifted
Re: problem with contact form
I see, I'll try to find a quick solution for you today.
Re: problem with contact form
I have managed to play around with this, but it seems the contact form will have to be updated.
I will post work-arounds soon (it will require changing the contact-form plugin) a little bit until we manage to push out an universal update.
I will post work-arounds soon (it will require changing the contact-form plugin) a little bit until we manage to push out an universal update.
Re: problem with contact form
Hi,
Thanks for your work.
I'll wait the new version of the form
Thanks for your work.
I'll wait the new version of the form