Quasidan (quasidan) wrote in stylehelp,
Quasidan
quasidan
stylehelp

Adding "Edit" and "Add to memories" links to entries

dataangel wanted to learn how to add "Edit" and "Add to memories" links to her entries (link). She tried using %%itemid%%, which used to be correct. However, now the correct variable is %%itemargs%%. %%itemargs%% turns into something like: journal=quasidan&itemid=276721. The URLs you'd link to in LASTN_EVENT or whereever look like this:

Add to memories: http://www.livejournal.com/tools/memadd.bml?%%itemargs%%
Edit: http://www.livejournal.com/editjournal_do.bml?%%itemargs%%
Add to topic directory: http://www.livejournal.com/topics/additem.bml?%%itemargs%%
Tell a friend: http://www.livejournal.com/tools/tellafriend.bml?%%itemargs%%
Go back one entry: http://www.livejournal.com/go.bml?dir=prev&%%itemargs%%
Go forward one entry: http://www.livejournal.com/go.bml?dir=next&%%itemargs%%
  • Post a new comment

    Error

    default userpic

    Your IP address will be recorded 

  • 1 comment