Create a "Custom" module, on tab "Advanced" set "Module Tag" to "article" or else... save
ok (tag is "article")
not ok (tag is always "div", no matter what is selected)
tested local and on demo-site
Feature request: Sometimes it would be great to select "none"
(to insert scribts on special sites...)
Labels |
Added:
?
|
tested on demo-site (protostar) position-1
local position in index.php: <jdoc:include type="modules" name="script" style="none" />
As is said it is dependant on the module chrome. In your test you are using "none" and if you look at the code you will see that means the tag is not being used (as you have discovered ) https://github.com/joomla/joomla-cms/blob/staging/templates/system/html/modules.php
in modules.php comment on line 13: none (output raw module content)
but output is with div-tags:
no surrounding div-tags should be created, right? Should be raw?
sorry, forgot github-code-tags...
output is with div-tags:
<div>
module content
</div>
That is because the div is coming from the module itself.
This really should be discussed on the forum as its not a bug
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-05-06 22:56:05 |
Closed_By | ⇒ | brianteeman |
This will be dependant on the module chrome being used for the relevant position in your template.
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/15859.