Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Header part for customised module

Status
Not open for further replies.

madhuusa

IS-IT--Management
Oct 5, 2006
93
US
Hi All,
We have a custom module which will overwrite the Apply button functionality of forms.

For instance when you press apply on LL form, it will take you to a result screen and tell that your data is saved and further instructions on what to do.

Now we had this module in 9.2 and I had retained the header portion of the livelink enterprise page with following code as below.
;;call <.HTMLPrefix() + 'masthead3.html'>( .ModImg() + 'icon_add-create.gif', [WebUser_HTMLLabel.UsersAndGroupsAltImage], 'Form Data Saved Successfully' )

Now the same above code does not work in 9.5. It gives a torn out image of the header.

Can the guru's here please tell me how to have the header code.

Thanks,
Madhu
 
The usage has since changed.I will include a snippet of the haeder portion here.9.5 uses styles(css) extensively.
In case you want to know

;;call <.HTMLPrefix() + 'masthead3.html'>( .ModImg() + 'icon_add-create.gif',

This becomes call the webscript masthead3.html with these parameters.In this case I am guessing .ModImg is the path to your modules support directory.
Open up yoour <opentextroot>/html and look at what masthaed3.html expects.

Here's How I retained the standard look and feell when I moved form 9.1 to 9.5.Maybe you won't need this because the masthaed3 will call commonheader itself.
Code:
<HEAD>
		<TITLE>Kerr McGee Custom Cat Upgrader</TITLE>
        <link rel='stylesheet' href='`supportDir`livelink.css'>
        `%L.Styles()`

//K N Nair Style Support this is the most important of the aesthetics stuff.I created the supportDir variable using this ;String		supportDir = .HTMLPrefix()
//The 9.5 expects CSS style sheets so point it to somewhere it can get it
	</HEAD>

Then in the body tag
this
<BODY BGCOLOR="#FFFFFF" BACKGROUND="`imgPrefix`pattern.gif" ONLOAD="onLoadFunctionMenu( '`imgPrefix`actions.gif', '`imgPrefix`menuwait.gif' );onLoadFunction()">

I am guesiing just fill in the parameters correctly for masthead3.html.In case you are having difficulty zip up the module and send it to my email appoos at hotmail.com and I will take a stab at it.











Well, if I called the wrong number, why did you answer the phone?
James Thurber, New Yorker cartoon caption, June 5, 1937
 
Hi Nair,

That worked like a charm. Thanks a lot. I added the code from the snippet along with masthead3 signature and voila at first shot, the screen image came nicely.

Regards, Madhu.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top