Recent Topics

1 Dec 15, 2009 11:25    

My b2evolution Version: 3.3.2

Im trying to add the Sharethiswidget code to every post. I have the plugin installed and the publisher ID set as well as the rendering set to always.

I have inserted the new container per the instructions and here is what it currently looks like:

			<?php
				// ---------------------- POST CONTENT INCLUDED HERE ----------------------
				skin_include( '_item_content.inc.php', array(
						'image_size'	=>	'fit-400x320',
					) );
				// 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 -------------------------
			?>
			
			<?php
				// List all tags attached to this post:
				$Item->tags( array(
						'before' =>         '<div class="bSmallPrint">'.T_('Tags').': ',
						'after' =>          '</div>',
						'separator' =>      ', ',
					) );
			?>
			</div>

			<div class="bSmallPrint">
				<?php
					// Permalink:
					$Item->permanent_link( array(
							'class' => 'permalink_right',
						) );

					// Link to comments, trackbacks, etc.:
					$Item->feedback_link( array(
									'type' => 'comments',
									'link_before' => '',
									'link_after' => '',
									'link_text_zero' => '#',
									'link_text_one' => '#',
									'link_text_more' => '#',
									'link_title' => '#',
									'use_popup' => false,
								) );

					// Link to comments, trackbacks, etc.:
					$Item->feedback_link( array(
									'type' => 'trackbacks',
									'link_before' => ' &bull; ',
									'link_after' => '',
									'link_text_zero' => '#',
									'link_text_one' => '#',
									'link_text_more' => '#',
									'link_title' => '#',
									'use_popup' => false,
								) );

					$Item->edit_link( array( // Link to backoffice for editing
							'before'    => ' &bull; ',
							'after'     => '',
						) );
				?>

			</div>

		  <?php			
// ------------------------- "Post Footer" CONTAINER EMBEDDED HERE --------------------------
// Display container and contents:
skin_container( NT_('Post Footer'), array(
		// The following params will be used as defaults for widgets included in this container:
		'block_start' => '',
		'block_end' => '',
	) );
// ----------------------------- END OF "Post Footer" CONTAINER -----------------------------
?>  
			
			<?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) ---------------------
			?>

I cannot get anything to display with this. There are a few random snippets on the instructions here: http://manual.b2evolution.net/Sharethiswidget_plugin that I am not sure if I need to add or where to add them.

Please help me out on this. Thanks!

EDIT: One other minor issue I am having is the Code button on tinymce, when I use it nothing happens, it puts the tags around the code, but then whatever is inside them just shows like normal and the tag codes also show on the post. It doesn't seem to be rendering correctly. Anyone know why?


Form is loading...