[personal profile] ex_awakened208 posting in [community profile] style_system
Would it be possible to merge the "previous" and "next" links with the main navigation that has the "recent entries"/"read page"/"tags", etc links in it?

The end result I am looking for is a header navigation that goes in this order:

previous | recent entries | archive | read | tags | info | next

I would prefer if the previous/next links only show up if there are actually entries before/afterward.

I hope that was clear enough! Thanks in advance.

Re: Head-scratcher

Date: 2012-12-21 05:49 am (UTC)
marahmarie: (M In M Forever) (Default)
From: [personal profile] marahmarie
OK, I had to really wrap my mind around that for a minute, but of course that's exactly right. Page (as in Page) can control anything so Friends page can't inherit directly from it since Page gives it no specific structure to work with (it needs RecentPage to build off of for that).

I think the other thing that threw me off is I always thought Recent was literally the first direct descendant of Page (in other words, in the hierarchy, DayPage, EntryPage, EntryPreviewPage, IconsPage, MessagePage and MonthPage would never precede it). But this was probably more a bias of mine based on how I work through the code when I'm editing an entire layout (it goes like this: Recent/Friends-Network, Entry, Tags, Archive-Month-Day - I'm kind of OCD in that I have to edit each view in exactly that order) than a rational way to order the hierarchy.

Thanks for the further explanation, the specific code I needed and all your help. :)
Edited (typos) Date: 2012-12-21 05:52 am (UTC)

Profile

Dreamwidth style system discussion

October 2025

S M T W T F S
   1 234
567891011
12131415161718
19202122232425
262728293031 

Style Credit

Expand Cut Tags

No cut tags
Page generated Jan. 4th, 2026 04:20 pm
Powered by Dreamwidth Studios