Patricia Lawson
Hello,
I am using Joomla 5.25 with snippets 9.1.6 PRO.
I use snippets to publish our release notes. I have at least 20 releases on the site presently. All work except for the latest one. I published a new release yesterday, but I have several problems with it.
I usually open the previous month's 'master' article - it has the date of the release - and simply Save As Copy. Then I change the name and update the Publish and Create date to the date of the Release. I do the same for any articles that require new relese notes. I did this yesterday, but when I look at the notes on the front end for March 26, 2025 I only see the code for the snippet. I have looked at this from many angles and cannot figure out what is wrong...
More detail:
The snippet code is this:
{articles category="Release Notes" title="!this:id"} {if publish_up = this:publish_up AND !introtext}
[title]
[version-number label="true"]
[text]
[fixed label="true"] [changed label="true"] [added label="true"] [deprecated label="true"] [removed label="true"]
{/if} {/articles}
I have a 'master' article for the release that has the snippet in it and the Title is the release date. The snippet code looks like this: {snippet alias="Release Notes Master Code"}
When I insert the snippet using the snippet button in the editor, I get this code:
{snippet alias="release-notes-master-code"}
however, when I run the second snippet the result is the Title shows, and then the snippet code:
March 26, 2025
{articles category="Release Notes" title="!this:id"} {if publish_up = this:publish_up AND !introtext}
[title]
[version-number label="true"]
[text]
[fixed label="true"] [changed label="true"] [added label="true"] [deprecated label="true"] [removed label="true"]
{/if} {/articles}
When I change the snippet code to {snippet alias="Release Notes Master Code"} I do not get the snippet code, I only see the Title.
However, no associated articles are brought in. I have double checked the articles all have the same category and that the Publish Date is identical to the 'master' article.
(In a different article I use {snippet alias="release-notes-master-code"} - the same as the one the snippet button creates, and this one works. All associated articles are brought in, I don't see code. It is from June 2024...)
I don't know why I am seeing these inconsistencies. I have caching turned OFF for this site, and still clean cache regularly.
For access to my dev site:
Confidential information:
(hidden)
I would appreciate any insights you have. I am supposed to have these release notes out... yesterday...
Pat