?
Solved

Help files

Posted on 2006-06-20
12
Medium Priority
?
250 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 2000 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
WordPress Tutorial 3: Plugins, Themes, and Widgets

The three most common changes you will make to your website involve the look (themes), the functionality (plugins), and modular elements (widgets).

In this article we will briefly define each again, and give you directions on how to install them.

 
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

7 Extremely Useful Linux Commands for Beginners

Just getting started with Linux? Here's a quick start guide that has 7 commands that we believe will come in handy.

Question has a verified solution.

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

Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
Suggested Courses

764 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