Contact3 not in static post
Hello!
I've tried for several hours yesterday to make my contact3 form to show up in a static post when accessing the main site (page is said to not work, is there a workaround for this?), but it doesn't work.
If I go to my main site it shows the first post, but without the form. I have to click the title of that post that is shown in the menu.
Can somebody point me into the right direction? Thank you.
What I want to achieve is to use Bludit as a single page contact sheet.
Cryss
I've tried for several hours yesterday to make my contact3 form to show up in a static post when accessing the main site (page is said to not work, is there a workaround for this?), but it doesn't work.
If I go to my main site it shows the first post, but without the form. I have to click the title of that post that is shown in the menu.
Can somebody point me into the right direction? Thank you.
What I want to achieve is to use Bludit as a single page contact sheet.
Cryss
- novafacile
- Master Bludit
- Posts: 110
- Joined: Sat Oct 06, 2018 4:47 pm
- Has thanked: 39 times
- Been thanked: 11 times
- Contact:
Currently Contact3 can only added to static pages. (I think I should change this...).
In Bludit settings, you can set the page with contact form as homepage.
Settings -> Advanced -> Homepage
In Bludit settings, you can set the page with contact form as homepage.
Settings -> Advanced -> Homepage
This doesn't work. It is already set to the (static) contact page.In Bludit settings, you can set the page with contact form as homepage.
Settings -> Advanced -> Homepage
Is there any workaround like putting line yx into file xy and I'm good?
- novafacile
- Master Bludit
- Posts: 110
- Joined: Sat Oct 06, 2018 4:47 pm
- Has thanked: 39 times
- Been thanked: 11 times
- Contact:
Oh yes, that's the problem... let me think about to find a solution.
- Edi
- Site Admin
- Posts: 3121
- Joined: Sun Aug 09, 2015 5:01 pm
- Location: Zurich
- Has thanked: 54 times
- Been thanked: 77 times
- Contact:
As a temporary fix till the script of the plugin is fixed you can use in the file plugin.php in the directory /bl-plugins/contact3 the following (line 497):
instead of
Code: Select all
// Load contact form
public function pageEnd(){
if(!$this->webhook($this->webhookUrl()) && $WHERE_AM_I=='home'){
return;
}
Code: Select all
// Load contact form
public function pageEnd(){
if(!$this->webhook($this->webhookUrl())){
return;
}
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets
- novafacile
- Master Bludit
- Posts: 110
- Joined: Sat Oct 06, 2018 4:47 pm
- Has thanked: 39 times
- Been thanked: 11 times
- Contact:
Thanks! I will add this possibility to the plugin config.Edi wrote: ↑Sat Feb 05, 2022 8:31 pm As a temporary fix till the script of the plugin is fixed you can use in the file plugin.php in the directory /bl-plugins/contact3 the following (line 497):
instead ofCode: Select all
// Load contact form public function pageEnd(){ if(!$this->webhook($this->webhookUrl()) && $WHERE_AM_I=='home'){ return; }
Code: Select all
// Load contact form public function pageEnd(){ if(!$this->webhook($this->webhookUrl())){ return; }