Forum Support

Shape 5
March 29, 2024, 01:36:43 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: XML file params fix for j1.0.x (SOVLED)  (Read 667 times)
mcmasters
Jr. Member
**
Offline Offline

Posts: 14



« on: 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

Code:
<?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>
« Last Edit: August 16, 2008, 01:30:35 PM by mcmasters » Logged
mikek
Administrator
*****
Offline Offline

Posts: 28743



WWW
« Reply #1 on: 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?
Logged

Mike Knott
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
mcmasters
Jr. Member
**
Offline Offline

Posts: 14



« Reply #2 on: 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

Code:
<?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 Huh
Logged
mikek
Administrator
*****
Offline Offline

Posts: 28743



WWW
« Reply #3 on: 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.
Logged

Mike Knott
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
mcmasters
Jr. Member
**
Offline Offline

Posts: 14



« Reply #4 on: 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. Grin

ok Solved



Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.