[personal profile] betterdazed posting in [community profile] style_system
Hi all!

I'm a recent LJ refugee, and I'm hoping for some help in fixing my layout.

I was able to port the layout I'm currently using in my LJ, [livejournal.com profile] betterdazed, which is based on Flexible Squares. However in LJ, the post subjects in my Recent Entries and Friends are permalinks. Right now in DW, the subjects are just texts.

Does anyone have suggestions on how to fix this? Many thanks!

Date: 2010-09-10 05:51 pm (UTC)
snakeling: Statue of the Minoan Snake Goddess (Default)
From: [personal profile] snakeling
I assume you made a theme layer. Can you add this line near the top: layerinfo "source_viewable" = 1;

Then post the link to your theme layer here, and I'll see what I can do :)

Date: 2010-09-10 06:23 pm (UTC)
snakeling: Statue of the Minoan Snake Goddess (Default)
From: [personal profile] snakeling
In your code, in print_entry, find this bit of code:
            <div class="subject">""";
                if ($e.security != "")
                {
                    $e.security_icon->print();
                }
                """
                $e.subject  
            </div>

Replace it by this one:
            <div class="subject">""";
                if ($e.security != "")
                {
                    $e.security_icon->print();
                }
                if ($p.view != "entry") {
                   print $e->formatted_subject({"class"=>"subj-link"});"  ";
                }
                else { print "$e.subject  "; }
            """</div>

Save and compile. Reload. It should work now :)

Date: 2011-12-27 10:14 am (UTC)
krissasaur: (Super Junior ♦ Eunhyuk ▬▬▬ Heart)
From: [personal profile] krissasaur
I love you. just sayin'

Date: 2012-01-07 11:02 pm (UTC)
intermezzo: (Default)
From: [personal profile] intermezzo
Soooo helpful. Thanks! \o/

Profile

Dreamwidth style system discussion

July 2025

S M T W T F S
  123 45
6789101112
13141516171819
20212223242526
2728293031  

Page Summary

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 10th, 2025 04:32 am
Powered by Dreamwidth Studios