href
to only return the href-value itself.
Unfortunately, this works only when specifying an page alias or id like:
Code: Select all
{cms_selflink href='page-xyz'}
Code: Select all
{cms_selflink alias='page-xyz' returnhref='1'}
{cms_selflink dir='next' returnhref='1'}
Code: Select all
<a class="next" href="{cms_selflink dir='next' returnhref='1'}">
<span>NEXT</span></a>
Code: Select all
.next {display: block; width: 16px; height: 16px; background: url(next.jpg);}
.next span {display: none;}
I would try to implement this myself. How can I contribute to core tags?