Joomla's discover functionality adds, without installing, Templates to Extensions table with enabled=1, which makes its Module Positions visible in Module Manager, while the template has not been installed.
Create a new front-end template with some example module positions:
/templates/example/templateDetails.xml
<?xml version="1.0" encoding="utf-8"?>
<extension version="3.6" type="template" client="site">
<name>EXamPLe</name>
<version>1.0</version>
<creationDate>4 November 2016</creationDate>
<author>Peter Martin</author>
<positions>
<position>aaa</position>
<position>bbb</position>
<position>ccc</position>
</positions>
</extension>
In Joomla back-end: Extensions > Manage > Discover
Do not install the template.
Go to Extensions > Modules > create /edit a module,
and notice that the Module Positions of the Template that is not installed, are available.
Module Positions in Templates that are not installed, should not be available in the Module Manager
Joomla's "Discover" adds discovered (but uninstalled) Templates to the Extension database table, and sets enabled = 1.
The enabled field is "1" by default. IMHO that should be "0" by default.
Labels |
Added:
?
|
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2016-11-04 14:16:01 |
Closed_By | ⇒ | pe7er |
I've created a PR for this #12753 so I'll close this issue.