My issue now is wanting to add the new tags button to this group. I tried a variation of what was used on the others, but it doesn't work for some reason; I get an "Unknown local variable" error on
$edittags
.This is my code, with the offending section in bold:
var Link editlink = $e->get_link("edit_entry");
if (defined $editlink and $editlink.url!="") { """<a href="$editlink.url"><img src="http://stat.livejournal.com/palimg/component/btn_edit.gif/pcffffffecdcdcd" alt="edit entry"></a>"""; }
""" """;
var Link tagslink = $e->get_link("edit_tags");
if (defined $tagslink and $tagslink.url!="") { """<a href="$edittags.url"><img src="http://stat.livejournal.com/palimg/component/btn_tags.gif/pcffffffecdcdcd" alt="edit tags"></a>"""; }
""" """;
var Link memlink = $e->get_link("mem_add");
if (defined $memlink and $memlink.url!="") { """<a href="$memlink.url"><img src="http://stat.livejournal.com/palimg/component/btn_memories.gif/paffffffecdcdcd" alt="add to memories"></a>"""; }
Anyone have any ideas? Sorry if this has been posted before... I did look, I promise. :-)
EDIT: Um, yeah. Me = first class idiot who doesn't pay attention to her variables. For the record,
$edittags.url
should have been $tagslink.url
, the same name as every other reference to that variable in the statement. :-\ Fixed, and hopefully this post will be good for helping someone else.