Jack McDade - 05 January 2009 12:02 PM
I love this idea! I’ve been using Ryan Irelan’s edit button technique, but this is far superior if i can get it to work. So far, i see no edit icons. Does it only work in a certain implementation style?
Can you search the HTML source for “editor-button” ?
Most likely they are getting added, but the default CSS is putting them in a place where you can’t see them.
Which brings up a good point: The default CSS for these is only going to work in most situations. You may need to override it. Here’s one example, if the {exp:weblog:entries} tag is creating inline text nodes or something:
p.my-inline-entries .editor-button { display:inline; }
p.my-inline-entries .editor-button { position:static; }
Another common example would be that your {exp:weblog:entries} tag starts at the very left of the page, so the buttons are actually getting pushed out of sight. For that you could try:
.editor-button a { left:4px; }
.container .editor-button a { left:-16px; } /* now nreset it for buttons inside #container which has a left margin */