feathertail: (Default)
Tachyon Feathertail ([personal profile] feathertail) wrote in [community profile] style_system2010-12-26 04:11 pm

Adding new menu items

Okay ... I know all DW styles have the default menu items, like Recent Entries, Reading List, Profile and so on. Is there any way to add something to the menu, like a link to an external website or another journal / comm?

I know you could theoretically make a custom menu using the "Links" or "Custom Text" modules, but for layouts like Blanket where you can't put them everywhere (like on the nav bar) ... well, yeah.
matgb: Artwork of 19th century upper class anarchist, text: MatGB (Default)

[personal profile] matgb 2010-12-26 10:47 pm (UTC)(link)
Yes, you need to add some lines to function print_module_navlinks()

How confident are you with S2?

I have done this, but then removed the code from my layout as the extra link wasn't needed anymore (I think it was a link to the network, before that was put in anyway).

I'm not sure I kept a backup and my brain is flu addled.
ninetydegrees: Art: self-portrait (Default)

[personal profile] ninetydegrees 2010-12-26 10:56 pm (UTC)(link)
You can do that with a layer. I know Fey wikified this.... Ah, here it is! http://wiki.dwscoalition.org/notes/S2_Cookbook:_Modules
ninetydegrees: Art: self-portrait (Default)

[personal profile] ninetydegrees 2010-12-26 11:16 pm (UTC)(link)
Do ask for help if you need to. I'll be happy to answer questions. :)
ninetydegrees: Art: self-portrait (Default)

[personal profile] ninetydegrees 2011-01-14 01:20 pm (UTC)(link)
To tell the system to use your layer, you need to go to the Styles part of advanced customizations. Depending on your account level, you should either edit the style you're currently using (it's bolded) or create a new style. I believe http://wiki.dwscoalition.org/notes/S2_Guide:_Style_System_Overview#Creating_and_managing_styles explains how to do this.
ninetydegrees: Art: self-portrait (Default)

[personal profile] ninetydegrees 2011-01-15 07:39 am (UTC)(link)
I don't think there's anything buggy about it unless I misunderstood what your issue was and I don't know what sort of suggestion you have in mind so I can't advise you on that. I can say for sure we can always use more documentationingness, though. :) The different types of layers are mentioned in http://wiki.dwscoalition.org/notes/S2_Guide:_Style_System_Overview but it may need clarification.
ninetydegrees: Art: self-portrait (Default)

[personal profile] ninetydegrees 2011-01-15 11:18 am (UTC)(link)
Yeah, I don't think that's possible. :/

You're welcome.
marahmarie: (M In M Forever) (Default)

[personal profile] marahmarie 2010-12-27 06:21 am (UTC)(link)
I'm not the OP, but I'm always watching for more s2 I can use....will have to give this a try someday; thanks for posting the link! :)