Hi, a strange thing has just happened... let me know: do Purity III AUTOupdates itself?
I was working on an override (mod_article_category) default.php, I created override, seen the 2nd file created, working on default. I was trying to show article list with title-of-category shown only once, so I tried to put some code between the two foreach cycles.
<ul class="category-module<?php echo $moduleclass_sfx; ?>">
<?php if ($grouped) : ?>
<?php foreach ($list as $group_name => $group) : ?>
<li>
<ul>
<?php foreach ($group as $item) : ?>
<li>
<?php if ($params->get('link_titles') == 1) : ?>
I did not succeeded, so I went in the backup file and copy&paste the orginal code as you can see above, in the original position. I didn't check or look at the code, I just make a quick copy/paste. Then save, and go in website to "F5" the page.
Imagine my surprise when I see IT WAS WORKING !
I go back in code, and seen this:
<ul class="category-module<?php echo $moduleclass_sfx; ?>">
<?php if ($grouped) : ?>
<?php foreach ($list as $group_name => $group) : ?>
<li>
<div class="mod-articles-category-group"><?php echo JText::_($group_name); ?></div>
<ul>
<?php foreach ($group as $item) : ?>
I SWEAR: I don't know where that DIV CLASS come from. I've checked twice in my backups ... it was not there, before.
Am I crazy, or is there a reasonable answer?
Thank you.