Miscellaneous

What's a permalink and how do I make one for my items?

Scenario:
"I've seen it around but I'm not sure what a permalink is. What does it do and how can I get one?"

Solution:
A permalink is exactly what it sounds like - a permanent link to a specific page. Permalinks are most commonly used for individual blog items or articles so they can be easily forwarded to other people and bookmarked.

Every Nucleus item has an itemid which uniquely identifies it from other items. Your permalink for items is generated by using the Nucleus variable <%itemlink%> in either your skin or template. Just put the following code where you want your link to appear:

<a href="<%itemlink%>">Permalink</a>

Original forum thread (thanks, roel!):
http://forum.nucleuscms.org/viewtopic.php?t=12037

section: Miscellaneous | submitted by Leng on 2006.May.06 | 14467 views

item rate
Total votes: 32 - Rating: 5.63

Please tell us how useful this answer was to you (0 = useless, 10 = very very helpful):

10