You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Background:
I have a tags taxonomy assigned to a collection news.
According to the document, when accessing /news/tags, the template resources/views/news/tags/index should be used.
But in my observation, it keeps resolving to resources/views/tags/index instead.
If I remove template and term_template from tags.yml, everything works as expected. However, these two configurations will revert to tags.index and tags.show after editing the configuration from Control Panel.
How to reproduce
Create collection news
Create taxonomy tags
Assign tags to collection news
Create 4 templates
news/tags/index.antlers.html
news/tags/show.antlers.html
tags/index.antlers.html
tags/show.antlers.html
Visit /news/tags and /tags you will notice they are using the same template tags/index
Remove template and term_template from tags.yml
Visit the URLs, and you will notice they are using different templates as per the document.
Edit Tags from the Control Panel
template and term_template in tags.yml will revert to initial values.
You can repeat step 5
Logs
No response
Environment
EnvironmentApplication Name: XXXLaravel Version: 10.41.0PHP Version: 8.3.1Composer Version: 2.6.6Environment: localDebug Mode: ENABLEDURL: local.myawesomeapp.comMaintenance Mode: OFFCacheConfig: NOT CACHEDEvents: NOT CACHEDRoutes: NOT CACHEDViews: CACHEDDriversBroadcasting: logCache: statamicDatabase: mysqlLogs: stack / singleMail: sesQueue: databaseSession: databaseLivewireLivewire: v3.3.5StatamicAddons: 0Antlers: runtimeStache Watcher: EnabledStatic Caching: DisabledVersion: 4.46.0 PRO
Installation
Existing Laravel app
Antlers Parser
Runtime (default)
Additional details
No response
The text was updated successfully, but these errors were encountered:
Bug description
Background:
I have a
tags
taxonomy assigned to a collectionnews
.According to the document, when accessing
/news/tags
, the templateresources/views/news/tags/index
should be used.But in my observation, it keeps resolving to
resources/views/tags/index
instead.If I remove
template
andterm_template
fromtags.yml
, everything works as expected. However, these two configurations will revert totags.index
andtags.show
after editing the configuration from Control Panel.How to reproduce
news
tags
tags
to collectionnews
/news/tags
and/tags
you will notice they are using the same templatetags/index
template
andterm_template
fromtags.yml
template
andterm_template
intags.yml
will revert to initial values.Logs
No response
Environment
Installation
Existing Laravel app
Antlers Parser
Runtime (default)
Additional details
No response
The text was updated successfully, but these errors were encountered: