Linkbar links on their own

Oct 24, 2010 22:22

Edit: solved thanks to marilla_pm67. Is there a way of having free standing "add to memories", "edit entry", "edit tags" etc. links? I'm working on a future layout and I'd like to have these links somewhere else than in a linkbar. I've already managed to move the "add comment" and "read comments" links, but the others are a mystery. I only have the Entry:: ( Read more... )

sidebar, link bar

Leave a comment

Comments 7

marilla_pm67 October 25 2010, 10:38:18 UTC
I don't really understand what you are trying to do... any chance to get a visual?
Sam

Reply

carnifinda October 25 2010, 11:10:52 UTC
You can see in my current layout that under my title, I have a few lines of information: poster, date, security, etc. In my future layout, I'd like to add other links that I rarely use but that I still want to keep around, in the same style : small icon, followed by "edit tags", "edit entry", "add to memories".

Unfortunately, I haven't been able to find the template for those links. The only one I have is for the permalink ( $*text_comment_permalink). I tried replacing some elements but it doesn't work.

The rest of the funtion amounts (basically) to this:
          var Link link;
          var string url;
          var string text;
          foreach var string link_key ($.link_keyseq) {
            $link = $this->get_link($link_key);
            $url = $link.url;
            $text = $link_caption{$link_key} != "" ? $link_caption{$link_key} : $link.caption;
            if (defined $link) {
              print safe """
  • $text
  • """;
                  $link->print_raw();
                }
              }and I haven't managed to select ( ... )

    Reply

    marilla_pm67 October 25 2010, 11:23:30 UTC
    So in other words you would like to pull them out the entry? - I don't think that's possible.

    But to change the text into images that's possible and to 'delete' or make some of them 'not visible' that's possible too :)

    Here is the code to change the link into images:
    http://www.livejournal.com/customize/advanced/layersource.bml?id=9265575

    And here is the code to format the links you want/not want :
    http://babytest.livejournal.com/11527.html#cutid1

    Any chance to get a view at your theme layer?

    Sam

    Reply

    carnifinda October 26 2010, 15:31:00 UTC
    Thanks for your help! I managed to turn those links into small images and then put them where I wanted to put them. However, there's a space on their left that I can't remove... I have no idea where it comes from.


    ... )

    Reply


    Leave a comment

    Up