Shape 5

Joomla Free Extensions => Habla Chat - Free => : mcmasters August 16, 2008, 10:29:06 AM



: XML file params fix for j1.0.x (SOVLED)
: mcmasters August 16, 2008, 10:29:06 AM
If you do not see any parameters in the module config besides the suffix, use the following to replace or modify your mod_s5_habla_chat.xml

:
<?xml version="1.0" encoding="iso-8859-1"?>
<mosinstall type="module" version="1.0.0">
<name>S5 Habla Chat</name>
<author>Shape5.com</author>
<creationDate>August 2008</creationDate>
<license>http://www.gnu.org/copyleft/gpl.html GNU/GPL</license>
<authorEmail>[email protected]</authorEmail>
<authorUrl>www.shape5.com</authorUrl>
<version>1.0.0</version>
<description>This module will display a small chat box powered by hab.la</description>
<files>
<filename module="mod_s5_habla_chat">mod_s5_habla_chat.php</filename>
<filename>s5_habla_chat/habla.js</filename>
<filename>s5_habla_chat/offline.png</filename>
<filename>s5_habla_chat/online.png</filename>
</files>
<params>


<param name="moduleclass_sfx" type="text" default="" label="Module Class Suffix" description="A suffix to be applied to the css class of the module (table.moduletable), this allows individual module styling" />
<param name="pretext" type="textarea" cols="40" rows="5" default="" label="Pre-Text" description="Enter any pre-text message." />
<param name="posttext" type="textarea" cols="40" rows="5" default="" label="Post-Text" description="Enter any post-text message." />
<param name="" type="spacer" default="If you wish to use your own offline and online images name them online.png and offline.png, and over-write the existing online.png and offline.png in the folder modules/s5_habla_chat/ with your own images." label="Note:" description="" />
<param name="height" type="text" default="44" label="Height of Image" description="" />
<param name="width" type="text" default="146" label="Width of Image" description="" />

</params>
</mosinstall>


: Re: XML file params fix for j1.0.x
: mikek August 16, 2008, 11:19:30 AM
Hi, those are already in the default option in the xml file. What options were not appearing for you?


: Re: XML file params fix for j1.0.x
: mcmasters August 16, 2008, 11:32:51 AM
This is what the xml looks like after an install, I won;t show the screen shot because you can tell what it looks like by just reading it

:
<?xml version="1.0" encoding="iso-8859-1"?>
<mosinstall type="module" version="1.0.0">
<name>S5 Habla Chat</name>
<author>Shape5.com</author>
<creationDate>August 2008</creationDate>
<license>http://www.gnu.org/copyleft/gpl.html GNU/GPL</license>
<authorEmail>[email protected]</authorEmail>
<authorUrl>www.shape5.com</authorUrl>
<version>1.0.0</version>
<description>This module will display a small chat box powered by hab.la</description>
<files>
<filename module="mod_s5_habla_chat">mod_s5_habla_chat.php</filename>
<filename>s5_habla_chat/habla.js</filename>
<filename>s5_habla_chat/offline.png</filename>
<filename>s5_habla_chat/online.png</filename>
</files>
<params>
<param name="moduleclass_sfx" type="text" default="" label="Module Class Suffix" description="A suffix to be applied to the css class of the module (table.moduletable), this allows individual module styling" />
</params>
</mosinstall>
That file was pulled off my server after a fresh install. What happened to the params? I have no clue. The unzipped xml on my desktop has the proper params. The same thing happened on an attempt at a j1.5 install ...
no params in the module except for suffix.

SPOOKY ???


: Re: XML file params fix for j1.0.x
: mikek August 16, 2008, 01:00:12 PM
Oh, that is because there are 2 versions. The one in the Hosticity download section has less features because the image is already setup in the template. The one under free extensions has more features so you can adapt it to pretty much any template you wish.


: Re: XML file params fix for j1.0.x
: mcmasters August 16, 2008, 01:29:40 PM
WHEW!
I thought there were ghosts in my machine. BOO!

I don't agree with the decision of 2 xml's, one with less features in your template installer.
But then again I don't see "President of Shape5" on the name plate of my desk. ;D

ok Solved