Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Remove parameters, add config to XML file.

  • Loading branch information...
commit 2724f30848fd7ce1922d18c0fd0bd7867462dd56 1 parent 9cd5ba8
@subtext authored
Showing with 10 additions and 1 deletion.
  1. +10 −1 previewimage.xml
View
11 previewimage.xml
@@ -11,5 +11,14 @@
<files>
<filename plugin="previewimage">previewimage.php</filename>
</files>
- <params/>
+ <config>
+ <fields name="params">
+ <fieldset name="basic">
+ <field name="feature_width" type="text" size="20" label="PLG_CONTENT_PREVIEWIMAGE_FEATURE_WIDTH_LABEL" description="PLG_CONTENT_PREVIEWIMAGE_FEATURE_WIDTH_DESC" />
+ <field name="feature_height" type="text" size="20" label="PLG_CONTENT_PREVIEWIMAGE_FEATURE_HEIGHT_LABEL" description="PLG_CONTENT_PREVIEWIMAGE_FEATURE_HEIGHT_DESC" />
+ <field name="thumb_width" type="text" size="20" label="PLG_CONTENT_PREVIEWIMAGE_THUMB_WIDTH_LABEL" description="PLG_CONTENT_PREVIEWIMAGE_THUMB_WIDTH_DESC" />
+ <field name="thumb_height" type="text" size="20" label="PLG_CONTENT_PREVIEWIMAGE_THUMB_HEIGHT_LABEL" description="PLG_CONTENT_PREVIEWIMAGE_THUMB_HEIGHT_DESC" />
+ </fieldset>
+ </fields>
+ </config>
</install>
Please sign in to comment.
Something went wrong with that request. Please try again.