Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re^2: Bare PerlMonks, great for small devices (CSS)

by tye (Sage)
on Mar 28, 2005 at 05:26 UTC ( #442743=note: print w/replies, xml ) Need Help??

in reply to Re: Bare PerlMonks, great for small devices
in thread Bare PerlMonks, great for small devices

It doesn't output the pre-amble CSS (user CSS and links to the style sheets). I'm a bit reluctant to add so much extra data to a format meant for use on devices that might object (my phone already complains "too large" for some things). (Update) It also doesn't output some enclosing table(s). The former is probably (I haven't investigated, but you should feel free to) why the text color was not changed to a light color and the latter is probably why you can read the main node (because it avoids changing the background color to black).

style=bare has been supported for a long time and I've used it some for quite a while (it was just inconvenient). Now that I'm using it much more, I've already got several plans for it. I'd like each "bare" page to end (or begin) with just one link to a navigation menu. I'm thinking this link will take you to a list of nodelet titles and you click on the title of the nodelet you want to see. We might even eventually make this smart enough so that selecting the "approval nodelet" (for example) would make the nodelet act as if you are viewing it on the node that you clicked from.

I'd also like the "bare" style to display much less depth in threads (like text one reply deep and just titles two replies deep).

We also need an alternate format for Message Inbox that doesn't use a table (I also wanted it to not use a <form>, but the items that motivated that desire have disappeared so I may change my mind -- but I still somewhat like the idea of just listing a few messages, each with a link that takes you to a page for just that message that shows all of the details and that contains a link to "archive", a link to "delete", and a form to reply at the end).

It'd be cool if Recently Active Threads would default to showing only the root and the most recent reply per thread if style is "bare" (which is also the style I'd use most with it, even when not "bare") and if Newest Nodes would skip all but the top few "Newest Notes" (and it still needs to separate new notes between those in new threads and those in old threads).

- tye        

  • Comment on Re^2: Bare PerlMonks, great for small devices (CSS)

Replies are listed 'Best First'.
Re^3: Bare PerlMonks, great for small devices (CSS)
by demerphq (Chancellor) on Mar 29, 2005 at 16:47 UTC

    It'd be cool if Recently Active Threads would default to showing only the root and the most recent reply per thread if style is "bare"

    If you can expand on what you want a little then ill do a patch for you. You only want the root and the absolute most recent post that is a descendent of that root?

    Also how can I tell if the page is displaytype=bare? Is there a variable set somewhere that Ive forgotten or never encountered?


      Yes, just the two nodes per thread (one node for threads with no replies). I can't think of anything to expand on beyond that.

      $q->param("style") should be "bare". If that doesn't work already, then we'll need to move some code out of "general container" so this parameter gets sets sooner.


      - tye        

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://442743]
and the fire pops...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (2)
As of 2018-05-27 13:02 GMT
Find Nodes?
    Voting Booth?