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)

[personal profile] rosefox 2009-05-13 12:25 am (UTC)(link)
On a "leave comments" page I see this in your code:

<div class="entryHeader"><span class="entryHeaderDate">January 31st 2008 @ 09:41 pm</span><span class="entryHeaderSubject"> - prologue.</span></div>

On the permalink, I see this:

<div class="entryHeader"><span class="entryHeaderDate">January 31st 2008 @ 09:41 pm</span><span class="entryHeaderSubject"></span></div>

So I would look at the code creating the entryHeader class and make sure it puts the subject in there.

It does look like the subject is showing up in the page title of the permalink view:

<title>adrenaline - prologue.</title>

So maybe you can copy and paste the variable from the title into the entrySubject area.
baggyeyes: A part is missing (Missing)

Try this?

[personal profile] baggyeyes 2009-05-13 01:49 am (UTC)(link)
You can try Action Reaction Layers, which has already been altered to work on other servers. I think your particular layout is on there.

Or, you can try your hand at Tabula Rasa, which, after you've made adjustments and changes through the Wizard, makes its own CSS. You can see the CSS through 'View Source' in any browser, copy it and edit in your favorite editor.
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.