- b2evolution CMS Support Forums
- b2evolution Support
- Templates, skins, XHTML and CSS
- Intro-Main is not shown [SOLVED]
1 co2_reduktion Oct 20, 2009 20:45
My b2evolution Version: Not Entered
Hi,
I`m using this skin:
http://skindemo.b2evolution.net/2/index.php?tempskin=MansBestFriendBlogTheme
and get this result:
http://freitagstefan.de/dokumentation/blogs/index.php?blog=13
The problem is, that entries with the Intro-Main type are not shown...
If I`m using another skin it is there...
I did not change the code of the file index.main.php:
<?php
/**
* This is the main/default page template for the "custom" skin.
*
* This skin only uses one single template which includes most of its features.
* It will also rely on default includes for specific dispays (like the comment form).
*
* For a quick explanation of b2evo 2.0 skins, please start here:
* {@link http://manual.b2evolution.net/Skins_2.0}
*
* The main page template is used to display the blog when no specific page template is available
* to handle the request (based on $disp).
*
*
* @version $Id: index.main.php,v 1.1 2008/04/15 17:52:15 fplanque Exp $
*/
if( !defined('EVO_MAIN_INIT') ) die( 'Please, do not access this page directly.' );
if( version_compare( $app_version, '2.4.1' ) < 0 )
{
die( 'This skin is designed for b2evolution 2.4.1 and above. Please <a href="http://b2evolution.net/downloads/index.html">upgrade your b2evolution</a>.' );
}
// This is the main template; it may be used to display very different things.
// Do inits depending on current $disp:
skin_init( $disp );
// -------------------------- HTML HEADER INCLUDED HERE --------------------------
skin_include( '_html_header.inc.php' );
// Note: You can customize the default HTML header by copying the generic
// /skins/_html_header.inc.php file into the current skin folder.
// -------------------------------- END OF HEADER --------------------------------
?>
<div align="center">
<div id="wrap">
<div id="header">
<div id="navigation">
<ul>
<?php
// ------------------------- "Menu" CONTAINER EMBEDDED HERE --------------------------
// Display container and contents:
// Note: this container is designed to be a single <ul> list
skin_container( NT_('Menu'), array(
// The following params will be used as defaults for widgets included in this container:
'block_start' => '',
'block_end' => '',
'block_display_title' => false,
'list_start' => '',
'list_end' => '',
'item_start' => '<li>',
'item_end' => '</li>',
) );
// ----------------------------- END OF "Menu" CONTAINER -----------------------------
?>
</ul>
</div>
</div>
<div id="title">
<?php
// ------------------------- "Header" CONTAINER EMBEDDED HERE --------------------------
// Display container and contents:
skin_container( NT_('Header'), array(
// The following params will be used as defaults for widgets included in this container:
'block_start' => '<div class="description">',
'block_end' => '</div>',
'block_title_start' => '<h1>',
'block_title_end' => '</h1>',
) );
// ----------------------------- END OF "Header" CONTAINER -----------------------------
?>
</div><!-- end of header -->
<div id="main">
<?php
// ------------------------- SIDEBAR INCLUDED HERE --------------------------
skin_include( '_sidebar.inc.php' );
// Note: You can customize the default BODY footer by copying the
// _body_footer.inc.php file into the current skin folder.
// ----------------------------- END OF SIDEBAR -----------------------------
?>
<div id="content">
<?php
// ------------------------- MESSAGES GENERATED FROM ACTIONS -------------------------
messages( array(
'block_start' => '<div class="action_messages">',
'block_end' => '</div>',
) );
// --------------------------------- END OF MESSAGES ---------------------------------
?>
<?php // ---------------------------------- START OF POSTS --------------------------------------
// Display message if no post:
display_if_empty();
while( $Item = & mainlist_get_item() )
{ // For each blog post, do everything below up to the closing curly brace "}"
?>
<div id="<?php $Item->anchor_id() ?>" lang="<?php $Item->lang() ?>">
<div class="post">
<?php
$Item->locale_temp_switch(); // Temporarily switch to post locale (useful for multilingual blogs)
?>
<h1>
<a href="<?php $Item->permanent_url() ?>" title="<?php echo T_('Permanent link to full entry') ?>"></a>
<?php $Item->title(); ?>
</h1>
<div class="entry">
<?php
// ---------------------- POST CONTENT INCLUDED HERE ----------------------
skin_include( '_item_content.inc.php' );
// Note: You can customize the default item feedback by copying the generic
// /skins/_item_feedback.inc.php file into the current skin folder.
// -------------------------- END OF POST CONTENT -------------------------
?>
</div>
<div class="postmetadata">
<?php
// List all tags attached to this post:
$Item->tags( array(
'before' => ' '.T_('Tags').': ',
'after' => ' ',
'separator' => ', ',
) );
?>
<?php
$Item->categories( array(
'before' => ' '.T_('Posted Under').' ',
'after' => '',
'include_main' => true,
'include_other' => true,
'include_external'=> true,
'link_categories' => true,
) );
?>
on
<?php
$Item->issue_time( array(
'time_format' => 'm.j.Y',
) );
?>
<!-- You can follow any responses to this entry through the RSS feed. -->
<?php
$Item->edit_link( array( // Link to backoffice for editing
'before' => '',
'after' => '',
) );
?>
</div>
<?php
// ------------------ FEEDBACK (COMMENTS/TRACKBACKS) INCLUDED HERE ------------------
skin_include( '_item_feedback.inc.php', array(
'before_section_title' => '<h4>',
'after_section_title' => '</h4>',
) );
// Note: You can customize the default item feedback by copying the generic
// /skins/_item_feedback.inc.php file into the current skin folder.
// ---------------------- END OF FEEDBACK (COMMENTS/TRACKBACKS) ---------------------
?></div>
<?php
locale_restore_previous(); // Restore previous locale (Blog locale)
?>
<?php } // --------------------------------- END OF POSTS ----------------------------------- ?>
<?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
) );
// 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 ---------------------------
?>
</div>
<div align="center">
<?php
// -------------------- PREV/NEXT PAGE LINKS (POST LIST MODE) --------------------
mainlist_page_links( array(
'block_start' => '<p class="center">',
'block_end' => '</p>',
'links_format' => '$prev$ :: $next$',
'prev_text' => '<< '.T_('Previous'),
'next_text' => T_('Next').' >>',
) );
// ------------------------- END OF PREV/NEXT PAGE LINKS -------------------------
?>
</div>
</div>
</div></div></div></div>
<?php
// ------------------------- BODY FOOTER INCLUDED HERE --------------------------
skin_include( '_body_footer.inc.php' );
// Note: You can customize the default BODY footer by copying the
// _body_footer.inc.php file into the current skin folder.
// ------------------------------- END OF FOOTER --------------------------------
?>
<?php
$Hit->log(); // log the hit on this page
debug_info(); // output debug info if requested
?>
</div><!-- end of wrap -->
</div><!-- end of center -->
</body>
</html>
Should I search for another skin or is it possible to solve my problem?
thx alot and greetings from germany
Co2
3 co2_reduktion Oct 20, 2009 21:12
Hi lturner,
lturner wrote:
It looks like that skin hasn't been converted to the new 3.x features yet.
thx for your quick answer...
Sh**, looks like the work at the pictures was for nothing :(
That´s life :-/
thx
Co2
4 lturner Oct 20, 2009 21:17
Maybe the people who designed it would update it to enable the latest features ? Either that or someone on the forums may have the time to help you get it updated.
L
5 sam2kb Oct 21, 2009 01:03
Just grab another dark skin 3.x compatible http://skins.b2evolution.net/
The top 3 dark skins work in b2evo 3.x
6 co2_reduktion Oct 21, 2009 21:27
Hi all,
thx alot, choose another one...
Can I see, if a skin is working with v3?
thx and greetings!
Co2
7 sam2kb Oct 21, 2009 21:33
Look for b2evolution logo in the center of skinshot. This logo exists in b2evolution 3 skins only.
8 co2_reduktion Oct 21, 2009 22:40
sam2kb wrote:
Look for b2evolution logo in the center of skinshot. This logo exists in b2evolution 3 skins only.
cool, thx and greetings!
Co2
Hi Co2
It looks like that skin hasn't been converted to the new 3.x features yet.
L