Single Module or Component output

Locked
VanCrey
Joomla! Apprentice
Joomla! Apprentice
Posts: 22
Joined: Mon Dec 17, 2007 10:57 pm

Single Module or Component output

Post by VanCrey » Sun Feb 24, 2008 4:28 pm

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.

User avatar
Hackwar
Joomla! Virtuoso
Joomla! Virtuoso
Posts: 3788
Joined: Fri Sep 16, 2005 8:41 pm
Location: NRW - Germany
Contact:

Re: Single Module or Component output

Post by Hackwar » Sun Feb 24, 2008 10:35 pm

Look at the parameter &tmpl=component
god doesn't play dice with the universe. not after that drunken night with the devil where he lost classical mechanics in a game of craps.

Since the creation of the Internet, the Earth's rotation has been fueled, primarily, by the collective spinning of English teachers in their graves.

VanCrey
Joomla! Apprentice
Joomla! Apprentice
Posts: 22
Joined: Mon Dec 17, 2007 10:57 pm

Re: Single Module or Component output

Post by VanCrey » Sun Feb 24, 2008 10:52 pm

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?

User avatar
Hackwar
Joomla! Virtuoso
Joomla! Virtuoso
Posts: 3788
Joined: Fri Sep 16, 2005 8:41 pm
Location: NRW - Germany
Contact:

Re: Single Module or Component output

Post by Hackwar » Sun Mar 23, 2008 9:20 pm

modules can't be called seperately. Moving this one to denied.
god doesn't play dice with the universe. not after that drunken night with the devil where he lost classical mechanics in a game of craps.

Since the creation of the Internet, the Earth's rotation has been fueled, primarily, by the collective spinning of English teachers in their graves.

theone2003a
Joomla! Apprentice
Joomla! Apprentice
Posts: 29
Joined: Fri Feb 01, 2008 5:22 pm

Re: Single Module or Component output

Post by theone2003a » Thu Oct 09, 2008 9:49 am

Any solution around getting modules output separately?


Locked

Return to “Not Accepted - Archived”