miroku12 (miroku12) wrote in lj_dev,
miroku12
miroku12
lj_dev

*pulls hair out*

Im trying to get a totally diffrent navigation system for my theme, so I went to global.look, and I need to insert 2 diffrent javascripts. One for members who are logged in - the other for guests. Everytime I insert the code, I get an error message.


#line 3
@sidebar =
******Can the first javascript code go here?******

my $remote = LJ::get_remote();
my $remuser = $remote ? $remote->{'user'} : "";
my $uri = BML::get_uri();
if ($remuser ne "" && $uri ne "/logout.bml")
{
my $subdomain = $remuser;
$subdomain =~ s/_/-/g;
unshift @sidebar, { 'name' => ******Can my second javascript go here?******


Im a bml newbie, any ideas?
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 3 comments