Recent Topics

1 Oct 07, 2007 01:51    

My b2evolution Version: 1.9.x

I decided to use the natural pink template but I find that the _feedback.php is different from the other ones I've encounter.

From info here, I've been using...

<?php if( $disp_comment_form && is_logged_in() ) 
{ // We want to display the comments form to a registered member:
if( $Item->can_comment() ) { // User can leave a comment ?>

This requires individuals to log into an account in order to post. It's worked for helskinki and naked bob templates so far.

But the Natural Pink template only gives me this short form of feedback.php.

<?php 
	/**
	 * This is the template that displays the feedback for a post
	 * (comments, trackbak, pingback...)
	 *
	 * This file is not meant to be called directly.
	 * It is meant to be called by an include in the _main.php template.
	 * To display a feedback, you should call a stub AND pass the right parameters
	 * For example: /blogs/index.php?p=1&more=1&c=1&tb=1&pb=1
	 * Note: don't cod ethis URL by hand, use the template functions to generate it!
	 *
	 * b2evolution - {@link http://b2evolution.net/}
	 * Released under GNU GPL License - {@link http://b2evolution.net/about/license.html}
	 * @copyright (c)2003-2005 by Francois PLANQUE - {@link http://fplanque.net/}
	 *
	 * @package evoskins
	 * @subpackage custom
	 */
	if( !defined('DB_USER') ) die( 'Please, do not access this page directly.' );

	/**
	 * We now call the default feedback handler...
	 * However you can replace this file with the full handler (in /blogs) and customize it!
	 */
	require get_path('skins').'/_feedback.php';
?>

This is confusing and I'm wondering if it's supposed to be changed out if desired?

thanks,
kat

2 Oct 08, 2007 17:40

You can replace the file on a per skin basis. The file you copied above is the file that calls the default _feedback.php that is located in the ../blogs/skins directory. So if you want to make changes (or use a copy that already has the changes made) you place it in the ../blogs/skins/YOURSKIN/ directory and replace the existing file.

Good luck


Form is loading...