Keyword

Another problem with sig and virtuemart

  • VASILIS PAPAMOUSTOS
  • VASILIS PAPAMOUSTOS's Avatar Topic Author
  • Offline
  • New Member
More
16 years 4 months ago #19121 by VASILIS PAPAMOUSTOS
Another problem with sig and virtuemart was created by VASILIS PAPAMOUSTOS
Hi!

This is my first post here, and unfortunately one with a problem: while simple image gallery (sig) is working fine in my site, I can't get it to work in virtuemart. To be more specific, I want it to work in Category description.

Having found this and this topic, I did change the code in shop.product_details.php in order to see if it's ok (at least in product details), but nothing happens.

Can someone point out a solution to this problem?

Thanks in advance.

PS: paidia ta spate!! keep going

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

  • VASILIS PAPAMOUSTOS
  • VASILIS PAPAMOUSTOS's Avatar Topic Author
  • Offline
  • New Member
More
16 years 4 months ago #19122 by VASILIS PAPAMOUSTOS
Replied by VASILIS PAPAMOUSTOS on topic Re: Another problem with sig and virtuemart
A small update here...

I found that the file containing the input code for categories is product.product_category_form.php, which is located in administrator/components/com_virtuemart/html.

So I read again the tutorial for the allvideos plugin, and as fas as I can understand, fotis evangelou just inputs the code in order to make the plugin seen by the code, just before printing the page. I did quite the same in product.product_category_form.php, but with no result. To be more accurate, what I did was to change this
//finally close the form:
$formObj->finishForm( $funcname, $modulename.'.product_category_list', $option );

?>

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

//finally close the form:
$formObj->finishForm( $funcname, $modulename.'.product_category_list', $option );

?>

What I did, was to input the same code fotis gave us for allvideos plugin, in order to use the simple image gallery plugin. However, my category description in virtuemart still displays {gallery}blabla/blabla{/gallery}

Any suggestions here?

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


Powered by Kunena Forum