?

Log in

No account? Create an account
[theme] - [flexisquares] - [page summaries and skiplinks] - S2 Layers [entries|archive|friends|userinfo]
S2 Layers

[ website | advanced customization ]
[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

Links
[Links:| how to post tags page ]
[affiliated communities| fblayers ]

[theme] - [flexisquares] - [page summaries and skiplinks] [Aug. 24th, 2005|07:13 pm]
S2 Layers

s2layers

[kunzite1]
[Tags|, , , , , , , , , , , , ]

set tags_aware         = true;                # disable auto-magic tags display in entries
set text_meta_location = "Current Location:"; # add colon
set text_meta_mood     = "Current Mood:";     # add colon
set text_meta_music    = "Current Music:";    # add colon

# create class with text vars and helper functions
class MyUtils {
  # text labels for nav and summary sidebar boxes
  var string text_nav_recent;
  var string text_nav_friends;
  var string text_nav_year;
  var string text_nav_month;
  var string text_nav_day;
  var string text_nav_entry;
  var string text_summary_recent;
  var string text_summary_friends;
  var string text_summary_day;
  var string text_summary_entry;
  var string text_meta_tags_header;
  var string text_meta_tags_joiner;
  var string text_meta_tags_sep;

  # count number of comments in a thread
  function num_comments_in_thread(Comment[] cs) : int;

  # set text vars
  function setup();
}

# count number of comments in a thread
function MyUtils::num_comments_in_thread(Comment[] cs) : int {
  var int count = size $cs;
  foreach var Comment c ($cs) {
    if(size $c.replies) {
      $count = $count + $this->num_comments_in_thread($c.replies);
    }
  }
  return $count;
}

# set text vars
function MyUtils::setup() {
  $.text_nav_recent       = "Recent Nav";
  $.text_nav_friends      = "Friends Nav";
  $.text_nav_year         = "Year Nav";
  $.text_nav_month        = "Month Nav";
  $.text_nav_day          = "Day Nav";
  $.text_nav_entry        = "Entry Nav";
  $.text_summary_recent   = "Recent Summary";
  $.text_summary_friends  = "Friends Summary";
  $.text_summary_day      = "Day Summary";
  $.text_summary_entry    = "Entry Summary";
  $.text_meta_tags_header = "Current Tags";
  $.text_meta_tags_joiner = ":";
  $.text_meta_tags_sep    = ", ";
}

function print_sidebar_box(string title, string body) {
  # disable silly unordered list-ness of sidebar boxes
  print safe """
  <div class="sbarheader">
    <div class="sbartitle">$title</div>
  </div>
  <div class="sbarbody">$body</div>""";
}

function Page::print_custom_head() {
# add css to now non-silly sidebar boxes
"""
<style type="text/css">
.sbartitle {
  text-align:       left;
  padding:          5px 0px 5px 5px;
  border:           1px solid $*border_color;
  background-color: $*sidebar_header_bgcolor; 
  margin-bottom:    10px;
  margin-top:       10px;
}
</style>
""";
}

# convert linklist to something that will fit non-silly sidebar boxes
function print_sidebar_linklist() {
  var Page   p      = get_page();
  var string return = "";
  if (size $p.linklist <= 0) {
    return;
  } elseif (not $*linklist_support) {
    return;
  }
   
  var bool section_open = false;

  $return = "<ul>\n";

  foreach var UserLink l ($p.linklist) {
    if ($l.title) {
      if ($l.is_heading) {
        if ($section_open) {
          $return = $return + "</ul>\n";
        }
        $return = $return + """<li>$l.title</li>\n<ul>""";
        $section_open = true;
      } else {
        $return = $return + """<li><a href="$l.url">$l.title</a></li>\n""";
      }
    }
  }
  $return = $return + "</ul>";
  print_sidebar_box($*text_sidebar_links, $return);
}

# convert calendar to something that will fit non-silly sidebar boxes
function print_sidebar_calendar() {
  var string    calendar = "";
  var Page      p        = get_page();
  var YearMonth m        = $p->get_latest_month();
  var string    month    = $m->month_format();
  if($m.has_entries) {
    $calendar = """<table class="calendar" align="center">\n""";
    var YearWeek[] theWeeks = $m.weeks;
    foreach var YearWeek w ($theWeeks) {
      $calendar = $calendar + "  <tr>\n";
      var YearDay[] theDays = $w.days;
      var int pre = $w.pre_empty;
      if($pre > 0) {
        $calendar = $calendar + """    <td colspan="$pre" valign="top">&nbsp;</td>""";
      }
      foreach var YearDay d ($theDays) {
        if ($d.num_entries) {
          $calendar = $calendar + """    <td valign="top" class="sbarcalendarposts"><a href="$d.url">$d.day</a></td>""";
        } else {
          $calendar = $calendar + """    <td valign="top" class="sbarcalendar">$d.day</td>""";
        }
      }
      $calendar = $calendar + "  </tr>\n";
    }
    $calendar = $calendar + "</table>";
  }
  if ($calendar != "") { 
    print_sidebar_box($month, $calendar);
  }
}

# reorder sidebar and insert custom one
function print_sidebar() {
  var string header  = "";
  var string content = "";
  var Page   p       = get_page();

  # first sidebar box
  sidebar_order($*sidebar_order_1);

  # nav/summary sidebar box
  $p->lay_print_footer();

  # second sidebar box
  sidebar_order($*sidebar_order_2);

  # third sidebar box
  sidebar_order($*sidebar_order_3);

  # fourth sidebar box
  sidebar_order($*sidebar_order_4);

  # custom sidebar box
  $header  = "Frank";
  $content = """<a href="http://www.livejournal.com/"><img src="http://stat.livejournal.com/img/goat-normal.gif" alt="Frank" title="Frank" border="0" /></a>""";
  print_sidebar_box($header, $content);
}

# hijack this function to create navigation and summary sidebar boxes specific to RecentPage and FriendsPage
# use properties for skiplinks instead of hard-coding earlier/later
function RecentPage::lay_print_footer() {
  # set up text vars
  var MyUtils mu = new MyUtils;
  $mu->setup();

  # navigation
  var string back      = "";
  var string forward   = "";
  var string navheader = $.view == "recent" ? $mu.text_nav_recent : $mu.text_nav_friends;

  if ($.nav.forward_url != "" or $.nav.backward_url != "") {
    if ($.nav.backward_url != "") {
      $back = """<a href="$.nav.backward_url">""" + get_plural_phrase($.nav.backward_count, "text_skiplinks_back") + "</a>";
    }
    if ($back != "") {
      $back = $back + "<br />";
    }
    if ($.nav.forward_url != "") {
      $forward = """<a href="$.nav.forward_url">""" + get_plural_phrase($.nav.forward_count, "text_skiplinks_forward") + "</a>";
    }
  }
  if($back != "" or $forward != "") {
    print_sidebar_box($navheader, "$back$forward");
  }

  # summary
  var string sumheader = $.view == "recent" ? $mu.text_summary_recent : $mu.text_summary_friends;
  var string return    = "";
  var string datetime  = "";
  var string id        = "";
  var string journal   = "";
  var string poster    = "";
  var string subject   = "";

  foreach var Entry e ($.entries) {
    $datetime = $e.time->date_format() + " " + $e.time->time_format();
    $id       = "$e.journal.username$e.itemid";
    $journal  = $e.journal->as_string();
    $poster   = $e.poster->as_string();
    $subject  = $e.subject != "" ? $e->plain_subject() : $*text_nosubject;
    if ($e.security) {
      $return = $return + "$e.security_icon";
    }
    if($.view == "friends") {
      $return = $return + $poster;
      if($e.poster.username != $e.journal.username) {
        $return = $return + " posting in $journal";
      }
      $return = $return + " &mdash;";
    }
    $return = $return + """ <a href="#$id" title="$datetime">$subject</a>""";
    $return = $return + """ [+<a href="$e.permalink_url">$e.comments.count</a>]<br />""";          
  }
  print_sidebar_box($sumheader, $return);
}

# hijack this function to create navigation sidebar boxe specific to YearPage
function YearPage::lay_print_footer() {
# set up text vars
var MyUtils mu = new MyUtils;
$mu->setup();

# navigation
var string navheader = $mu.text_nav_year;
var int index        = 0;
var int currentYearIndex;
var string prev      = "";
var int    prev_year;
var string fore      = "";
var int    fore_year;
var string prevText = "";
var string foreText = "";
foreach var YearYear y ($.years) {
  if ($y.displayed) {
    $currentYearIndex = $index;
  }
  $index = $index + 1;
}
if($currentYearIndex > 0){
  $prev     = $.journal->base_url() + "/$.years[$currentYearIndex - 1].year";
  $prevText = $.years[$currentYearIndex - 1].year + "";
}
if($currentYearIndex < (size $.years) - 1){
  $fore     = $.journal->base_url() + "/$.years[$currentYearIndex + 1].year";
  $foreText = $.years[$currentYearIndex + 1].year + "";
}
  var string{}  nav;

  if($prev != "") {
    $prev = """<a href="$prev">$prevText</a>""";
  }

  if($fore != "") {
    $prev = $prev + "<br />";
    $fore = """<a href="$fore">$foreText</a>""";
  }

  if($prev != "" or $fore != "") {
    print_sidebar_box($navheader, "$prev$fore");
  }
}

# hijack this function to create navigation sidebar boxe specific to MonthPage
function MonthPage::lay_print_footer() {
  # set up text vars
  var MyUtils mu = new MyUtils;
  $mu->setup();

  # navigation
  var string    navheader  = $mu.text_nav_month;
  var string    prev       = $.prev_url;
  var string    fore       = $.next_url;
  var string    prevText   = $.prev_date->date_format("%%month%% %%yyyy%%");
  var string    foreText   = $.next_date->date_format("%%month%% %%yyyy%%");

  if($prev != "") {
    $prev = """<a href="$prev">$prevText</a>""";
  }

  if($fore != "") {
    $prev = $prev + "<br />";
    $fore = """<a href="$fore">$foreText</a>""";
  }

  if($prev != "" or $fore != "") {
    print_sidebar_box($navheader, "$prev$fore");
  }
}

# hijack this function to create navigation and summary sidebar boxes specific to DayPage
function DayPage::lay_print_footer() {
  # set up text vars
  var MyUtils mu = new MyUtils;
  $mu->setup();

  # navigation
  var string    navheader  = $mu.text_nav_day;
  var string    prev       = $.prev_url;
  var string    fore       = $.next_url;
  var string    prevText   = $*text_day_prev != "" ? $*text_day_prev : $.prev_date->date_format("long_day");
  var string    foreText   = $*text_day_next != "" ? $*text_day_next : $.next_date->date_format("long_day");

  if($prev != "") {
    $prev = """<a href="$prev">$prevText</a>""";
  }

  if($fore != "") {
    $prev = $prev + "<br />";
    $fore = """<a href="$fore">$foreText</a>""";
  }

  if($prev != "" or $fore != "") {
    print_sidebar_box($navheader, "$prev$fore");
  }

  # summary
  var string sumheader = $mu.text_summary_day;
  var string return    = "";
  var string datetime  = "";
  var string id        = "";
  var string journal   = "";
  var string poster    = "";
  var string subject   = "";

  foreach var Entry e ($.entries) {
    $datetime = $e.time->date_format() + " " + $e.time->time_format();
    $id       = "$e.journal.username$e.itemid";
    $journal  = $e.journal->as_string();
    $poster   = $e.poster->as_string();
    $subject  = $e.subject != "" ? $e->plain_subject() : $*text_nosubject;
    if ($e.security) {
      $return = $return + "$e.security_icon";
    }
    if($.view == "friends") {
      $return = $return + $poster;
      if($e.poster.username != $e.journal.username) {
        $return = $return + " posting in $journal";
      }
      $return = $return + " &mdash;";
    }
    $return = $return + """ <a href="#$id" title="$datetime">$subject</a>""";
    $return = $return + """ [+<a href="$e.permalink_url">$e.comments.count</a>]<br />""";          
  }
  print_sidebar_box($sumheader, $return);
}

# hijack this function to create navigation and summary sidebar boxes specific to EntryPage
function EntryPage::lay_print_footer() {
  # set up text vars
  var MyUtils mu = new MyUtils;
  $mu->setup();

  # navigation
  var string    navheader  = $mu.text_nav_entry;
  var Link      nav_prev   = $.entry->get_link("nav_prev");
  var Link      nav_next   = $.entry->get_link("nav_next");
  var string    prev       = $nav_prev.url;
  var string    fore       = $nav_next.url;
  var string    prevText   = $nav_prev.caption;
  var string    foreText   = $nav_next.caption;

  if($prev != "") {
    $prev = """<a href="$prev">$prevText</a>""";
  }

  if($fore != "") {
    $prev = $prev + "<br />";
    $fore = """<a href="$fore">$foreText</a>""";
  }

  if($prev != "" or $fore != "") {
    print_sidebar_box($navheader, "$prev$fore");
  }

  # summary
  var string  sumheader = $mu.text_summary_entry;
  var string  summary   = "";
  var int     replies   = 0;
  var string  subject   = "";
  var string  poster    = "";
  foreach var Comment c ($.comments) {
    $replies = $mu->num_comments_in_thread($c.replies);
    $subject = $c.subject != "" ? $c.subject : """<i class="nosubject">$*text_nosubject</i>""";
    $poster  = defined $c.poster ? $c.poster->as_string() : $*text_poster_anonymous;
    $summary = $summary + """$poster <a href="#$c.dom_id">$subject</a> [+<a href="$c.thread_url">$replies</a>]<br />\n""";
  }
  if($summary != "") {
    print_sidebar_box($sumheader, $summary);
  }
}

function Page::print() {
  var string title = $this->title();
  var string page_width = " style=\"width: 620px;\"";
    	
  """
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title>$title</title>""";
  if ($*external_stylesheet and $*external_stylesheet_url !="")   	{
    println """<link rel="stylesheet" type="text/css"  media='screen' href="$*external_stylesheet_url" />""";
  } elseif ($*external_stylesheet) {
    println """<link rel='stylesheet' type='text/css' media='screen' href='$.stylesheet_url' />""";
  } else {
    println """<style type="text/css">"""; print_stylesheet(); "</style>";
  }
  $this->print_head();
  """
    </head>
    <body>
      <a name="top"></a>
      <div class="headerimage"></div>
      <div id="content"$page_width>
  """;
  $this->lay_print_header();
  if ($*show_sidebar) {
    """
       <div id="sidebar">""";
  print_sidebar();
  """
         <div class="clear"> </div>
       </div>
  """;
  }
  """
       <div id="maincontent">""";
  $this->print_body();	
  "
       </div>";
  "
      </div>
    </body>
  </html>";
}

function Entry::print_metadata() {
  var MyUtils mu = new MyUtils;
  var string tags_header         = $mu.text_meta_tags_header;
  var string tags_joiner         = $mu.text_meta_tags_joiner;
  var string tags_sep            = $mu.text_meta_tags_sep;
  var bool   show_edit_tags_link = false;          # set to true if you want edit tags link as tags header

  var string currents_open       = """<div class="clear">&nbsp;</div>
            <div class="clear">&nbsp;</div>
	    <div class="currents">"""; # html for opening of currents container
  var string currents_close      = """</div>"""; # html for closing of currents container

  var bool   loc_after_mood      = $mu.meta_loc_after_mood;
  var bool   vanilla_loc         = $mu.meta_loc_vanilla;

  # if you need data specific to the meta to be in these strings you'll have to set those individually down further
  # one example is provided with meta_label_open
  var string meta_label_open     = "";               # html for opening of metadata label
  var string meta_label_close    = """</strong> """; # html for closing of metadata label
  var string meta_val_open       = "";               # html for opening of metadata value
  var string meta_val_close      = """</div>""";     # html for closing of metadata value

  var Link   edit_tags           = $this->get_link("edit_tags"); # helper var to see if remote user can edit tags

  if ((size $.metadata > 0) or ((size $.tags > 0) and ($*tags_aware))){
    if($.metadata{"mood"} == "" and $loc_after_mood) {
      # if we're printing loc after mood but we have no mood, set loc_after_mood to false
      $loc_after_mood = false;
    }
    var string currents = "";             # make var for printing
    $currents           = $currents_open; # add opening of currents container

    foreach var string k ($.metadata){  # step thru metadata
      var string text = $k;             # set text to key
      var string val  = $.metadata{$k}; # get val
      if ($k == "mood"){                # if mood, set text to mood property
        $text = $*text_meta_mood;
        if (defined $.mood_icon){       # if we have a mood icon, add it
          var Image i = $.mood_icon;
          $val        = """<img src="$i.url" width="$i.width" height="$i.height" align="middle" alt="$val" title="$val" /> $val""";
        }
      } 
      elseif ($k == "music") {          # if music, set text to music property
        $text = $*text_meta_music;
      } elseif ($k == "location") {     # if location, set text to loc variable
        $text = $*text_meta_location;
        if($vanilla_loc) {              # if vanilla loc, striphtml() it
          $val = striphtml($val);
        }
      }
      if(not ($k == "location" and $loc_after_mood)) {
        # if we're doing loc right now and printing loc after mood, skip it
        # if we're doing loc right now and we're not printing loc after mood, print it now
        # if we're not doing loc right now, print this piece of meta

        # in this layout, each piece of meta gets its own class
        $meta_label_open  = """<div class="current$k"><strong>""";

        # add the meta
        $currents = $currents + """$meta_label_open$text$meta_label_close$meta_val_open$val$meta_val_close""";
      }

      if($k == "mood" and $loc_after_mood) {
        # if we just now did the mood and we're printing loc after mood, print the loc
        $k    = "location";           # set meta key to "location"
        $text = $*text_meta_location; # set text to loc variable
        $val  = $.metadata{$k};       # get val

        # if we have a loc, do stuff
        if($val != "") {

          # if vanilla loc, striphtml() it
          if($vanilla_loc) {
            $val = striphtml($val);
          }

          # in this layout, each piece of meta gets its own class
          $meta_label_open  = """<div class="current$k"><strong>""";

          # add the meta
          $currents         = $currents + """$meta_label_open$text$meta_label_close$meta_val_open$val$meta_val_close""";
        }
      }
    }
    if ((size $.tags > 0) and $*tags_aware) {
      var string k      = "tags"; # set key to "tags"

      # in this layout, each piece of meta gets its own class
      $meta_label_open  = """<div class="current$k"><strong>""";

      var int tcount = 0; # set counter for tags
      if($edit_tags.url != "" and $show_edit_tags_link) { # if remote user can edit tags, let's give them a link
        $tags_header = """<a href="$edit_tags.url">$tags_header</a>""";
      }

      # add text, open val container
      $currents = $currents + """$meta_label_open$tags_header$tags_joiner$meta_label_close$meta_val_open""";

      # build tag list
      foreach var Tag t ($.tags) {
        $currents = $currents + """<a rel="tag" href="$t.url">$t.name</a>""";
        $tcount++;

        # if we haven't hit the last tag, add a separator
        if ($tcount != size $.tags) { $currents = $currents + $tags_sep; }
      }

      # close val container
      $currents = $currents + $meta_val_close;
    }

    # close currents container
    $currents = $currents + $currents_close;

    # print currents
    println "$currents";
  }
}

# fix userpic and posterinfo issues
# link userpic to allpics page
# alter printing of comment links
# add linkbar next to comments
# use variable for link seperator
function print_entry(Page p, Entry e, Color bgcolor, Color fgcolor) {	      	
  # calculate id string for link references
  # corresponds to the links in the page summaries
  var string id = "$e.journal.username$e.itemid";
  $id = " id=\"$id\" name=\"$id\"";

  # Linkbar
  $e->print_linkbar();

  # Userpic
  var string userpic = "";
  if(defined $e.userpic) {
    $userpic = """<a href="$*SITEROOT/allpics.bml?user=$e.poster.username"><img src="$e.userpic.url" alt="$e.poster.name" title="$e.poster.name" border="0" /></a>""";
  }

  # Poster
  var string poster        = "<a href=\"" + $e.poster->base_url() + "\" style=\"color: $fgcolor;\">$e.poster.username</a>";

  # Journal
  var string journal       = "<a href=\"" + $e.journal->base_url() + "\" style=\"color: $fgcolor;\">$e.journal.username</a>";

  # Build Poster info
  var string posterinfo    = $poster;
  if($e.poster.username != $e.journal.username) {
    $posterinfo = $posterinfo + """<br />\n<span style="color: $fgcolor;">[$journal]</span>""";
  }
  $posterinfo = """<div style="text-align: center;">$posterinfo</div>""";

  # Show userpic?
  var bool   show_userpic  = $*show_entry_userpic and $userpic != "";

  # Is this Friends or Entry view?
  var bool   friends_entry = ($p.view == "friends") or ($p.view == "entry");

  # Is this a Community's Recent view?
  var bool   recent_comm   = ($p.view == "recent") and ($p.journal_type == "C");

  # If we're showing the userpic, is it Friends view or Entry view or a Community's Recent view?
  # If so, let's add a div around the userpic
  if (($show_userpic) and (not($friends_entry or $recent_comm))) {
    $userpic = """<div class="userpic">$userpic</div>""";
  }	
  print """
  <div class="subcontent"$id>
  """;				

  # Print userpic and Poster info, if applicable
  if (($p.view == "recent" and $p.journal_type != "C" ) or $p.view == "day") {
    print $userpic;
  } else {
    if ($p.view == "recent" and $p.journal_type == "C" ) {
      """<div class="userpicfriends" style="background-color: $*entry_bgcolor;">""";
    } else {
      """<div class="userpicfriends" style="background-color: $bgcolor;">""";
    }			
    print $userpic;
				
    # Poster
    if ($friends_entry or $recent_comm) {
      if($userpic != "") {
        print "<br />";
      }
      print """<div style="text-align:center;">$posterinfo</div>""";
    }
    if ($recent_comm) {
      print "</div>";
    }	
    if ($p.view != "recent" and $p.view != "day") {
      print """</div>""";
    }
  }

  # Date, time, subject
  var string time = "";
  $time = $time + """ @ """;
  $time = $time + $e.time->time_format("short");
  var string date = "";
  $date = $date + $e.time->date_format("long_day");
  """
    <div class="datesubject">
      <div class="date">$date$time</div>
      <div class="subject">""";
  if ($e.security != "") {
    $e.security_icon->print();
  }
  var string subject = ($e.subject != "") ? $e.subject : """<i class="nosubject">$*text_nosubject</i>""";
  """
        $subject &nbsp;
      </div>
    </div>
    <div class="entry">
      <div class="entry_text">"""; $e->print_text(); """</div> """;

  # Currents
  $e->print_metadata();

  # Linkbar and Comments
  """
      <div class="clear">&nbsp;</div>
      <div class="comments">""";
  var Link     link       = new Link;
  var string{} link_text  = {"edit_entry" => $*text_edit, "edit_tags" => "Edit Tags", "mem_add" => $*text_memories};
  var string{} link_url   = {"" => ""};
  var string   link_print = "";
  var string   link_sep   = " | ";
  foreach var string link_key ($e.link_keyseq) {
    $link                 = $e->get_link($link_key);
    $link_text{$link_key} = $link_text{$link_key} != "" ? $link_text{$link_key} : $link.caption;
    $link_url{$link_key}  = $link.url;
    if($link_url{$link_key} != "") {
      $link_print = $link_print + """<a href="$link_url{$link_key}">$link_text{$link_key}</a>""";
      $link_print = $link_print + $link_sep;
    }
  }
  if($link_print != "") {
    if(not($e.comments.enabled)) {
      $link_print = $link_print->substr(0, $link_print->length() - $link_sep->length());
    }
  }
  print $link_print;
  $e.comments->print(); 
  """
      </div>
    </div>
  </div>
  
  <div class="separator"></div>
  <div class="clear">&nbsp;</div>""";
}
linkReply

Comments:
[User Picture]From: anchan218
2005-08-25 04:46 am (UTC)
I'd suggest overriding RecentPage::print_body() as well so you can put the footer back in since you've hijacked RecentPage::lay_print_footer(). (I personally like having it on the Recent/Friends page...)

Oh, and if you have things you don't like about the official flexisquares layout, there is a suggestion page in s2flexisquares. cyrnelle has been busy lately, but I think she's still working on getting an updated version and is very open to suggestions as she's not a programmer by trade.
(Reply) (Thread)
[User Picture]From: kunzite1
2005-08-25 04:48 am (UTC)

i've actually placed the skiplinks into a sidebar box that is printed with the summary.

also, i've been unimpressed with the code pushes on the lj recently. they've put a lot of broken layouts live and a lot of other broken things live before testing things. i keep asking myself and others "isn't that what the test server is for?"

several of the issues that i have with this layout are addressed in this entry. otherwise, it's a pretty spiffy layout. :D
(Reply) (Parent) (Thread)
[User Picture]From: anchan218
2005-08-25 04:57 am (UTC)
I looked for it, but I must have glanced over it because of the sheer amount of coding (plus my lack of sleep).

I'll see if I can point cyrnelle here so she can integrate your suggestions into her updated version, but actually I think quite a bit of it (not all though) has been already incorporated into it...)
(Reply) (Parent) (Thread)
[User Picture]From: kunzite1
2005-08-25 05:00 am (UTC)

yeah. my method is also hacky. so, if it's actually integrated into the layout layer, it'll be less hacky. yes. :D
(Reply) (Parent) (Thread)
[User Picture]From: anchan218
2005-08-25 05:16 am (UTC)
Well, as I said earlier the page summary is already in the new version. Some of your other suggestions aren't, though. I can't wait till the new version becomes official 'cause I cringe every time I have to write a hack for print_entry in its current form. @_@
(Reply) (Parent) (Thread)
[User Picture]From: kunzite1
2005-08-25 05:26 am (UTC)

the thing with the sidebar boxes still confuses me. do we know why they have to be lists? i find it kinda odd and difficult to make custom boxes and make the content fit right. or maybe it's just me.
(Reply) (Parent) (Thread)
[User Picture]From: anchan218
2005-08-25 03:15 pm (UTC)
To be honest, no idea. It probably made sense when the layout was beginning, but has sense evolved past the usefulness of it. I've pointed out your suggestions (including having the boxes be lists). It may take cyrnelle awhile to take a look, though. She recently got a job and hasn't been posting much on LJ since then.
(Reply) (Parent) (Thread)
[User Picture]From: anchan218
2005-08-25 03:27 pm (UTC)
I just realized you haven't x-posted a lot of your flexisquares codings to s2flexisquares. Would it be possible for you to do so?
(Reply) (Parent) (Thread) (Expand)
[User Picture]From: hermintage
2005-09-13 10:05 pm (UTC)
Hrm, I'm going to play around with this in Boxer, though you know my coding skills are inherently bad. Thus don't be surprised if you get poked by me on AIM later.
(Reply) (Thread)
[User Picture]From: kunzite1
2005-09-13 10:06 pm (UTC)

this is specifically for flexisquares, but if you can port it to boxer, go right ahead.
(Reply) (Parent) (Thread)
[User Picture]From: hermintage
2005-09-13 11:01 pm (UTC)
*nods* am going to attempt. :)
(Reply) (Parent) (Thread)
[User Picture]From: kunzite1
2005-09-13 11:02 pm (UTC)

awesome. :D
(Reply) (Parent) (Thread)
[User Picture]From: hermintage
2005-09-13 11:06 pm (UTC)
you will not get the last comment. mwahahahaha.
(Reply) (Parent) (Thread)
[User Picture]From: kunzite1
2005-09-13 11:07 pm (UTC)

I WILL TOO.
(Reply) (Parent) (Thread)
[User Picture]From: hermintage
2005-09-14 01:37 am (UTC)
Hmmmm....nope!

*runs away*

^_____^
(Reply) (Parent) (Thread) (Expand)