adrenaline: (brock's paradise)
adrenaline ([personal profile] adrenaline) wrote in [community profile] style_system2009-05-12 05:18 pm

imported layout - subject not showing

hello! i have imported an s2 smooth sailing layout & for some reason the subject won't show up when you click either the permalink or the read comments link. i've tried putting "font-size: 25pt !important;" to the entryheadersubject line in my layer but it's not working. anyone have a clue why it's not showing up? thanks :D
rosefox: Green books on library shelves. (Default)

Re: Try this?

[personal profile] rosefox 2009-05-13 02:27 am (UTC)(link)
Yep, Smooth Sailing is there. [personal profile] adrenaline, if you still have trouble with it, looks like the relevant block of code is function Entry::lay_print_subjectline, specifically this bit:

          """</span><span class="entryHeaderSubject">""";
          if ($p.view=="entry") {
            print (defined $.security_icon?" - $.security_icon":"");
          }else{
            print (defined $.security_icon or $.subject!=""?" - ":"")+(defined $.security_icon?"$.security_icon ":"")+($.subject==""?"":"$.subject");
          }
          """</span>""";


That specifically says that if you're in "entry" view, it only prints the security icon and no subject. Change it to

          """</span><span class="entryHeaderSubject">""";
          print (defined $.security_icon or $.subject!=""?" - ":"")+(defined $.security_icon?"$.security_icon ":"")+($.subject==""?"":"$.subject");
          """</span>""";


and you should be all set.
rosefox: Green books on library shelves. (Default)

Re: Try this?

[personal profile] rosefox 2009-05-13 03:11 am (UTC)(link)
Glad to help!

Re: Try this?

[personal profile] matopia 2011-04-03 09:07 pm (UTC)(link)
Hi,

Don't know if you're still responding to comments here, but I thought I would give it a try. I've replaced this section of coding with what you said, but my subjects are still not showing up.

Do you by chance know why that might be? A huge thanks in advance.