From 86ce642e995d4f5a8e1da16bf661d627cffe50f7 Mon Sep 17 00:00:00 2001 From: Roland Dalmulder Date: Fri, 23 Dec 2016 22:36:59 +0100 Subject: [PATCH] Add a menu XML Fixed a typo --- .../components/com_foo/language/en-GB/en-GB.com_foo.ini | 4 ++++ component/components/com_foo/views/foo/tmpl/default.xml | 8 ++++++++ plugin/language/en-GB/en-GB.plg_system_foo.ini | 2 +- 3 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 component/components/com_foo/views/foo/tmpl/default.xml diff --git a/component/components/com_foo/language/en-GB/en-GB.com_foo.ini b/component/components/com_foo/language/en-GB/en-GB.com_foo.ini index 2ecefdcb..8f0c8ffc 100644 --- a/component/components/com_foo/language/en-GB/en-GB.com_foo.ini +++ b/component/components/com_foo/language/en-GB/en-GB.com_foo.ini @@ -1,3 +1,7 @@ ; ; Foo language file ; + +; Menu options +COM_FOO_FOO="Foo page" +COM_FOO_FOO_DESC_MENU="Show the foo page" \ No newline at end of file diff --git a/component/components/com_foo/views/foo/tmpl/default.xml b/component/components/com_foo/views/foo/tmpl/default.xml new file mode 100644 index 00000000..d6c66624 --- /dev/null +++ b/component/components/com_foo/views/foo/tmpl/default.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/plugin/language/en-GB/en-GB.plg_system_foo.ini b/plugin/language/en-GB/en-GB.plg_system_foo.ini index 969a9b5e..6ef26f13 100644 --- a/plugin/language/en-GB/en-GB.plg_system_foo.ini +++ b/plugin/language/en-GB/en-GB.plg_system_foo.ini @@ -3,6 +3,6 @@ ; PLG_FOO="[PROJECT_NAME]" -PLG_FOO_XML_DESCRIPTION="Foo Module" +PLG_FOO_XML_DESCRIPTION="Foo Plugin" PLG_FOO_SAMPLE_LABEL="Sample parameter" PLG_FOO_SAMPLE_DESCRIPTION="Sample description" \ No newline at end of file