Jump to content

Creating a help page for a custom op


Recommended Posts

I have a custom op and would like to add help. I know I can make a .ds file.. right now my op doesn't need one though so I was hoping to avoid that.

For the normal apps they are stored in:

chrome://houdini_helpcards/locale/pop/OPNAME.html

On disk this ends up being under

$HFS/mozilla/chrome/houdini_helpcards/locale/en-US/pop/OPNAME.html

Is there a location like this one where I can put an html page that the help button will automatically look for? I don't want to put it here in the base install dir (plus I don't have write permissions to that at work)

thnx

d

Link to comment
Share on other sites

This is a great question! Currently for OTLs we use a Meta Refresh tag to forward to a site - in our case, an internal Wiki page. Been wondering about DSO's lately.

<META HTTP-EQUIV="refresh" content="0;URL=http://www.yoursite.com/newpage.htm">

Link to comment
Share on other sites

This is a great question! Currently for OTLs we use a Meta Refresh tag to forward to a site - in our case, an internal Wiki page. Been wondering about DSO's lately.

<META HTTP-EQUIV="refresh" content="0;URL=http://www.yoursite.com/newpage.htm">

16189[/snapback]

Thanks for the code snip. Yes, we have something similar.. twiki pages for our docs and I have been pointing our otl help pages directly to them.

Looks like there is a class in the HDK called "UT_HelpManager" which allows you to trigger the help browser.. unfortunatly it looks like I'd have to add a help button to my node to trigger this since I don't know how to get at the standard help button callback. Hopfully there is a way. I'll see what SESI has to say

Link to comment
Share on other sites

Hi there,

Try the getHelpText() call, works great and you don;'t need to maintain external help files.

--Mark

16207[/snapback]

Thanks for the pointer Mark. I've tried to use this, but I'm not getting it to work.. any examples?

thanks

d

Link to comment
Share on other sites

Guest xionmark

Hi Daniel,

Here's an example:

void SOP_RF_Export::getHelpText (UT_String &help, int level, bool *is_html_ptr) {

help = "<h3>Real Flow Geometry Export SOP</h3>";

help += "The Real Flow SD File Export SOP will export Houdini ";

help += "geometry to Real Flow SD (Scene Description) files";

}

It comes up in the help browser. Notice you can intermingle HTML tags in the text.

Link to comment
Share on other sites

Hi Daniel,

Here's an example:

void    SOP_RF_Export::getHelpText (UT_String &help, int level, bool *is_html_ptr) {

    help  = "<h3>Real Flow Geometry Export SOP</h3>";

    help += "The Real Flow SD File Export SOP will export Houdini ";

    help += "geometry to Real Flow SD (Scene Description) files";

 

}

It comes up in the help browser.  Notice you can intermingle HTML tags in the text.

16214[/snapback]

I get, thanks for the example. Works perfect!.. thanks

d

Link to comment
Share on other sites

I get, thanks for the example. Works perfect!.. thanks

d

16215[/snapback]

Hmm.. hit another snag. I put in a link to our local twiki serve and get:

Authorization Required

This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required.

In houdini 6 a dialog would pop up allowing you to type in a user name and password.. doesn't happen anymore.. :(

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...