oyceter: teruterubouzu default icon (Default)
Oyceter ([personal profile] oyceter) wrote in [community profile] style_system2015-09-15 07:50 pm
Entry tags:

Changing navigation links in style

Does anyone know if it's possible to change anything in the print_navigation function? The source code says it's fixed.

Basically, I wanted to change the Previous/Next navigation links to add an anchor link to skip to the bottom of the page (i.e. like "Bottom | Previous 20 | Next 20") and to change the look of the navigation links for the year page to make the
[<<<]
and
[>>>]
into
<<
and
>>
. I can probably add another element before or after the navigation links, but it would look nicer if the links were editable...
marahmarie: (M In M Forever) (Default)

[personal profile] marahmarie 2015-09-25 02:57 am (UTC)(link)
Likewise to what jewelfox said, you can check out my s2 as well for any ideas. I'm not doing anything exactly like what you want within my current code, but if you're any better at puzzling out how to change s2 into what you want it to do than I am any good at fiddling with s2 it might give you some ideas. Source: http://www.dreamwidth.org/customize/advanced/layersource?id=116552&fmt=html

ETA: I have an older version of my s2 as well that has code blocks I don't use anymore that might be closer to what you want. Source: http://pastebin.com/print.php?i=cmwm3Tb6

Relevant code block might be where it starts:
"# code by ninetydegrees/foxfirefey
function print_module_navlinks()"
Edited (another link) 2015-09-25 03:02 (UTC)