Should there also be descriptions within the layer code, or a screenshot or something, to show what the finished LJ would look like? People can't just go look unless that person's currently using the code.
ok my layer is totally huge.. can i post a link to it for easier acess instead of a huge entry?
well... do the conversion and post it behind a cut... doesnt matter if its huge.
if you link to it, that layer could disappear in the future and therefore not be available.
if it is an entry, its not going anywhere. :)
If we feel willing to share our layers but don't necessarily want to go through and change the colors for each different feature, is that a requirement?
Yeah I'm lazy, sorry. lol But I wouldn't mind sharing at all.
i dont think thats an issue. just makes it easier to read.
i just thought of a new thingy to add tho... stuffs about the subject line of the post.
[layout name] - [layer type] - [mini description]
You need to remind people in your tutorial to take off the autoformatting of entries. It makes entries way bigger than necessary.
*tutorial should read "intro post".
For code that overrides official code (from a existing layout, or from the core), it would be helpful to mark code that's been inserted/modified, and code that was active in the original but has been commented out.
This is a great idea, btw. I've got a bunch of stuff from Variable Flow to post, I'll probably backdate all but the last one, so as not to completely blow away people's friends pages ... is that allowed?
i like the idea of commenting out stuffs that is being altered. but only if it makes sense if its like correcting a bug or something.
if its a complete change to how something works, dont bother.
hope that makes sense.
re: backdating... *shrug* ... backdate them so it looks ok in the comm journal if you must.
i enjoy blasting people's friends pages tho... ^_^
Kunzite, ya there? Its Mutant Enemy. I'm changing my layout to something simplier and I need the code to put a header at the top of my LJ.
I'm going to be using Variable Flow or The Boxer layout.
Can you help me?
i am be here... mighta been better to leave a comment on my guestbook entry over at my journal...
but i keep forgetting that its not easily accessible from my current layout...
anyway! ... *moves on to real answer* ... i can help ya tomorrow with it after i get home from hanging at my friends' house. ^_^
adds HTML entities for spaces and adds <br /> at the end of each line. Do you know of some website that wouldn't do that?
The thing with this is, if you surround the text with <pre> tags instead of <code>, you will get too much whitespace. One linebreak because of the <br>-eak tag and another due to the <pre>-formatted tag.
Just curious, but is using...
...an acceptable way of posting code? I believe this allows you to post whatever code you want within the opening and closing textarea tags, because nothing inside the textbox can be formatted. The only rules you would need then is how wide or tall the textareas can be, and whether textwrapping should be turned on or not. (I also recommend setting the "readonly" parameter to 1 as I did in the sample below so people can't accidentally edit the code in the box.)
In the sample below, I used <textarea style="width:100%;" rows="10" readonly="1" >. Notice how you can't edit the text inside the box, it's as wide as the coments area, and it's only 10 rows tall.
This is a very basic S2 user layer for the Component style that edits the user profile component by linking the user's default icon to their "allpics.bml" page instead of their journal. It uses system variables so the code will work for anyone, and it will apply to other journals using the "?style=mine" parameter at the end of the URL.
I can't find your post about the system you came up with for naming variables. I think it was in component_help, but it's not on tutorials page... I want to write a tutorial for this comm. :)
for those of us who are making these tutorials, i have come up with a nifty convention for variables.
the first part (
k1) is something that abbreviates your username.
the second part (
M) is something that abbreviates what the tutorial does.
the third part (
title) is the name that you woulda used in the first place.
and you come up with something like
k1Mtitle ... yayness. ^_^link
so... you can be
Are there any other variables like this, for instance a user journal variable? For instance, if I want to link to my friends page using my paid account's third-level domain URL, I'd want something like:
I'm guessing that doesn't exist, but is there anything better than linking to either $*SITEROOT/users/$p.journal.username/ or "http://"+$p.journal.username+".livejournal.com"; ?
what you could do is the following:
when in a
var string journal_base = $.journal->base_url() + "/";
if you are currently at
s will be in the same format.
s are like that.
s are like that.
when in something like
var string journal_base = $e.journal->base_url() + "/";
var string poster_base = $e.poster->base_url() + "/";
there is currently no way to be able to tell if a user is paid or not. might be a nifty thing to post to suggestions
but you should check the memories to see if it's been posted already.
what i would like to see if that happens is a new member variable added to
. like a
Is it OK to ask a general question about a style problem? There doesn't seem to be any community for Boxer layout, and although xevinx
is on my flist he's rather busy lately and I feel bad spamming him.
I just wanted to know before I spammed this community if asking general style questions was OK!
I dont have a layer to post but only a simple question I was hoping to get some help on.
I'm currently using the Opal style, based on ignited
's original layout and tweaked like mad to my likings. I have a question though and I haven't been able to find if there is an answer either here or in opal_help
My question was, is there a possible way to change the color of just one box on the side of my journal? If you take a peek over @ my journal you'll see all the sideboxes. Take for instance the one with the poetry in it. It's a little difficult to see and I was wondering if it's possible to simply change the color of the font or the background of *just that box*? I've tried playing around with it but haven't had any luck. Any help would be greatly appreciated, thanks!
this comm isn't for questions like this.
enclose the stuffs in a div or a span or whatever and use css to alter the color.