[personal profile] blnchflr posting in [community profile] style_system
How can I change the Network link on my journal to go to ?show=p, so I only get personal journals (my circle's circles subscribe to a lot of feeds I'm not interested in)?

I'm using Transmogrified.

Thank you in advance.

Date: 2010-01-10 11:40 am (UTC)
dancing_serpent: (Default)
From: [personal profile] dancing_serpent
Oh, I'm interested in that one, too. Even better for me would be if my network page would show everything but feeds, i.e. personal journals and communities.

Using Transmogrified, too.

Date: 2010-01-10 12:24 pm (UTC)
yvi: Kaylee half-smiling, looking very pretty (Default)
From: [personal profile] yvi
show=P&show=C should work in that case. However, I also wnat to know how I can make that the default :)

Date: 2010-01-10 01:34 pm (UTC)
afuna: Cat under a blanket. Text: "Cats are just little people with Fur and Fangs" (Default)
From: [personal profile] afuna
Here you go! After seeing the comments, I took the liberty of making it "PC" instead of just personal journals.

If you want to filter on the fly, and you have the navstrip enabled, you can also use the filter dropdown to do so!


function print_module_navlinks() {
    var Page p = get_page();
    open_module("navlinks", "", "");
    var string[] links = [];
    foreach var string k ($p.views_order) {
        var string url = $p.view_url{$k};
        if ( $k == "network" ) {
            var string sep = $url->contains("?") ? "&" : "?";

            # show = P : personal
            # show = C : community
            # show = F : feeds
            # show = PC : personal and community (any other combinations also possible)
            $url = $url + $sep + "show=PC";
        }

        var string css = """ class="$k" """;
        if ($p.view == $k) { $css = """ class="current $k" """; }
        $links[size $links] = """<a href="$url"$css>"""+lang_viewname($k)+"""</a>""";
    }
    print_module_list($links);
    close_module();
}		

Edited (fix html) Date: 2010-01-10 01:35 pm (UTC)

Date: 2010-01-10 03:39 pm (UTC)
afuna: Cat under a blanket. Text: "Cats are just little people with Fur and Fangs" (Default)
From: [personal profile] afuna
Glad I could help!

Date: 2010-01-10 01:54 pm (UTC)
dancing_serpent: (Default)
From: [personal profile] dancing_serpent
Thanks! I think I'm doing something wrong, though, because it doesn't work for me. *ducks*

Date: 2010-01-10 03:39 pm (UTC)
afuna: Cat under a blanket. Text: "Cats are just little people with Fur and Fangs" (Default)
From: [personal profile] afuna
Hmm, is it giving you an error when you try to compile, or are the changes just not showing up?

Date: 2010-01-10 03:57 pm (UTC)
dancing_serpent: (Default)
From: [personal profile] dancing_serpent
The changes aren't showing up.

Date: 2010-01-10 04:04 pm (UTC)
afuna: Cat under a blanket. Text: "Cats are just little people with Fur and Fangs" (Default)
From: [personal profile] afuna
How odd. Can you make the layer public, and toss me a link? I'll go take a look.

Date: 2010-01-10 04:10 pm (UTC)
dancing_serpent: (Default)
From: [personal profile] dancing_serpent
It's already public, I'm using the theme from my latest [site community profile] dreamscapes submission. http://www.dreamwidth.org/customize/advanced/layersource?id=91493
Edited Date: 2010-01-10 04:10 pm (UTC)

Date: 2010-01-10 04:11 pm (UTC)
afuna: Cat under a blanket. Text: "Cats are just little people with Fur and Fangs" (Default)
From: [personal profile] afuna
The function doesn't seem to be there.

Date: 2010-01-10 04:12 pm (UTC)
dancing_serpent: (Default)
From: [personal profile] dancing_serpent
*headdesk* I copied it into the custom css box. So yeah, it works now. Thanks for your patience.
Edited Date: 2010-01-10 04:15 pm (UTC)

Date: 2010-01-10 04:16 pm (UTC)
afuna: Cat under a blanket. Text: "Cats are just little people with Fur and Fangs" (Default)
From: [personal profile] afuna
Awesome; and any time :)

Date: 2010-01-10 04:17 pm (UTC)
dancing_serpent: (Default)
From: [personal profile] dancing_serpent
Can't stop laughing at myself now. *g*

Date: 2010-01-10 06:26 pm (UTC)
dancing_serpent: (Default)
From: [personal profile] dancing_serpent
Oh yes, that's a good one, too. *g*

Profile

Dreamwidth style system discussion

April 2025

S M T W T F S
  12345
6 78910 1112
13 141516171819
2021 2223242526
27282930   

Style Credit

Expand Cut Tags

No cut tags
Page generated May. 31st, 2025 10:43 am
Powered by Dreamwidth Studios