Skip to content
Snippets Groups Projects
Commit 2e122f12 authored by Reinhold Kainhofer's avatar Reinhold Kainhofer
Browse files

V4.3: Add missing fields dir to the installation

parent b4b230ef
No related branches found
No related tags found
No related merge requests found
......@@ -11,6 +11,7 @@ TRANSLATIONS=$(call wildcard,language/en*/*.plg_$(PLUGINTYPE)_$(BASE).*ini)
TRANSLATIONS_ADV=$(subst $(BASE),$(BASE_ADV),$(TRANSLATIONS))
INDEXFILES=language/index.html $(call wildcard,language/**/index.html) $(call wildcard,elements/*.html)
ELEMENTS=$(call wildcard,elements/*.php)
FIELDS=$(call wildcard,fields/*.php)
ZIPFILE=plg_$(ZIPBASE)_$(BASE)_v$(VERSION).zip
ZIPFILE_ADV=plg_$(ZIPBASE)_$(BASE_ADV)_v$(VERSION).zip
......@@ -27,8 +28,8 @@ translations: $(TRANSLATIONS)
zip: $(PLUGINFILES) $(TRANSLATIONS) $(ADVANCEDFILES)
@echo "Packing all files into distribution file $(ZIPFILE):"
@zip -r $(ZIPFILE) $(PLUGINFILES) $(TRANSLATIONS) $(ELEMENTS) $(INDEXFILES)
@zip -r $(ZIPFILE_ADV) $(PLUGINFILES_ADV) $(TRANSLATIONS_ADV) $(ELEMENTS) $(INDEXFILES)
@zip -r $(ZIPFILE) $(PLUGINFILES) $(TRANSLATIONS) $(ELEMENTS) $(FIELDS) $(INDEXFILES)
@zip -r $(ZIPFILE_ADV) $(PLUGINFILES_ADV) $(TRANSLATIONS_ADV) $(ELEMENTS) $(FIELDS) $(INDEXFILES)
clean:
rm -f $(ZIPFILE) $(ZIPFILE_ADV)
No preview for this file type
No preview for this file type
......@@ -22,7 +22,7 @@
<scriptfile>rules_shipping.script.php</scriptfile>
<!-- VM 3.x support (fields rather than params): -->
<vmconfig>
<config>
<fields name="params" addfieldpath="/plugins/vmshipment/rules_shipping/fields">
<fieldset name="shipment" label="VMSHIPMENT_RULES_PLUGIN" addfieldpath="/administrator/components/com_virtuemart/fields">
<field type="vmcurl"/>
......@@ -86,7 +86,7 @@
</fieldset>
</fields>
</vmconfig>
</config>
<!-- VM 2.0 support (params rather than fields): -->
......
......@@ -22,7 +22,7 @@
<scriptfile>rules_shipping_advanced.script.php</scriptfile>
<!-- VM 3.0 support (fields rather than params): -->
<vmconfig>
<config>
<fields name="params" addfieldpath="/plugins/vmshipment/rules_shipping/fields">
<fieldset name="shipment" label="VMSHIPMENT_RULES_PLUGIN_ADV" addfieldpath="/administrator/components/com_virtuemart/fields">
<field type="vmcurl"/>
......@@ -86,7 +86,7 @@
</fieldset>
</fields>
</vmconfig>
</config>
<!-- VM 2.0 support (params rather than fields): -->
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment