"share" on the entry linkbar, the comment linkbar?

Jun 05, 2011 05:17

I've just started using my first Bloggish layout and I was able to switch all the linkbar links to images, however, the Share one just takes me to the top of the page instead of launching the Share javascript/dialog box ( Read more... )

theme layers, comment links:images, comment links

Leave a comment

Comments 6

av8rmike June 6 2011, 12:43:54 UTC
You have to be careful when using layer codes that are more than a few years old; the base layers have gone through a lot of changes, and the old code won't necessarily still work. However, there aren't too many changes to Bloggish. Try changing this part of the Entry::print_linkbar() function:

if (defined $link) {
"""$sep $text """;
}
to this:

if (defined $link) {
"""$sep $text """;
$link->print_raw();
}

Reply

dragynville June 6 2011, 21:47:04 UTC
Thank you! :D That worked PERFECTLY!

I have another question, about the CSS for my layout. I'll ask it here, but let me know if I should make a new post instead.

I'm using this layout and layer by gossymer and I want to change it to display the usernames below the userpics on the friends page. However, I don't know what to change/modify/add/remove on that stylesheet, I can't tell what specific part she changed from grrliz's original. And I asked her about this but, instead of answering, it seems she deleted my comment.

Reply

av8rmike June 7 2011, 14:44:02 UTC
No problem. There's some weird settings in .entry .poster{} that I don't know what it's supposed to look like, but I can tell you what to change.
This:
.entry .poster {
position: relative;
padding: 0px;
padding-bottom: 4px;
padding-top: 4px !important;
top: -248px;
left: -420px;
font-size: 12pt;
width: 500px;
font-weight: normal !important;
text-align: left;
border: 0px solid #dfdfdf;
border-top: 0px solid #dfdfdf;
}

to this:

.entry .poster {
padding: 0px;
padding-bottom: 4px;
padding-top: 4px !important;
font-size: 12pt;
width: 200px;
font-weight: normal !important;
text-align: left;
border: 0px solid #dfdfdf;
border-top: 0px solid #dfdfdf;
word-wrap: normal;
}

Reply

dragynville June 7 2011, 23:23:26 UTC
Thank you again, you're wonderful! :D That's working and I've gotten it to display in a block (instead of a line) using this code. But how do I get rid of the word "in" and all the extra space? (I tried the rest of the code on that page, but I must be putting it in the wrong place because it didn't work.)

Right now it looks like:

username

in

community

Also, entry text (sometimes the entry time) is overlapping into the names, how do I fix that?

Reply


Leave a comment

Up