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

Free Nodelet Hack: search internal code (pmdev only)

by jdporter (Canon)
on Feb 11, 2008 at 21:40 UTC ( #667459=monkdiscuss: print w/replies, xml ) Need Help??

Here's a couple of little things I have in my Free Nodelet for quickly searching for stuff in site code. The first is a link which searches immediately for the title of the current node - particularly useful if the current node is a htmlcode or something like that. The second is a form just like the one in Search internal code, but with no controls and no submit button; just hit <Enter> to submit the search (at least in most modern, sane browsers).

<a href="/?node_id=157620;searchterms=`title%`">Search for <i>`title&` +</i> in code</a> <br/> <form method="post" action="?" enctype="application/x-www-form-urlenco +ded"> Search PM code: <input type="text" name="searchterms" size="40" id="codesearch"> <input type="hidden" name="node_id" value="157620"> <input type="hidden" name="sexisgood" value="submit"> </form>
A word spoken in Mind will reach its own level, in the objective world, by its own weight

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: monkdiscuss [id://667459]
Approved by Corion
Front-paged by Corion
[Discipulus]: Justin Case god can always get your pwd LA ;=) they all see, they all ear, they all know ;=)
[hippo]: It may be too far down the tree for some folks to bother with, but IMHO, Re^32: global var is probably node of the day already. (++)
[Lady_Aleena]: Discipulus, print working directory?
[Corion]: "P(ass)w(or)d" ;)

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (8)
As of 2017-04-26 08:20 GMT
Find Nodes?
    Voting Booth?
    I'm a fool:

    Results (471 votes). Check out past polls.