![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
![[community profile]](https://www.dreamwidth.org/img/silk/identity/community.png)
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
chagrined for solving this and showing me how to break up link strings!
<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]](https://www.dreamwidth.org/img/silk/identity/user.png)
no subject
Date: 2012-11-14 08:46 pm (UTC)no subject
Date: 2012-11-14 09:10 pm (UTC)I hope my code isn't too confusing, since it's basically a tweak of a highly customized Flexible Squares layout with the current LJ code, reverted with an older version that is compatible with DW.
Here you go!
(I'll delete the link as soon as you'll have grabbed the file if you don't mind?)
no subject
Date: 2012-11-14 09:25 pm (UTC)http://www.sendspace.com/file/b9epyh
tested on my own journal and it works fine
no subject
Date: 2012-11-14 09:36 pm (UTC)THANK YOU VERY MUCH FOR YOUR HELP!!!
no subject
Date: 2012-11-14 09:38 pm (UTC)glad to help. I'll delete the link too since you wanted to delete the other one when done.
no subject
Date: 2012-11-14 09:49 pm (UTC)Thank you! I think I removed all "incriminating" code tweaks like link lists only viewable to the owner, but better safe than sorry! ;)