Fork me on GitHub

Is there a module that can do this?  Bottom

  • I'm working on this support website, and I need to create a Help/Support Docs page. Here is what I have so far: http://itsupport.sjsu.edu/wrap.php?file=help_support/helpsupport.htm (don't mind the design, I know it's ugly, but it's temporary). Basically I'm just creating those as htm pages and using nukewrap to intergrate them into the postnuke site. Now there is one slight problem, the postnuke search feature doesn't search anything other than Comments, Downloads, FAQs, Weblinks, reviews, sections, stories and topics. Is there a way I can make it so that it will search the htms that I put up also? Or is there a module that I can install that will do what I'm doing right now with full search capabilities? Thanks!
  • I don't know that there is a module that searches HTML pages. They all search the database. It's a good idea for when I get back to making the module version of NukeWrapper.

    If your pages are simple enough, you could use the existing Sections module. I'm not sure if it allows tables, though. There are other replacement modules for Sections (like the Subjects module). Like the htmlpages module, all the content is kept in the database, so regular SQL queries are used.
  • Actually, there is a 3rd party module (well - search plug-in) that searches HTML pages. It grew out of this topic:

    http://forums.postnuke.com/index.php?name=PNphpBB2&file=viewtopic&t=18929&highlight=

    The whole topic is good reading but you'll see the module announcement at the bottom...
  • ColdRolledSteel, I noticed that you mentioned if I run this on a windows box I would problems with the grep. I am using Windows...is there any way around this?
  • peiqinglong

    ColdRolledSteel, I noticed that you mentioned if I run this on a windows box I would problems with the grep. I am using Windows...is there any way around this?

    Either load the cygwin package of unix utilities ported to windows (which I have done before) or try using the "find" command line utilitity (which I have used but not in this context.)

    If you want to use the find command, first verify that it's included in your version of windows by opening a command window and typing "find /?". If that gives you the command syntax, then you can hack the line of code that uses grep to use find...
  • ColdRolledSteel

    peiqinglong

    ColdRolledSteel, I noticed that you mentioned if I run this on a windows box I would problems with the grep. I am using Windows...is there any way around this?

    Either load the cygwin package of unix utilities ported to windows (which I have done before) or try using the "find" command line utilitity (which I have used but not in this context.)

    If you want to use the find command, first verify that it's included in your version of windows by opening a command window and typing "find /?". If that gives you the command syntax, then you can hack the line of code that uses grep to use find...


    How do I load the cygwin?
  • peiqinglong

    How do I load the cygwin?

    Go to the Cygwin home page at http://www.cygwin.com and download it. There's also plenty of documentation, FAQ's and other stuff to help you do whatever you want.
  • ColdRolledSteel

    peiqinglong

    How do I load the cygwin?

    Go to the Cygwin home page at http://www.cygwin.com and download it. There's also plenty of documentation, FAQ's and other stuff to help you do whatever you want.


    Cool thanks!

This list is based on users active over the last 60 minutes.