2

Is it possible to display a view of a component without iframe and plugin? (That is to say, if possible with a few lines of PHP and maybe SQL queries?)

To be more clear: I'd like to do it directly in the PHP-Template! (Would be fine to do it in an article as well, as I have written a PHP-function showArticle(mixed $ident))

(I'm using Joomla 3.5)

I'd like to do something like

<jdoc:include type="component" view="example" name="position-x" />

or

<?php
    show_component('component-name', 'view-name');
?>
1

Check an extension called "Components Anywhere" by Regular Labs. It works by adding the following text werever you want to load your component:

{component url/of/the/component}

And no, there's no out of box solution.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.