rosefox: Green books on library shelves. (Default)
Asher Rose Fox ([personal profile] rosefox) wrote in [community profile] style_system2011-07-30 11:16 am

[SOLVED] Updating old LJ-sourced custom styles with the crosspost link

I have a custom style I ported over from LJ. I'd like to update it to show crosspost links. Is there a crosspost link equivalent to $.metadata{"mood"} in the below code? Or is there somewhere else I should be looking for it?


if ($.metadata{"mood"}!="") { """<li><span class="entryMetadata-label">$*text_meta_mood:</span><span class="entryMetadata-content">"""; print $.metadata{"mood"}+$.mood_icon; """</span></li><br />"""; }



Many thanks for any assistance!

EDIT: Found it: "xpost". Now hacking away at my style.
faith_girl222: (Default)

[personal profile] faith_girl222 2011-12-28 02:26 am (UTC)(link)
i'm also interestd in this - are you saying i just replace "mood" in that string with "xpost" and plug it into the custom layer code?
faith_girl222: (Default)

[personal profile] faith_girl222 2011-12-28 03:35 am (UTC)(link)
thanks!
faith_girl222: (Default)

[personal profile] faith_girl222 2011-12-28 04:05 am (UTC)(link)
looking at your DW it looks like you were able to rename the link to the tags page in the menu bar - how did you figure out the correct property name? i've tried a few different things, and they all throw a compile error.
faith_girl222: (Default)

[personal profile] faith_girl222 2011-12-28 05:57 am (UTC)(link)
when i plug "set text_view_tags = "[name]";" in it gives a compile error.

i've gone in and hardcoded the menu, but the auto-generated "tags" link keeps showing up anyway.

thanks! and i am happy to receieve a zillion eroneous comments if it helps me fix this :)