[personal profile] london_fan posting in [community profile] style_system
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!
This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

Profile

Dreamwidth style system discussion

April 2025

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

Style Credit

Expand Cut Tags

No cut tags
Page generated May. 30th, 2025 08:48 am
Powered by Dreamwidth Studios