Get Demo Component to work on both J3! and J4! via legacy approach #1

Closed
Oh wants to merge 17 commits from master into master
Showing only changes of commit 1c887d506f - Show all commits

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<extension type="component" version="3.2" method="upgrade">
<extension type="component" version="4.0" method="upgrade">
<name>COM_DEMO</name>
<creationDate>8th February, 2021</creationDate>
<author>Llewellyn van der Merwe</author>
@ -36,7 +36,7 @@
<filename>index.html</filename>
<folder>js</folder>
<folder>css</folder>
<folder>images</folder>
<folder>images</folder>
<folder>uikit-v2</folder>
</media>
@ -51,7 +51,7 @@
<filename>controller.php</filename>
<filename>index.html</filename>
<filename>router.php</filename>
<filename>demo.php</filename>
<filename>demo.php</filename>
<filename>router.php</filename>
<folder>assets</folder>
<folder>helpers</folder>
@ -62,14 +62,14 @@
</files>
<languages folder="site">
<language tag="en-GB">language/en-GB/en-GB.com_demo.ini</language>
<language tag="en-GB">language/en-GB/en-GB.com_demo.ini</language>
<language tag="en-GB">language/en-GB/en-GB.com_demo.sys.ini</language>
</languages>
<administration>
<menu>COM_DEMO_MENU</menu>
<submenu>
<!-- Instead of link you can specify individual link attributes -->
<!-- Instead of link you can specify individual link attributes -->
<menu option="com_demo" view="looks">COM_DEMO_MENU_LOOKS</menu>
</submenu>
<files folder="admin">
@ -77,7 +77,7 @@
<filename>config.xml</filename>
<filename>controller.php</filename>
<filename>index.html</filename>
<filename>demo.php</filename>
<filename>demo.php</filename>
<filename>README.txt</filename>
<folder>assets</folder>
<folder>controllers</folder>
@ -90,12 +90,12 @@
</files>
<languages folder="admin">
<language tag="en-GB">language/en-GB/en-GB.com_demo.ini</language>
<language tag="en-GB">language/en-GB/en-GB.com_demo.ini</language>
<language tag="en-GB">language/en-GB/en-GB.com_demo.sys.ini</language>
</languages>
</administration>
<updateservers>
<server type="extension" enabled="1" element="com_demo" name="Demo">https://raw.githubusercontent.com/namibia/demo-joomla-3-component/master/demo_updateserver.xml</server>
</administration>
<updateservers>
<server type="extension" enabled="1" element="com_demo" name="Demo">https://raw.githubusercontent.com/namibia/demo-joomla-3-component/master/demo_updateserver.xml</server>
</updateservers>
</extension>