Asher Rose Fox (
rosefox) wrote in
style_system2011-07-30 11:16 am
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
![[community profile]](https://www.dreamwidth.org/img/silk/identity/community.png)
Entry tags:
[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.
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.
no subject
no subject
no subject
no subject
no subject
set text_view_tags = "classifications";
set text_sidebox_tags_title = "classifications";
But for the top menu, I just hardcoded it:
function Page::lay_print_header_links() {
# Menu start
"""<DIV class="header-menu"><ul>""";
# Journal Navigation (Previous page, Next Page)
var string prev_link = $this->lay_get_previous_url();
var string prev_title = $this->lay_get_previous_title();
var string next_link = $this->lay_get_next_url();
var string next_title = $this->lay_get_next_title();
print ($prev_link==""?"":"<li><a href=\"$prev_link\">$prev_title</a></li>");
print ($next_link==""?"":"<li><a href=\"$next_link\">$next_title</a></li>");
# Standard Journal Pages (Recent, Archive, Friends, Userinfo)
"""<li><a href="http://rosefox.dreamwidth.org/">fresh cuttings</a></li><li><a href="http://rosefox.dreamwidth.org/calendar">growing cycle</a></li><li><a href="http://rosefox.dreamwidth.org/read">other gardeners</a></li><li><a href="http://rosefox.dreamwidth.org/tag">classifications</a></li><li><a href="http://www.dreamwidth.org/tools/memories.bml?user=rosefox">pressed flowers</a></li><li><a href="http://rosefox.dreamwidth.org/profile">genus</a></li><li><a href="http://rosejasperfox.com">RoseJasperFox.com</a></li>""";
Sorry for like a zillion comments. Apparently once one turns "don't autoformat" on one cannot turn it off again. *files a bug report*
no subject
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 :)
no subject
If you send me a message with your email address I'm happy to email you the full text of my layer so you can compare it with yours.