jen beans (morning___star) wrote in component_help,
jen beans
morning___star
component_help

  • Mood:

i tried to delay posting here for help as much as possible but i'm stumped. . .

i've been going through the entries that show how to change the date format and make it so that the day of the week is lighter and in the back while the month and the year and stuff are upfront. i'm sure you all know what i mean.
i don't know what i'm doing wrong but i did go through the tutorials and other people's posts (which seems stalker-ish) but it was all to no avail.
when i put the different css for the date format it was all good but when i went to put in the "function print_entry" portion of the code i got an error message.

Error compiling layer:
Compile error: line 411, column 23: Didn't find closing brace in statement block
S2::NodeStmtBlock, S2/NodeStmtBlock.pm, 51
S2::NodeFunction, S2/NodeFunction.pm, 104
S2::Layer, S2/Layer.pm, 58
S2::Compiler, S2/Compiler.pm, 27

Context
407: print_comp_footer();
408: }
409:
410:
411: function print_entry(){
412:
413: print_entry_header((defined $e.security_icon?"$e.security_icon   ":"")+"
414: "+$e.time->date_format("%%day%%")+"
415: "+$e.time->date_format("long")+"




and this is my
function print_entry

print_entry_header((defined $e.security_icon?"$e.security_icon   ":"")+"
"+$e.time->date_format("%%day%%")+"
"+$e.time->date_format("long")+"
"+$e.time->time_format()+"
");


i got something to happen!!
take a look at my journal. it's really quite funny.
now you can ONLY see the date.

i wish i knew what i was doing wrong. :(
help anyone?

thanks in anticipation. :D (again.)
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

  • 10 comments