Beefy Boxes and Bandwidth Generously Provided by pair Networks vroom
We don't bite newbies here... much
 
PerlMonks  

(crazyinsomniac) Re: Navigation change request

by crazyinsomniac (Prior)
on Dec 16, 2001 at 09:10 UTC ( [id://132327]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Navigation change request

Nope. You are not the only one with the problem, but the solution would effect everybody, which seems like a bad idea (I don't particularly like having my title changed like that).

I have proposed an alternative at (crazyinsomniac) Re^2: http://perlmonks.org: Title, or Trash?, which has been implemented on http://www.javajunkies.org, and is just awaiting a certain pmdever to implement it here.

Although my sample code only includes the %T %D and %N tokens, adding %S for section shouldn't bee too difficult.

As for the default title, I feel it should stay what it has always been, just the title of the node.

update: after actually implementing this, I've decided, that %S should only translate into the 'section' name for 'root' nodes, and not replies to nodes. Why you might ask? well because it creates unneccessay hits on the database, and why would a reply be in a different section than it's parent?

So for example, if my definition was '%S ~ %N ~ %T'
this node "(crazyinsomniac) Re: Navigation change request"
would appear as
"%S ~ 132327 ~ (crazyinsomniac) Re: Navigation change request"
and it's parent, Navigation change request
would appear as
Discussion ~ 132319 ~ Navigation change request

Well, that is what the patch I submitted will do. vroom might choose to change Discussion into PMD, since Seekers Of Perl Wisdom is codenamed SOPW, but that's trivial anyway (just displaying 1040 would tell me it was in PMD).

update: The patches have been submitted. If you wish to see, or at least try to, they be @ User settings - (patch) and basichead - (patch).

 
___crazyinsomniac_______________________________________
Disclaimer: Don't blame. It came from inside the void

perl -e "$q=$_;map({chr unpack qq;H*;,$_}split(q;;,q*H*));print;$q/$q;"

  • Comment on (crazyinsomniac) Re: Navigation change request

Replies are listed 'Best First'.
(jeffa) Re: (crazyinsomniac) Re: Navigation change request
by jeffa (Bishop) on Dec 16, 2001 at 16:23 UTC
    and I'll second this request - especially the %N token.

    jeffa

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://132327]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.