1. kikeisasi
  2. Free Templates / Extensions
  3. Wednesday, 18 April 2012
  4.  Subscribe via email
Is there any new version for this module with module suffix?? Can i write some code in order to put a style on it???

THANKS
Accepted Answer Pending Moderation
0
Votes
Undo
THANKS A LOT! WORKS PERFECTLY....
:):):)
CHEERS
  1. more than a month ago
  2. Free Templates / Extensions
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
Hi

Try replacing the following in your modules mod_j51hover.xml (../modules/mod_j51hover/mod_j51hover.xml)

	<config>
<fields name="params" addfieldpath="/modules/mod_j51hover/php">
<fieldset name="Advanced">
<field name="hover_title" type="text" default="Your Image Title" label="Hover Title" description="Enter your Hover Title" />
<field name="hover_description" type="textarea" default="Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor." label="Enter text description" description="" rows="4" cols="30" />
<field name="textcolor" type="jscolor" default="#FFFFFF" label="Text color" description="Select the color for your Text" />
<field name="style" type="folderlist" hide_none="true" default="FallIn" label="Select Style" directory="modules/mod_j51hover/css/" filter="" exclude="_navigator|_contentslider" stripext="" />
<field name="Directory" type="media" default = "images/1.jpg" label="Image Directory" description = "Image Directory" size="30" />
<field name="pxHeight" type="text" default = "200" label="Heigth in pixels" description = "Heigth in pixels" size="10" />
<field name="pxWidth" type="text" default = "200" label="Width in pixels" description = "Width in pixels" size="10" />
<field name="hover_link" type="text" default = "http://www.joomla51.com" label="URL Link" description = "URL Link" size="30" />
<field name="bgcolor" type="jscolor" default="#006699" label="Background color" description="Select the color for your Background" />
<field name="HOpacity" type="text" default = "0.7" label="Color Opacity 0.0 -> 1.0" description = "Hover Opacity"/>
</fieldset>
</fields>
</config>


With.....

	<config>
<fields name="params" addfieldpath="/modules/mod_j51hover/php">
<fieldset name="Advanced">
<field name="hover_title" type="text" default="Your Image Title" label="Hover Title" description="Enter your Hover Title" />
<field name="hover_description" type="textarea" default="Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor." label="Enter text description" description="" rows="4" cols="30" />
<field name="textcolor" type="jscolor" default="#FFFFFF" label="Text color" description="Select the color for your Text" />
<field name="style" type="folderlist" hide_none="true" default="FallIn" label="Select Style" directory="modules/mod_j51hover/css/" filter="" exclude="_navigator|_contentslider" stripext="" />
<field name="Directory" type="media" default = "images/1.jpg" label="Image Directory" description = "Image Directory" size="30" />
<field name="pxHeight" type="text" default = "200" label="Heigth in pixels" description = "Heigth in pixels" size="10" />
<field name="pxWidth" type="text" default = "200" label="Width in pixels" description = "Width in pixels" size="10" />
<field name="hover_link" type="text" default = "http://www.joomla51.com" label="URL Link" description = "URL Link" size="30" />
<field name="bgcolor" type="jscolor" default="#006699" label="Background color" description="Select the color for your Background" />
<field name="HOpacity" type="text" default = "0.7" label="Color Opacity 0.0 -> 1.0" description = "Hover Opacity"/>
</fieldset>
<fieldset name="advanced">
<field 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" />
<field name="cache" type="list" default="1" label="Caching" description="Select whether to cache the content of this module">
<option value="1">Use global</option>
<option value="0">No caching</option>
</field>
<field name="cache_time" type="text" default="900" label="Cache Time" description="The time before the module is recached" />

</fieldset>
</fields>
</config>


CiarĂ¡n
  1. more than a month ago
  2. Free Templates / Extensions
  3. # 2
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!

Join Our Newsletter

* indicates required
We respect your privacy and do not tolerate spam and will never sell, rent, lease or give away your information (name, email, number, etc.) to any third party. Nor will we send you unsolicited email.
Joomla51 - Mullaghmore, Co. Sligo, Ireland
Joomla51.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by
Open Source Matters
the trademark holder in the United States and other countries.