Page 1 of 1

Single Module or Component output

Posted: Sun Feb 24, 2008 4:28 pm
by VanCrey
1. Introduction

I missed a feature to get the Output of a component or module exclusive the whole stuff around it. For the Administration page as well as the the public webpage itself

2. Situation

You can force to get the component output itself by changing the parameter "format=xxx", but this means we have to prepare the component be appending a view.xxx.php. If you try to use it with the default "format=html", it comes always with everything around it.

3. Solutions

Evaluate the parameter "raw" if it is setted. It "raw" is not setted, we use the default behaviour. If raw is setted to "true", it always returns only the content of a specific component.

It must be also possible to have a deeplink for modules as it is using components.

Example "com_modules" Component
/administrator/index.php?option=com_modules&raw=true

Example "mod_random_image" Module
/administrator/index.php?module=mod_random_image&raw=true

4. Result

We will be able to place whatever we want into a Popup window or into separated frame. It's also possible to use specific Joomla features into Software like Google Gadgets, Yahoo Widgehts, Flash applications and everywhere else.

Re: Single Module or Component output

Posted: Sun Feb 24, 2008 10:35 pm
by Hackwar
Look at the parameter &tmpl=component

Re: Single Module or Component output

Posted: Sun Feb 24, 2008 10:52 pm
by VanCrey
Thats something I was looking for, but is this also possible to get the same behavior for specific module - thats the for me the more interesting point?

Re: Single Module or Component output

Posted: Sun Mar 23, 2008 9:20 pm
by Hackwar
modules can't be called seperately. Moving this one to denied.

Re: Single Module or Component output

Posted: Thu Oct 09, 2008 9:49 am
by theone2003a
Any solution around getting modules output separately?