Stupid Question Warning

Mar 09, 2005 14:09

I can't seem to find any mention of adding a button/link under the component boxes in the tutorials.

Am I not looking in the right part of the tutorials? Or using the wrong term? Could someone please shove me in the right direction?

Thanks.

~edit~
I was hoping for this ~>
Read more... )

Leave a comment

Comments 6

ninjamonkeyspy March 9 2005, 11:45:07 UTC
You mean at the *very* bottom of your components? Or just under any component?

The easiest way to do it, either way, is to edit a component, and just add whatever goes beneath the component after "print_comp_footer();"

For instance:

function print_profile(Page p) {
    print_comp_header($*profile_text);
    """""";
    if (defined $p.journal.default_pic) {
    """

    ... )

Reply

cookiegirlie March 9 2005, 11:49:12 UTC
Yes, at the very bottom... under all the other stuff.

Thank you.

Was I looking for the wrong thing? I really am trying to understand, but I'm not much of a geekgrrl.

Reply

ninjamonkeyspy March 10 2005, 00:05:54 UTC
If you want it beneath your components, simply do what I recommended above underneath the LAST component displayed on your page.

If you want it at the very bottom of your entire page, you'll have to edit the page_layout function, which is much more complicated.

Reply


xluvinfairiesx March 9 2005, 16:53:36 UTC
question for you.. can you give me the code that you used to put your header on the top? Thanks..

Reply


ninjamonkeyspy March 12 2005, 13:04:32 UTC
I just noticed the thanks... well... you're welcome! Also, kunzite1 posted in my community (ljstyleoverride) a few days ago a very helpful comment. Change any instance of the following URLs in your S2 code to the system variables that represent them. It makes your layer smaller and makes the code transferrable to other sites like Deadjournal:

Copied without end-slashes from an uber-helpful comment from kunzite1:That is, http://www.livejournal.com/update.bml would become $*SITEROOT/update.bml. Remember to include the forward slashes after the variable name as usual to indicate any subfolders.

Reply

cookiegirlie March 12 2005, 14:21:45 UTC
Oh my gosh.

Thank you so much, sweetie. If I can wrap my small non-geek brain around that, I'll give it a go.

Reply


Leave a comment

Up