Publish an Articles Category Module.
Add a Module Class Suffix -- yourclasshere -- in the appropriate pane under Advanced.
View the module in the front end.
Select it with Firebug.
<div class="moduletable yourclasshere">
...
</div>
<div class="moduletable">
...
</div>
J! 3.5.1, Protostar
I don't know where to look for this in the code.
The class suffix does not show up on either the module or the UL.
This is what is displayed:
<div class="moduletable">
<h3> ... </h3>
<ul class="category-module">
...
</ul>
</div>
```<hr /><sub>This comment was created with the <a href="https://github.com/joomla/jissues">J!Tracker Application</a> at <a href="https://issues.joomla.org/tracker/joomla-cms/9879">issues.joomla.org/joomla-cms/9879</a>.</sub>
I created a new Article Category module and the class suffix shows up; in both places.
The other one was created with an older version of Joomla. Perhaps something got lost in the upgrade.
Sorry for the bother.
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2016-04-12 22:05:38 |
Closed_By | ⇒ | brianteeman |
Actually, the plot thickens. I have two Article Category modules with the same name. One displays on selected pages in Position-2, the other on other pages in Position-7. If I change the name of one -- even just with a non-breaking space at the end -- the class suffix displays on both the DIV and the UL.
I am surprised that I was allowed to make two modules with the same name.
Having two modules with the same is very common so no problem there
I think you are hitting a different problem that is already on the tracker
On 12 April 2016 at 23:10, Robert G Mears notifications@github.com wrote:
Actually, the plot thickens. I have two Article Category modules with the
same name. One displays on selected pages in Position-2, the other on other
pages in Position-7. If I change the name of one -- even just with a
non-breaking space at the end -- the class suffix displays on both the DIV
and the UL.I am surprised that I was allowed to make two modules with the same name.
This comment was created with the J!Tracker Application
https://github.com/joomla/jissues at issues.joomla.org/joomla-cms/9879
https://issues.joomla.org/tracker/joomla-cms/9879.—
You are receiving this because you modified the open/close state.
Reply to this email directly or view it on GitHub
#9879 (comment)
Brian Teeman
Co-founder Joomla! and OpenSourceMatters Inc.
http://brian.teeman.net/
Not sure what to say Brian. I copied one module (4 times) and each subsequent module did not have the class suffix in it. I checked one of the copies regarding the code. I re-opened the copies and added the suffix. Now it's all working; whether I add a non-breaking space or not to the title.
IIRC the div is dependant on the module chrome being used
The UL does get the classsfx (or at least should do according to the code)
https://github.com/joomla/joomla-cms/blob/staging/modules/mod_articles_category/tmpl/default.php#L13
On 12 April 2016 at 21:46, Robert G Mears notifications@github.com wrote:
Brian Teeman
Co-founder Joomla! and OpenSourceMatters Inc.
http://brian.teeman.net/