Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

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

Comment on Free Nodelet Hack: search internal code (pmdev only)
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: monkdiscuss [id://667459]
Approved by Corion
Front-paged by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (5)
As of 2014-09-22 02:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (177 votes), past polls