Comment help needed by newbie!

Nov 18, 2006 21:45

Promise I have read all the memories regarding comments and can't find what I am looking for, one close to the solution but not exactly what I need!!! Soooooooo the Newbie needs help....
I really don't know why I tried to customize my journal as I really know almost nothing about html!!!

Anyway, a friend "gave" me the code to add a header and things were great (for a while).....

My problem/question is that on my entries and on my friends pages there is no icon (function) to reply (ie the pencil and paper), only to view comments!
I need that back (to say the least) and also is it possible to customize what "functions" are at the bottom of entries? Currently I have comment, back to top, memories and edit entry. I would like to have comment, reply, memories, track.
I have allowed comment from everyone and don't think I have ticked the "wrong boxes" anywhere else, but who knows maybe I have!!!

The code I have is behind the cut, any ideas on where I have gone wrong or how to fix this? I am sure it is very simple and I will be embarrassed when I get the answer but for now but I don't know how to rectify it!! ANY help GREATLY appreciated ♥ :)


layerinfo "type" = "theme";
layerinfo "name" = "rapunzel 50";
layerinfo "source_viewable"=1;

function print_stylesheet() {
"""

/* Cleaned CSS: */

body {
background-color: #4595B7;

background-image: url();
background-position: top left;
background-repeat: repeat;
background-attachment: fixed;

font-family: Trebuchet MS, sans-serif;
line-height: 17px;
font-size: 12px;
color: #e7eef0;
margin-top: 2px;
}

tr, td {
font-family: Trebuchet MS, sans-serif;;
font-size: 12px;
}

a {
color: #e0dfce;
text-decoration: none;
}

a:hover { text-decoration: underline;}

a:visited {
color: #e0dfce;
}

a:visited.link {
color: #5d5c50;
}

a:visited.subtitle {
color: #5d5c50;
}

a.nav, a:visited.nav {
text-decoration: none;
color: #ffffff;
}

a.link {
color: #4e5964;
}

a.dayentry, a:visited.dayentry {
color: #e0dfce;
text-decoration: none;
}

a.comments, a:visited.comments {
color: #e7eef0;
text-decoration: none;
font-weight: bold;
}

.nav1 {
background-color: #3a6a74;
padding-left: 16px;
padding-right: 16px;
padding-top: 16px;
padding-bottom: 16px;
margin-right: 2px;
}

.nav2 {
background-color: #335e67;
padding-left: 16px;
padding-right: 16px;
padding-top: 16px;
padding-bottom: 16px;
margin-right: 2px;
}

.nav3 {
background-color: #2d5159;
padding-left: 16px;
padding-right: 16px;
padding-top: 16px;
padding-bottom: 16px;
margin-right: 2px;
}

.nav4 {
background-color: #26454c;
padding-left: 16px;
padding-right: 16px;
padding-top: 16px;
padding-bottom: 16px;
margin-right: 2px;
}

.nav5 {
background-color: #1f393f;
padding-left: 16px;
padding-right: 16px;
padding-top: 16px;
padding-bottom: 16px;
margin-right: 2px;
}

.nav6 {
background-color: #192d31;
padding-left: 16px;
padding-right: 16px;
padding-top: 16px;
padding-bottom: 16px;
margin-right: 2px;
}

.nav7 {
background-color: #0b1517;
}

.info {
background-color: #e0dfce;
padding-left: 16px;
padding-right: 16px;
padding-top: 16px;
padding-bottom: 16px;
color: #908f78;
}

.title {
font-size: 18px;
font-weight: bold;
}

.subtitle {
font-size: 14px;
font-weight: bold;
color: #4e5964;
}

.new {
margin-top: 2px;
}

.entry {
background-color: #4f7b8a;

}

.newentry {
margin-top: 2px;
padding-left: 5px;
padding-top: 5px;
padding-right: 5px;
padding-bottom: 5px;
background-color: #4f7b8a;
}

.entrycontent {
padding-left: 20px;
padding-right: 20px;
padding-bottom: 6px;
padding-top: 6px;
line-height: 18px;
}

.date {
background-color: #e7eef0;
padding-top: 2px;
padding-bottom: 2px;
padding-right: 5px;
padding-left: 5px;
color: #4f7b8a;
}

.entryinfo, a.entryinfo, a:visited.entryinfo {
color: #4f7b8a;
}

.bgcolor {
background-color: #435754;
}

.icon {
margin-right: 10px;
}

.calendarborder {
background-color: #908f78;;
}

.calendarcontent {
padding-top: 2px;
padding-left: 1px;
padding-bottom: 2px;
padding-right: 2px;
font-family: Tahoma, sans-serif;
font-size: 8px;
color: #908f78;
}

.calendarcontentactive {
padding-top: 2px;
padding-left: 1px;
padding-bottom: 2px;
padding-right: 2px;
font-family: Tahoma, sans-serif;
font-size: 8px;
background-color: #908f78;
color: #e0dfce;
}

""";
}

function print_entry (Page p, Entry e, Color bgcolor, Color fgcolor, bool hide_text) {

var int entry_page_width = $*page_width;
var int entry_half_width = $entry_page_width / 2;
var bool userpic_view = false;
var string datetime;
$datetime = $e.time->date_format("med")+" at "
+ $e.time->time_format() + "";

if($p.view == "friends" or $p.journal_type == "C" or $e.poster.username != $e.journal.username or $*show_entry_userpic) {
$userpic_view = true;
}

if($p.view != "friends" and $*show_entry_userpic) {
$bgcolor = $*entry_bg;
$fgcolor = $*entry_font;
}

if($userpic_view) {
var string url = $e.journal->base_url();
var string url2 = $e.poster->base_url();
$entry_page_width = $*page_width - 122;
$entry_half_width = $entry_page_width / 2;

"""

""";
if($e.journal.username != $e.poster.username) {
""" $e.poster.username:
""";
}
"""
$e.journal.username
""";

if($e.userpic) {
"""

""";
}

"""

$e.journal.name


""";
}

"""

""";

if ($e.security) { print "
$e.security_icon"; }

"""



""";

print $e.time->date_format($*my_date);
print " " + $e.time->time_format();

"""

""";

if($e.subject) {
"""

$e.subject

""";
}

var string metadata;

if ($e.metadata) {
foreach var string k ($e.metadata) {
var string text = $k;
var string val = $e.metadata{$k};
if ($k == "mood") { $text = $*text_meta_mood; }
if ($k == "music") { $text = $*text_meta_music; }
if ($k == "mood" and defined $e.mood_icon) {
var Image i = $e.mood_icon;
$val = "
$val";
}
$metadata = $metadata + """$text: $val """;
}
}

if (not $hide_text) { print "
$e.text"; $e->print_metadata(); }

$e.comments->print();

var Link mem;
$mem = $e->get_link("mem_add");
if(defined $mem) {
"""




""";
}

var Link lnk;
$lnk = $e->get_link("edit_entry");

if(defined $lnk) {
"""


""";
}

var Link tell;
$tell = $e->get_link("tell_friend");
if(defined $tell) {
"""


""";
}

"""

""";

if($userpic_view) {
"""

""";
}
}

function Page::print_entry (Entry e)
{
print_entry($this, $e, null Color, null Color, false);
}

function FriendsPage::print_entry (Entry e) {
var Friend f = $.friends{$e.journal.username};
print_entry($this, $e, $f.bgcolor, $f.fgcolor, false);
}

function Page::print() {

var string title = $this->title();

"""

""";
$this->print_head();
"""
$title



""";

print_nav($this);

"""

$title

$.journal.name

""";

var bool linkl = false;
if(size $.linklist > 0) { $linkl = true; }
if(not $*linklist_support) { $linkl = false; }

var bool box = false;
if($.journal.default_pic) { $box = true; }
if($*show_mini_calendar) { $box = true; }
if($linkl) { $box = true; }

if($box) {
"""

""";

if($.journal.default_pic) {
"""


""";
if($linkl or $*show_mini_calendar) {
"""


""";
}
}

$this->print_linklist();
if($*show_mini_calendar) {
if($linkl) {
"""


""";
}
"""

""";

print_calendar($this);

"""

""";
}
"""

""";
}

$this->print_body();

print_nav($this);

"""

""";
}
Previous post Next post
Up