1 fredsy Oct 13, 2008 22:12
3 fredsy Oct 13, 2008 22:28
Yes I've got the msgform file, in both /skins and in skins/myskin.
Thanks for deleting the duplicate - my connection kicked out just as I was posting.
4 john Oct 13, 2008 22:34
Ok...
Have you included masgform.disp in the index.main.php file for that skin...
eg:
<?php
// -------------- MAIN CONTENT TEMPLATE INCLUDED HERE (Based on $disp) --------------
skin_include( '$disp$', array(
'disp_posts' => '', // We already handled this case above
'disp_single' => '', // We already handled this case above
'disp_page' => '', // We already handled this case above
'disp_msgform' => '_msgform.disp.php',
'disp_plugins' => '_plugins.disp.php',
) );
// Note: you can customize any of the sub templates included here by
// copying the matching php file into your skin directory.
// ------------------------- END OF MAIN CONTENT TEMPLATE ---------------------------
?>
5 fredsy Oct 14, 2008 09:34
Ah.... no! I was thinking that I needed something like that but I couldn't figure it out.
Thanks John!
6 fredsy Oct 14, 2008 09:51
Ok, I've added that in and am still getting nothing.
7 john Oct 14, 2008 11:03
This "old" post is in the FAQ
It might twig something for you that's been left out.
http://forums.b2evolution.net/viewtopic.php?t=14046
Good luck with it
8 tilqicom Oct 15, 2008 07:42
na3 wrote:
Ok, I've added that in and am still getting nothing.
i had the exact problem..
please do try the url as : http://www.yourblog.com/index.php?disp=msgform&recipient_id=1
and be back with the feedback, this may be a core bug, i havent met this before 2.5.x
9 fredsy Oct 15, 2008 08:04
Still getting no form using that link.
10 tilqicom Oct 15, 2008 08:34
na3 wrote:
Still getting no form using that link.
shoot.. can you pass an exact link of your blog contact form that is problematic ..
and btw are you sure that you ve added 'disp_msgform' => '_msgform.disp.php',
and included _msgform.disp.php in your /yourskin folder
11 fredsy Oct 15, 2008 11:03
I'm using a contact form menu link widget, which is what is creating the url - I simply copied and pasted it (see first post) above.
http://puppetsinmelbourne.com.au/bumpinproject/?disp=msgform&recipient_id=1&redirect_to=http%3A%2F%2Fpuppetsinmelbourne.com.au%2Fbumpinproject%2F%3Fblog%3D17
As mentioned above, yes, the skin now has the disp_msgform code, and msgform.disp is in both /skins and in skins/myskin.
Funnily enough, the Announcements page is on a different skin, doesn't have the disp_msgform code in the skin, but that works fine. So I just copied over the second skin and now it works... have no idea what the difference was.
Anyway, thanks, seems I've solved it...
[/code][/quote]
12 esanchez Nov 29, 2008 08:29
I just ran into this problem w/ a new skin I wrote for b2evo 2.4.5. You need these lines to display the contact form
<?php
// -------------- MAIN CONTENT TEMPLATE INCLUDED HERE (Based on $disp) --------------
//skin_include( '$disp$', array() );
skin_include( '$disp$', array(
'disp_posts' => '', // We already handled this case above
'disp_single' => '', // We already handled this case above
'disp_page' => '', // We already handled this case above
) );
// Note: you can customize any of the sub templates included here by
// copying the matching php file into your skin directory.
// ------------------------- END OF MAIN CONTENT TEMPLATE ---------------------------
?>
Have you included the file msgform.disp.php ?
BTW, I deleted your duplicate post on this topic.