Keyword

[SOLVED] Plugin not applying to Mamblog content

  • vebmoore
  • vebmoore's Avatar Topic Author
  • Offline
  • New Member
More
18 years 1 month ago - 18 years 1 month ago #193 by vebmoore
This plugin is great, but it is not working with the Mamblog component.  If I view mamblog items using joomla's inherent content display, everything is fine ( www.mydeadponyrecords.com/content/view/147/88889181/ )-- but if I use the "Mamblog" or "Show my Blog" links provided by the component, then I just see the code ( www.mydeadponyrecords.com/component/option,com_mamblog/Itemid,88889537/task,show/action,view/id,147/ )-- Is there a solution to this?

Please Log in or Create an account to join the conversation.

More
18 years 1 month ago #194 by JoomlaWorks
Replied by JoomlaWorks on topic Re: Plugin not applying to Mamblog content
This is a contribution by Stephan Slabihoud.

How to enable Simple Image Gallery (and any other "content type" plugin) inside the Mamblog Component

Open up the file mamblog.html.php and at about line 180, edit to something like this:
function show( $blog, $mask=0, $gid, $option ) {
	global $cfg_mamblog, $Itemid, $my, $mosConfig_live_site;

	// start - enable "content type" plugin parsing
	      global $_MAMBOTS;
	      $_MAMBOTS->loadBotGroup( 'content' );
	      $results = $_MAMBOTS->trigger( 'onPrepareContent', array(&$blog, &$params, $page), true );
	// end - enable "content type" plugin parsing

	$create_date = null;

This should enable now Simple Image Gallery to work inside your Joomla! blog, as well as other plugins, like AllVideos, Tabs & Slides etc.!

Enjoy!  :pop

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

More
13 years 6 months ago #195 by kevinD
;D ;D ;D ;D ;D ;D ;D ;D

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum