Solved

Help files

Posted on 2006-06-20
12
242 Views
Last Modified: 2010-04-09
hi,

i have a web application which i have created a help file for (so far just a .doc). i was wondering if there is a product/system out there which i can use for the help file i.e like the one you get with word etc.
0
Comment
Question by:pigmentarts
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 5
  • 2
12 Comments
 
LVL 5

Accepted Solution

by:
NAORC earned 500 total points
ID: 16940975
http://www.softany.com/winchm/


WinCHM

Its what i use....
0
 
LVL 10

Expert Comment

by:Khanh Doan
ID: 16940981
Oh, this is like my code.
I will post it for you. Or you can come to http://landautien.com/forum/music.php
I use it at Categories
My code :

/*********** PHP ************/
<?php
//########################### Cat List ###########################//
function catlist()
{
      $cat = array();
      $totalcats = '1';
      $maxid = '1';

      $cat_query = mysql_query("SELECT * FROM songcat ORDER BY displayorder, cat_name ASC");

      while ($cattemp = mysql_fetch_array($cat_query))
      {
            $id = $cattemp['catid'];
            if ($maxid < $id) $maxid = $id;

            $cat[$totalcats]['id'] = $totalcats;
            $cat[$totalcats]['cat_id'] = $cattemp['catid'];
            $cat[$totalcats]['parent_id'] = $cattemp['parent_catid'];
            $cat[$totalcats]['name'] = $cattemp['cat_name'];

            $totalcats++;
      }

      if ($totalcats == '1')
      {
            $cat_list_bit = $vbphrase['music_nocat'];
      }
      else
      {
            for ($cid = '1'; $cid <= $maxid; $cid++)
            {
                  if ($cat[$cid]['parent_id'] == '0')
                  {
                        $cat_id = $cat[$cid]['cat_id'];
                        $cat_name = $cat[$cid]['name'];
                        $par_num = '0';
                        $cat_list_sub = subcat($cat_id, $cat, $maxid);

                        $cat_list_bit .= "      <img src='images/misc/navbits_start.gif' border='0' class='inlineimg' style="cursor:hand;" onClick=\"hide_sub_cat(c$cat_id)\">
      <a href=' '><b>$cat_name</b></a><br>
      <span id=\"c$cat_id\" style=\"display : 'none'\"><div style=\"margin-left: 15px\">
                  $cat_list_sub
      </div></span>";
                  }
            }
      }

      $cat_list = $cat_list_bit;

      return $cat_list;
}

//########################### Sub Categories ###########################//
function subcat($parent_id, $cat, $maxid)
{
      global $vbulletin, $vbphrase;

      for ($sub_id = 0; $sub_id <= $maxid; $sub_id++)
      {
            if ($cat[$sub_id]['parent_id'] == $parent_id)
            {
                  $cat_id = $cat[$sub_id]['cat_id'];
                  $cat_name = $cat[$sub_id]['name'];

                  for ($n = '1'; $n <= $par_num; $n++) $sub_cats_ .= '<img src="clear.gif" width="15" border="0" class="inlineimg">';

                  $sub_cats_sub = subcat($cat_id, $cat, $maxid);

                  $sub_cats .= "      $sub_cats_ <img src='images/misc/navbits_start.gif' border='0' class='inlineimg' style=\"cursor:hand\" onClick=\"hide_sub_cat(c$cat_id)\"> <a href=' '>$cat_name</a><br>
      <span id=\"c$cat_id\" style=\"display : 'none'\"><div style=\"margin-left: 15px\">
            $sub_cats_sub
      </div></span>";
            }
      }

      return $sub_cats;
}
?>

So, just call catlist() function to get categories list.

/*********** Database ************/
CREATE TABLE IF NOT EXISTS songcat (
  catid int(11) NOT NULL auto_increment,
  parent_catid int(11) NOT NULL default '0',
  cat_name varchar(250) NOT NULL default '',
  displayorder INT NOT NULL DEFAULT '0';
  PRIMARY KEY  (catid)
) TYPE=MyISAM COMMENT='Music Category';

Goodluck.
Bonmat86
0
 
LVL 10

Expert Comment

by:Khanh Doan
ID: 16940988
Opps, sorry, I post wrong code. Admin Or Mod delete my post please, thanks.
Bonmat86
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 12

Author Comment

by:pigmentarts
ID: 16941131
can not use php my server bonmat86

NAORC : that look perfect!!! what server side language is it in as i does not say!

could i also have it in one location (on my site) and my application pull in the file, like in a include, ie so i only update once and all customers view the same copy?

again thanks guys big help!

0
 
LVL 12

Author Comment

by:pigmentarts
ID: 16941137
ps this is a online version right so its webbased? sorry about all the questions, my boss has give me this task of finding something
0
 
LVL 5

Expert Comment

by:NAORC
ID: 16941156
When its created the CHM File, i kind of cheat.  I use the :

<a href="help.chm" target="_blank">

tag.  it opens the help file in a new window.  if you need anything more than this, email support@softany.com  and they will answer everything (quite quickly too)
0
 
LVL 12

Author Comment

by:pigmentarts
ID: 16941174
yep seems good but you have to donwload it, some of my clients can not dowload things on there system (at work) so it need to be online. i have hopping there is something just like that but web based!
0
 
LVL 5

Expert Comment

by:NAORC
ID: 16941207
Thats irrelivant..

you download the software and create the files.. the client only views them and doesnt need the software installed as far as i know because the CHM files created are an extension of the windows help program
0
 
LVL 12

Author Comment

by:pigmentarts
ID: 16941238
no sorry what i ment is they have to download the .chm file (ie help.chm)  before they can open it i.e. they must download it to there computer, desktop etc.

some of my clients can not do this, i would like a help system to be online (web based) like viewing a webpage, but just like this system. at the moment i have it up as a webpage or a pdf, but i really like the look of the winchm.
0
 
LVL 5

Expert Comment

by:NAORC
ID: 16941286
CHM is a compiled html file (series of html files packed into one super html file)

it can download into the temp file automatically regardless of permissions.  it should be no different to opening any other html file or web page
0
 
LVL 12

Author Comment

by:pigmentarts
ID: 16941501
cool thank you very much, you have been a big help!
0
 
LVL 5

Expert Comment

by:NAORC
ID: 16941635
Your welcome.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
output of netstat -r in Powersshell HTML 3 48
Selected in an option list 13 27
Powershell script does not exit 4 48
allow link tag to be submit like form 15 28
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question