1 campbellkid Jul 27, 2006 14:00
3 campbellkid Jul 27, 2006 15:13
Yeah, I checked that... I copied and uploaded the msgform.php into the skin folder...
4 william Jul 27, 2006 21:01
campbellkid, I added that to "nifty corners" on my blog. Here's the code (from _main.php) that I used. I included the code from the "start of posts" down to where I added the "email author" stuff.
Hope it helps,
William
<?php // ------------------------------------ START OF POSTS ----------------------------------------
if( isset($MainList) ) $MainList->display_if_empty(); // Display message if no post
if( isset($MainList) ) while( $Item = $MainList->get_item() )
{
$MainList->date_if_changed();
locale_temp_switch( $Item->locale ); // Temporarily switch to post locale
?>
<div class="bTitle"><h3 class="bTitle"><?php $Item->title(); ?></h3></div>
<div class="bPost" lang="<?php $Item->lang() ?>">
<?php
$Item->anchor(); // Anchor for permalinks to refer to
?>
<div class="bSmallHead">
<?php
$Item->permanent_link( '#icon#' );
echo ' ';
$Item->issue_time();
echo ', ', T_('Categories'), ': ';
$Item->categories();
echo ' ';
$Item->msgform_link( $Blog->get('msgformurl') );
echo ' email author ';
?>
</div>
5 campbellkid Jul 27, 2006 21:08
that's what i have... did you have to do anything else aside from copying the msgform.php into the skin folder?
6 edb Jul 27, 2006 21:14
In _main.php:
switch( $disp )
{
case 'comments':
// this includes the last comments if requested:
require( dirname(__FILE__).'/_lastcomments.php' );
break;
case 'arcdir':
// this includes the archive directory if requested
require( dirname(__FILE__).'/_arcdir.php');
break;
case 'profile':
// this includes the profile form if requested
require( dirname(__FILE__).'/_profile.php');
break;
case 'subs':
// this includes the subscription form if requested
require( dirname(__FILE__).'/_subscriptions.php');
break;
}
Add the message form bit:
case 'msgform':
// this includes the email form if requested
require( dirname(__FILE__).'/_msgform.php');
break;
7 william Jul 27, 2006 22:01
Oh, yeah- forgot about that 'cause it was already present in the new version. (Which is just soooo wonderful) ;)
8 campbellkid Jul 27, 2006 22:03
you rock! thank you so much!!
Ummm make sure you have all the files transferred for msgform.php
Open up the Custom skin and note the files under "skins" and also "skins"->"nifty_corners"
I think that the msgform.php files maybe missing in some skins