I can't figure out how to link to an archive view of the current year using the cms:link tag.
I know there are ways to use Couch tags and variables within Couch tags to provide dynamic content, but I often become befuddled when trying to do so. Besides this specific problem, I'm wondering if anyone can help me to understand the general protocols for using Couch tags within the parameters of Couch tags.
- Code: Select all
<a href="<cms:link masterpage='myTemplate.php' year='<cms:date format='Y'/>' />">Latest Archive</a>
I know there are ways to use Couch tags and variables within Couch tags to provide dynamic content, but I often become befuddled when trying to do so. Besides this specific problem, I'm wondering if anyone can help me to understand the general protocols for using Couch tags within the parameters of Couch tags.