Buy Now
Sign in

chronoconnectivity in a module

gemlog , January 07 2010
G
gemlog
I tried a few different combinations of iframes, modules and plugins. Usually they failed because of css.

My firefox under linux shows it correctly now and also IE 6(!),7 and 8 using http://ipinfo.info/netrenderer/index.php

The combination I ended up using was mod_customcontent which loads an uncategorized article containing only this one line:

{component}index.php?option=com_chronoconnectivity&connectionname=Grooming_Report{/component}


The idea was to make it the least typing for the groomers as none of them can type. But then I didn't want to use up all that screen real-estate showing checkboxen later.

The site will end up here (eventually):
http://www.snowvalleynordics.com/

Hope that helps someone.

groomreport.png
groomreport0.png
Attachments
groomreport0.png
groomreport0.png
(191.45 KiB)
4673 Downloads/Views
groomreport.png
groomreport.png
(44.02 KiB)
4791 Downloads/Views
ozneilau
For this to work, you also need to load a plugin such as Componentbot: http://extensions.joomla.org/extensions/core-enhancements/embed-a-include/2723

Neil.
Webilicious Web Design and Development
http://webilicious.com.au
G
gemlog
Yes, thanks for noting that. I used 'Plugin Include Component'.
ozneilau
Thanks for sharing this!

This method does not work perfectly with recent Rockettheme templates. Unfortunately the width spills out beyond the module area. A similar extension "Component Loader" which has also worked for me in the past (see http://www.chronoengine.com/forums/index.php?option=com_chronoforums&cont=posts&f=14&t=18055) does not fix the problem either.

Instead of Chronoconnectivity, and to get around the Rockettheme issue, I ended up using a Custom HTML module with Sourcerer enabled, inserting code to extract what I wanted out of the database and display it in the module like this:


{source}
<?php
$db =& JFactory::getDBO();
$query="SELECT * FROM jos_chronoforms_Properties WHERE FeatureProperty='Yes' AND ActiveListing = 'Yes'";
$db->setQuery($query);
$result=$db->loadObject();
?>
{/source}
{source}<?php echo $result->Field1; ?>{/source}
{source}<?php echo $result->Field2; ?>{/source}


Neil
Webilicious Web Design and Development
http://webilicious.com.au
ozneilau
There is always something new to learn with Joomla and I have found an easier way to place ChronoConnectivity in a module as follows:

In Module Manager, click on "New", select "Wrapper" and click on "Next".

For the URL parameter, insert the link to your ChronoConnectivity page, appending "&tmpl=component" to the end so the component is displayed without all the other modules etc. For example:

http://your.domain.name.com/index.php?option=com_chronoconnectivity&connectionname=YourConnectionName&tmpl=component

Substitute your own values for your.domain.name.com and YourConnectionName.

Remember to set the other parameters as required and click on "Save".

Simple!

Neil
Webilicious Web Design and Development
http://webilicious.com.au