?

Log in

No account? Create an account

Previous Entry | Next Entry

Bug Fix: Customising Text

  • Sep. 3rd, 2006 at 12:54 AM
To the writers of the original layout code...

Almost all the text for the layout is customisable through the generic Edit Journal Style GUI interface (such as text for comments, etc.) except the text for the Permalink at the bottom of entries and the Reply, Parent and Thread text on comments. These can be made to appear along with the other customisations by putting:

property use text_permalink ;
property use text_comment_reply ;
property use text_comment_parent ;
property use text_comment_thread ;

into propgroup text { }.

Comments

( 15 comments — Leave a comment )
raiinstorm
Sep. 3rd, 2006 08:07 am (UTC)
I just started playing around with expressive. I LOVEEEE your layout. You ever going to make your layers public? :)
nimoloth
Sep. 3rd, 2006 08:14 am (UTC)
I don't know if I could (or indeed how to) - there's a lot of hacking and tweaking going on! I had to make some new css classes and I've used a lot of custom css with a base of Urban Green.

But if you want to know about anything I've done, just ask. I can send you any code or css too if you want.

[It's also not perfect yet - I can't think of a way to get rid of the green bit at the bottom of the page yet and I can't find a satisfactory way to change the colour of the links at the bottom of entries.]
raiinstorm
Sep. 3rd, 2006 08:18 am (UTC)
Well I'm really curious as to how you applied a background image for the sidebar. This one I mean http://pics.livejournal.com/nimoloth/pic/000954wa
oh and how did you get the header image to be behind your links so that you can have the image as well as the links ontop of the image?

Hmm I'm sure I'll have more questions as I begin to play with expressive more next weekend when I have a free moment.
nimoloth
Sep. 3rd, 2006 08:37 am (UTC)
For info on the sidebar images, see my next post in the community - I've explained it there. The header image is changed with:

#header-inner {
background-image: url("http://pics.livejournal.com/nimoloth/pic/000901k0");
position: relative ;
height: 201px;
}

This is automatically behind the header text because it's a lower level div element. You don't necessarily need to specify the height, but I was having positioning issues with mine *g*.
airemay
Sep. 3rd, 2006 05:00 pm (UTC)
Did you change the text for the Comment/# of comments, link, memories, etc section? I've been playing with various ids but I can't change them!

Your layout looks fantastic! I love the background gradiant!
nimoloth
Sep. 3rd, 2006 07:48 pm (UTC)
Thanks!

Those can be altered in the usual GUI interface with Expressive: here, under the Text tab.
airemay
Sep. 3rd, 2006 09:40 pm (UTC)
I think I misworded my question lol. When I said change, I meant change the font size and possibly font color.
nimoloth
Sep. 3rd, 2006 10:50 pm (UTC)
Ah, I see! These can be altered a bit with a combination of the following:

.asset-meta-comments
.asset-meta-no-comments
.asset-meta-list

(The last also controls the date and time appearance to some extent). However, I can't get them to change colour no matter what I do. I think you could certainly change the size and maybe font face with these though.
kunzite1
Sep. 3rd, 2006 07:17 pm (UTC)
the set command should not be included so that language layers can translate it appropriately.
nimoloth
Sep. 3rd, 2006 07:49 pm (UTC)
Oh, OK! I guess it won't do any harm to leave the default blank anyway.
kunzite1
Sep. 3rd, 2006 07:59 pm (UTC)
if you set it to a null string like this:
set text_permalink = "";

it'll make it so there's no text. if the command is simply not included in the layout layer, the value set in an i18nc layer or the core layer will be used.

it's kinda interesting how it all works.

bottom line: you are correct that property use text_permalink; should be added to the layout layer.

whee!
nimoloth
Sep. 3rd, 2006 08:04 pm (UTC)
And another three I've just found and added to the post!
kunzite1
Sep. 3rd, 2006 08:10 pm (UTC)
excellent!
dusik_test
Jul. 26th, 2007 04:15 am (UTC)
sorry, didn't understand
where and how do i put in these codes? or do i have to have a paid account for this? again.. /sigh/
nimoloth
Jul. 26th, 2007 10:50 am (UTC)
Re: sorry, didn't understand
All this bit of code does is make a GUI interface in the journal modification area to allow to to change the colours of the entry footer links and stuff without having to hard code them in a layer. They may even have been implemented by the developers now, I don't know.

It's code that needs to be inserted into a particular part of the base theme - it sounds to me like it not what you're looking for though. What is it exactly that you want to do?
( 15 comments — Leave a comment )

Latest Month

March 2016
S M T W T F S
  12345
6789101112
13141516171819
20212223242526
2728293031  

S2 Help Communities

Tags

Powered by LiveJournal.com
Designed by chasethestars