Ulti Clocks content

How to use Joomla Plugins in VirtueMart 1.1

JOOMLABOTTOM sand Website Design, Joomla, VirtueMart, Templates, web site designs, England, Britain, UK, Belgium, search-engine optimisation (SEO). Multilingual.
html, content, template, joomla, virtuemart, example, file, plugins, following, php, plugin, piece, etcsurround, snippets, contenthtml, called, run, output, echoed, prepare, function, stored, variable, native, close, page, descriptions, work, actual, mambots, enable, configuration, setting, product, description, operating, flypage, yoogallery, open, field

Home Joomla - VirtueMart Joomla & VM How To's How to use Joomla Plugins in VirtueMart 1.1

Jeu

09

Jui

How to use Joomla Plugins in VirtueMart 1.1
  • Joomla 1.5
  • VM 1.1

Although VirtueMart 1.1 has a Configuration setting to enable content mambots / plugins in descriptions this only seems to work within the actual product description field.
If you need the plugin to render elsewhere in VirtueMart do the following.


Open the VirtueMart template file of the page where you want to have the Joomla Plugin  ( in this example YooGallery ) operating.
for example:  flypage.tpl.php etc

Surround the html of the VM template file with the following snippets.

Before the first piece of html (within the php )
ob_start(); 

And then at the close of the html:
<?php 
$contenthtml=ob_get_contents();
ob_end_clean();
echo JHTML::_('content.prepare',$contenthtml);
?>
So your template html is now stored in the variable $contenthtml and the Joomla native function content.prepare is called, all the content plugins are run and the output echoed.

joomla_plugins_virtuemart


Add this page to your favorite Social Bookmarking websites
Digg! Reddit! Del.icio.us! Mixx! Free and Open Source Software News Google! Live! Facebook! Slashdot! Technorati! StumbleUpon! Spurl! Newsvine! Furl! Fark! Yahoo! Netvouz! Mister-Wong! RawSugar! Ma.gnolia! Squidoo! DZone! Swik!
LAST_UPDATED2
 

Add your comment

BoldItalicUnderlineStrikethroughSubscriptSuperscriptEmailImageHyperlinkOrdered listUnordered listQuoteCodeHyperlink to the Article by its id
Very HappySmileWinkSadSurprisedShockedConfusedCoolLaughingMadRazzEmbarrassedCrying or Very SadEvil or Very MadTwisted EvilRolling EyesExclamationQuestionIdeaArrowNeutralMr. GreenGeekUber Geek
Your name:
  The word for verification.
Lowercase letters only with no spaces.

The word for verification.<br/>Lowercase letters only with no spaces.
Word verification:

Titre:
Comment:

Our Recommended Reading

For those interested in extending their knowledge of Joomla! & VirtueMart, Packt Publishing has an excellent range of help & how to books.
Listed below are some I can recommend.
Simply click on the images to be taken directly to their web shop.


Joomla! Social Networking with JomSocial
Joomla! Social Networking
with JomSocial

by Kwasi Boateng & Beatrice A. Boateng.
Joomla! 1.5 Multimedia
Joomla! 1.5 Multimedia
by Allan Walker.


Building job sites with Joomla!
Building job sites with Joomla!
by Santonu Kumar Dhar.

Joomla! Template Design: Create your own professional-quality templates with this fast, friendly guide
Joomla! Template Design: 2nd Edition
Create your own professional-quality
templates with this fast, friendly guide
by Tessa Blakeley Silver.
Magento: Beginner's Guide
Magento: Beginner's Guide by William Rice
is a must for anyone trying the
open-source e-Commerce solution.

Read the review

object-oriented-javascript-applications-libraries
Object-Oriented JavaScript by
Stoyan Stefanov gives you a very
comprehensive grounding in
the latest Javascript techniques.

Read the review
Joomla! Web Security
Joomla! Web Security
by Tom Canavan.

Joomla 1.5 Top Extensions Cookbook
Joomla 1.5 Top Extensions Cookbook by
Suhreed Sarkar is an ideal and concise round up of the extensions available for the Joomla! system.

Read the review

Latest Articles

Paypal Donation

If you use this module on your site please donate a small amount.
Any donation amount appreciated.

VM Live Product Search

Recommended Reading

For those interested in extending there knowledge of Joomla! & VirtueMart Packt Publishing has an excellent range of help & how to books.
Listed below are some I can recommend.
Simply click on the images to be taken directly to their web shop.

Mastering Joomla! 1.5 Extension and Framework Development
Mastering Joomla! 1.5 Extension and
Framework Development : 2nd Edition

by James Kennard.
Read the review

Building job sites with Joomla!
Building job sites with Joomla!
by Santonu Kumar Dhar.
Learning Joomla! 1.5 Extension Development Learning Joomla! 1.5 Extension Development
by Joseph L. LeBlanc.
Read the review
Joomla! E-Commerce with VirtueMart
Joomla! E-Commerce with VirtueMart
by Suhreed Sarkar.

Read the review
Joomla! 1.5 Site Blueprints Joomla! 1.5 Site Blueprints
by Timi Ogunjobi.

Joomla! 1.5 JavaScript jQuery Joomla! 1.5 JavaScript jQuery
by Jose Argudo Blanco.
Read the review
Joomla! Social Networking with JomSocial Joomla! Social Networking with JomSocial
by Kwasi Boateng & Beatrice A. Boateng.

Joomla! 1.5 Multimedia Joomla! 1.5 Multimedia
by Allan Walker.

Joomla! Web Security Joomla! Web Security
by Tom Canavan.

Mastering Joomla! 1.5 Extension and Framework Development Mastering Joomla! 1.5 Extension and Framework Development : 2nd Edition
by James Kennard.

Joomla! Template Design: Create your own professional-quality templates with this fast, friendly guide Joomla! Template Design: Edition 2 - Create your own professional-quality templates with this fast, friendly guide
by Tessa Blakeley Silver.

Magento: Beginner's Guide
Magento: Beginner's Guide by William Rice
is a must for anyone trying the
open-source e-Commerce solution.

Read the review

JOOMLABOTTOM



How to use Joomla Plugins in VirtueMart 1.1



Website Design, Joomla, VirtueMart, Templates, web site designs, England, Britain, UK, Belgium, search-engine optimisation (SEO). Multilingual.


html, content, template, joomla, virtuemart, example, file, plugins, following, php, plugin, piece, etcsurround, snippets, contenthtml, called, run, output, echoed, prepare, function, stored, variable, native, close, page, descriptions, work, actual, mambots, enable, configuration, setting, product, description, operating, flypage, yoogallery, open, field