[personal profile] london_fan
Hi there, yet another newbie at DW here. I recently imported my highly customized Flexible Squares layout here with layout and theme layers. I changed around the bits that needed tweaking, but I got stuck on one thing. On LJ I have customized code for all icons (the 100x100 ones, not the 16x16 user icons in front of the user name) to link to the respective user's icons page. The link for entry user icons looks as follows:

<a href="$*SITEROOT/allpics.bml?user=$e.poster.username">

And this is the link for the user icons in comments:

<a href="$*SITEROOT/allpics.bml?user=$comment.poster.username">

Due to the different structure of the link to users' icons pages on DW, those links don't work here, but I'm stuck figuring out how to change them. For entries it seems to work just fine to replace the whole link with "icons", because DW will pull up the respective "username.dreamwidth.org/" part all on its own, but that doesn't work for the comment user pictures. How can I create a link to comment posters' icons pages?

Any help here would be highly appreciated.

ETA: Many thanks to [personal profile] chagrined for solving this and showing me how to break up link strings!

Comment-width.

Jul. 1st, 2011 03:01 pm
tyger: Espeon (pokémon - espeon)
[personal profile] tyger
I've been trying to fix my comment-width - one of the major problems I find with the custom comment pages is the comments squidge up really really quickly - but even setting width with ems doesn't help if you're on a browser with a different window size.

So, mainly: is there a way where I can set comment width = post width?

I'd prefer to keep it that simple - having auto-resizing layouts is also good - but if it's impossible that's good to know, too.

Profile

Dreamwidth style system discussion

April 2025

S M T W T F S
  12345
6 78910 1112
13 141516171819
2021 2223242526
27282930   

Syndicate

RSS Atom

Style Credit

Expand Cut Tags

No cut tags
Page generated Jun. 3rd, 2025 06:34 am
Powered by Dreamwidth Studios