Recent Topics

1 Aug 04, 2008 10:38    

My b2evolution Version: 2.x

Hello guys,
I'd like to have TagCloud on my footer, but nifty corner doesn't support footer. I've tried to "add" it in css, but without any success. Other thing, how can i make categories like this

Categories
Movies [3]
Music[15]
etc. ?

Here is link:
http://multispace.net46.net/blog1.php

And last question :)
I'm using photoblog on next page. Is there any possibility tu add categories in that skin?
http://multispace.net46.net/blog5.php

Thanks a lot in advance.

2 Aug 04, 2008 14:50

Qukler wrote:

My b2evolution Version: 2.x

Hello guys,
I'd like to have TagCloud on my footer, but nifty corner doesn't support footer. I've tried to "add" it in css, but without any success.

it's because the skin doesnt have a container in the footer.. So what you ve to do is to add a container in the footer and insert the tagcloud in that container..

so simply add this:

    <div class="footer_container">
    		<?php
			// ------------------------- "Footer" CONTAINER EMBEDDED HERE --------------------------
			// Display container and contents:
			skin_container( NT_('Footer'), array(
					// The following params will be used as defaults for widgets included in this container:
					'block_start' => '<div class="$wi_class$">',
					'block_end' => '</div>',
				) );
			// ----------------------------- END OF "Footer" CONTAINER -----------------------------
		?>
        </div>


in to your _body_footer.inc.php so that it will completely look like this :

<?php
/**
 * This is the footer include template.
 *
 * For a quick explanation of b2evo 2.0 skins, please start here:
 * {@link http://manual.b2evolution.net/Skins_2.0}
 *
 * This is meant to be included in a page template.
 *
 * @package evoskins
 * @subpackage nifty_corners
 */
if( !defined('EVO_MAIN_INIT') ) die( 'Please, do not access this page directly.' );
?>

<!-- =================================== START OF FOOTER =================================== -->
<div id="pageFooter">
	<p class="baseline">
    
    <div class="footer_container">
    		<?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="$wi_class$">',
					'block_end' => '</div>',
					'block_title_start' => '<h1>',
					'block_title_end' => '</h1>',
				) );
			// ----------------------------- END OF "Header" CONTAINER -----------------------------
		?>
        </div>
		<?php
			// Display a link to contact the owner of this blog (if owner accepts messages):
			$Blog->contact_link( array(
					'before'      => '',
					'after'       => ' &bull; ',
					'text'   => T_('Contact'),
					'title'  => T_('Send a message to the owner of this blog...'),
				) );
		?>

		<?php
			// Display footer text (text can be edited in Blog Settings):
			$Blog->footer_text( array(
					'before'      => '',
					'after'       => '<br />',
				) );
		?>

		<?php display_param_link( $skin_links ) ?> by <a href="http://severinelandrieu.com/" target="_blank">S&eacute;verine Landrieu</a>
		&amp; <?php display_param_link( $fplanque_links ) ?>

		<?php
			// Display additional credits:
 			// If you can add your own credits without removing the defaults, you'll be very cool :))
			// Please leave this at the bottom of the page to make sure your blog gets listed on b2evolution.net
			credits( array(
					'list_start'  => ' &bull; '.T_('Credits').': ',
					'list_end'    => ' ',
					'separator'   => '|',
					'item_start'  => ' ',
					'item_end'    => ' ',
				) );
		?>
	</p>
</div>

to your 2nd question: sure why not, all you have to do is add a sidebar-like container or wherever you want the categories to appear and again insert the categories widget in to that containers, but after you insert this container -unlike the footer- you will have to do some modifications like floating the main with the one you inserted etc.. so i d suggest you do it on your own..

You can find detailed information [url=http://forums.b2evolution.net/viewtopic.php?t=14515]HOWTO edit / copy / add containers to skins by Afwas [/url].. Good luck


Form is loading...