sarea: (wise shopping decision [akscully])
sarea ([personal profile] sarea) wrote2004-09-29 11:26 am

?

I'd like to customize my layout a bit more, but the S2 layers/styles documentation on LJ goes a bit (a bit, a lot, who's counting?) over my head. Does anyone know of a good tutorial I could use?

It doesn't seem to matter that the DT is what brought on my D/G love ... I kind of want to see it end Ginny/Tom. Is that wrong? I have my reasons.

It's never pretty when I go to Overstock.com, but this time, I walked away with Sports Night (complete series!), Roswell S2 (I didn't even know it was out -- I'm such a bad fan), and Friday Night Lights, as well as some other books.

[identity profile] sarea-okelani.livejournal.com 2004-10-01 02:32 am (UTC)(link)
Ahhh -- actually, it would be cool to have the button. I will upload that to my own server. But what's the code to get that included with the others? Right now the code looks like this (I'm including a bunch of it because I'm not sure what's important...):

<td width="50%" align="right" valign="center">""";
# Then the entry related buttons

# The easiest way to do this, which will work for all
account types, is as follows, and will display
# actual buttons.
# If you'd like text instead of buttons, then remove the
following line in blue, decomment the lines in pink,
# and edit as you see fit. Note that using the print_linkbar
function will also add next and previous buttons
# to the
# Entry page (with comments), and I've reflected that in the
pink lines below.
"""<div class="entryComments"><span
style="white-space:nowrap;"><b>( <a href="$e.permalink_url"
class="commentLinks">$*text_permalink</a>
)<b></span></div>""";$e->print_linkbar();

# var Link prevlink = $e->get_link("nav_prev");
# if ($p.view=="entry" and defined $prevlink and
$prevlink.url!="") { """<a href="$prevlink.url">
# <img border='0' width="$prevlink.icon.width"
height="$prevlink.icon.height" alt=""
# src="$prevlink.icon.url" /></a>"""; }
# var Link editlink = $e->get_link("edit_entry");
# if (defined $editlink and $editlink.url!="") { """<a
href="$editlink.url"><img border='0' width="$editlink.icon.width"
height="$editlink.icon.height" alt="" src="$editlink.icon.url"
/></a>"""; }
# var Link memlink = $e->get_link("mem_add");
# if (defined $memlink and $memlink.url!="") { """<a
href="$memlink.url"><img border='0' width="$memlink.icon.width"
height="$memlink.icon.height" alt="" src="$memlink.icon.url"
/></a>"""; }
# var Link nextlink = $e->get_link("nav_next");
# if ($p.view=="entry" and defined $nextlink and
$nextlink.url!="") { """<a href="$nextlink.url"><img border='0'
width="$nextlink.icon.width" height="$nextlink.icon.height" alt=""
src="$nextlink.icon.url" /></a>"""; }
"""
</div>
</td>

And can I just say again how cool you are for helping a clueless gal like me? : )

[identity profile] sssexygirl.livejournal.com 2004-10-01 03:04 am (UTC)(link)
ok ill start at the same part you did all you gotta do is copy it how i have it.


<td width="40%" align ="right" valign="center">""";
        # Then the entry related buttons
        """<div class="entryComments">
          """;
          # The easiest way to do this, which will work for all account types, is as follows, and will display actual buttons.
          # I used to use the code following it, but ran into problems trying to figure out the logic to show the edit button on a community properly.
          # If you'd like text instead of buttons, then you can remove the following line in blue, decomment the lines in pink,
          # and edit as you see fit. Note that using the print_linkbar function will also add next and previous buttons when viewing using the EntryPage.
          #$e->print_linkbar();
         
          # Edit button : Only put up if the person viewing this entry wrote the entry
          # I check that by checking whether the person looking at the page is the owner of the page, and the entry's poster is the page's owner.
          # It puts Edit buttons on my entries, and entries that I post to communities that show on my friends page.
          if (viewer_is_owner() and $e.poster.username==$p.journal.username) { """
           <a href="$e.permalink_url" class="commentLinks">
            <img src="http://geocities.com/tatertati28/link.txt (http://geocities.com/tatertati28/link.txt)" alt="Link" style="border: 0;" /></a>
          <a href="http://www.livejournal.com/editjournal_do.bml?journal=$e.journal.username&itemid=$e.itemid (http://www.livejournal.com/editjournal_do.bml?journal=$e.journal.username&itemid=$e.itemid)">
               <img border="0" width="22" height="20" alt="Edit Entry" src="http://stat.livejournal.com/img/btn_edit.gif (http://stat.livejournal.com/img/btn_edit.gif)" /></a>
            """;
          }"""
         
          <a href="http://www.livejournal.com/tools/memadd.bml?journal=$e.journal.username&itemid=$e.itemid (http://www.livejournal.com/tools/memadd.bml?journal=$e.journal.username&itemid=$e.itemid)">
              <img border="0" width="22" height="20" alt="Add to Memories" src="http://stat.livejournal.com/img/btn_memories.gif (http://stat.livejournal.com/img/btn_memories.gif)" /></a>
          <a href="http://www.livejournal.com/tools/tellafriend.bml?journal=$e.journal.username&itemid=$e.itemid (http://www.livejournal.com/tools/tellafriend.bml?journal=$e.journal.username&itemid=$e.itemid)">
              <img border="0" width="22" height="20" alt="Tell A Friend" src="http://stat.livejournal.com/img/btn_tellfriend.gif (http://stat.livejournal.com/img/btn_tellfriend.gif)" /></a>""";

code cont.

[identity profile] sssexygirl.livejournal.com 2004-10-01 03:10 am (UTC)(link)
REST OF THE CODE PICKED UP WHERE THE LAST ENTRY LEFT OFF


      """
        </div>
      </td>
    </tr>
  </table></div>
  """;

  # End the entry component and put a spacer after it so that entry components are seperated.