![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
![[community profile]](https://www.dreamwidth.org/img/silk/identity/community.png)
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.)
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.)
Tags:
no subject
Date: 2010-09-12 01:52 am (UTC)Easiest way? Find the line of code that prints it at the bottom of the page, and copy it into the right bit at the top of the page.
Harder way, and not ideal, but doesn't involve hacking layers, is to move it with CSS, but that'd mean it was only at the top.
Basically, find it in the layer code, you're looking for the link with class="prevnext" in the code.
No idea on the latter, and doubt it'd be possible without going into the guts of thepage summary module. So beyond my ken, because I like it that way...
no subject
Date: 2010-09-12 02:02 am (UTC)I'm pretty sure I found the code I need to move, but I still don't get where I need to move it. Can you point me in the right direction? My layer code is here.
no subject
Date: 2010-09-12 02:04 am (UTC)Needs to be made public, which I can never remember how to do, it's in the styles docs somewhere, LMK when it's done and I;'ll have a look in the morning if noone else has (it's 3am, insomnia doesn't always make me coherent even when I try helpful)
no subject
Date: 2010-09-12 02:21 am (UTC)Thanks for helping out! I never mucked around with any of this stuff at LJ, but I just can't find a native DW layout that does what I want it to so I'm kind of flailing blindly.
no subject
Date: 2010-09-12 03:48 am (UTC)Mixit is the same source as Expressive. Which is what I had on LJ. Expressive is significantly less flexible than Tabula Rasa, which is the basic DW style I now use.
I will, however, look at the code tomorrow for you, but if you can't do something in TR that you can do with Mixit, that's a bug that we need to fix.
no subject
Date: 2010-09-12 04:08 am (UTC)Tabula Rasa is too flexible for me, in that it requires knowledge of CSS to make anything usable. And at some point whoever was developing DW styles decided that putting the poster's name somewhere other than directly beneath their icon was a reasonable thing to do on a reading page, so nearly everyone who is making styles has stuck with that. (Drifting is the exception, but I don't particularly care for it.)
I'm lurking the style comms since I am sure sooner or later someone will make a DW style that I can handle, and then I will switch to a supported layout. But in the meantime someone else did the Mixit hack, and I've got it exactly the way I like it except for this one issue.
In other words, the bug is that I am both dumb and picky.
no subject
Date: 2010-09-12 04:10 am (UTC)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.
no subject
Date: 2010-09-12 04:45 am (UTC)Compile error: line 1847, column 10: Unexpected token found. Expecting: [TokenPunct] = (
Got: [TokenIdent] = Page
S2::Node, S2/Node.pm, 144
S2::NodeArguments, S2/NodeArguments.pm, 25
S2::NodeTerm, S2/NodeTerm.pm, 471
S2::NodeIncExpr, S2/NodeIncExpr.pm, 41
S2::NodeTypeCastOp, S2/NodeTypeCastOp.pm, 29
S2::NodeInstanceOf, S2/NodeInstanceOf.pm, 29
S2::NodeUnaryExpr, S2/NodeUnaryExpr.pm, 40
S2::NodeProduct, S2/NodeProduct.pm, 28
S2::NodeSum, S2/NodeSum.pm, 31
S2::NodeRelExpr, S2/NodeRelExpr.pm, 29
S2::NodeEqExpr, S2/NodeEqExpr.pm, 29
S2::NodeLogAndExpr, S2/NodeLogAndExpr.pm, 29
S2::NodeLogOrExpr, S2/NodeLogOrExpr.pm, 29
S2::NodeRange, S2/NodeRange.pm, 29
S2::NodeCondExpr, S2/NodeCondExpr.pm, 29
S2::NodeAssignExpr, S2/NodeAssignExpr.pm, 29
S2::NodeExpr, S2/NodeExpr.pm, 29
S2::NodeExprStmt, S2/NodeExprStmt.pm, 28
S2::NodeStmt, S2/NodeStmt.pm, 67
S2::NodeStmtBlock, S2/NodeStmtBlock.pm, 43
S2::NodeFunction, S2/NodeFunction.pm, 104
S2::Layer, S2/Layer.pm, 59
S2::Compiler, S2/Compiler.pm, 27
Context
1843:
1844:
""";1845: }
1846:
1847: function Page::print_stylesheets() {
1848: # These are the themes that need the header.css file included
1849: var bool{} header_themes = {
1850: "ocean-fish" => true,
1851: "ocean-squid" => true,
I appreciate the work the DW devs have put into accessibility and making things more awesome on the backend and I have spent hours combing style comms looking for something I can use. If you know someone who would like to volunteer to design a core2 layout to my specifications, please let me know. Otherwise, please accept my sincere promise that I will switch the moment I discover a core2 layout that I find both functional and attractive. (I did check to see if people were answering core1 questions in this comm before I posted. I'm sorry core1 kicked your puppy, and I will be happy to pick this back up in the morning when I have regained some emotional perspective.)
no subject
Date: 2010-09-12 02:38 pm (UTC)no subject
Date: 2010-09-12 03:34 pm (UTC)You mentioned this came "pre-hacked." Can you point a finger at the source and maybe we can lean on the original hacker? :)
no subject
Date: 2010-09-12 04:26 pm (UTC)no subject
Date: 2010-09-14 06:58 pm (UTC)In your layer, you're using
print_stylesheet()
to print the CSS. In there is a section like this:/* previous and next links */
.stream-header {display: none;}
.stream-footer {clear: both; display: block; width: 100%; etc...}
If you just want to display the header part, remove the
stream-header
line. Since I'm assuming you'll want it to look like the footer part, change it to look like this:.stream-header, .stream-footer {clear: both; display: block; width: 100%; etc...}
no subject
Date: 2010-09-14 07:08 pm (UTC)(Also, I really enjoy your icon.)
no subject
Date: 2010-09-14 07:23 pm (UTC)