mmeg: (Default)
Mme G ([personal profile] mmeg) wrote in [community profile] style_system2010-09-11 08:22 pm

Previous entries link

Is there a way to add the "previous 5" (or 10 or whatever) link to the navigation bar at the top of my recent entries, reading and network pages? I'm using Mixit, which I believe is a Core1 LJ style.

ETA: Also I figured out how to reverse the order of the entries on my reading page (for values of figured out which equal bugging the Support people), but it didn't reverse the order of my Page Summary. I wonder if there's a way to do that. (I care about this much less than the first question.)
matgb: Artwork of 19th century upper class anarchist, text: MatGB (Default)

[personal profile] matgb 2010-09-12 04:10 am (UTC)(link)
OK, I think, but can't test. In the function
function Page::lay_print_header_links()

There's a line at the end that says
print """<li$class><a href="$url" title="$text">$text</a></li>""";

After this, but before the } on the next line, copy in the following:

I think that works. I'm not 100% sure and can't test it without creating a whole new style.

But, trying to be less cranky in this comment, Mixit is essentially the Vox layout redone for LJ. It's one of the best LJ layouts in terms of functionality, which is why the DW style devs used it as a basis for the core DW layout. Anything doable in Mixit is doable in a Core2 layout, the big advantage of that is you maintain all the built in accessibility goodness that they've spent ages building (ie friends using screenreaders, mobile browers, etc still get a good experience), and if there're new funtions created site wide that benefit everyone, you still get them.

Looking at your layout, I think you can make it Better in TR or similar, wihtout much tweaking. I definitely made a much better layout for DW than I had on LJ.
adalger: Earthrise as seen from the moon, captured on camera by the crew of Apollo 16 (Default)

[personal profile] adalger 2010-09-12 03:34 pm (UTC)(link)
I took a look poking around in your layer this morning, and it may need more than just a quick edit. You have duplicates of things, and that may be causing the compiling issues you're having because of ... strange arcane behind-the-curtain hand-wavy stuff. To get this to work the way you want, someone may have to go clean up the code to the point where everything is only in there once.

You mentioned this came "pre-hacked." Can you point a finger at the source and maybe we can lean on the original hacker? :)