Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic DOORS (steve huntington)
Decrease font size
Increase font size
Topic Title: tip of the day - add new tip via DXL
Topic Summary: tip of the day
Created On: 29-Jun-2007 21:48
Status: Post and Reply
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Quick Reply Quick Reply
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
Answer This question was answered by Louie Landale, on Tuesday, July 3, 2007 4:52 PM

Answer:
Tip text is stored here: DOORSHOME\lib\dxl\wizard\tip\tips on each person's client. I see that each Tip occupies its own line (with an EOL), and that its formatted into Paragraphs via ##.

I see this unencrypted DXL that manages the TIP dialog ..err.. provides the functions to manage the tip box: DOORSHOME\lib\dxl\wizard\tip\tipwiz.dxl. I see that this command will display the tip box: tipDoTips(), and that comes from file tipshow.dxl that is surely invoked from the menu. I see that this constant houses the location of the above TIP file: S_TIPS_FILE.

It should be fairly simple to write a DXL that grabs a new file from a config file on the server and deploys it over this tip file; so long as the user has modify rights to the DOORS install directory.

It would also be fairly easy to do write a DXL that manages your own 'MyCompany-DOORSTips.txt' and displays it on demand, without changing to built in tips. That DXL would download the latest tip config file to the local client, #include the tipwiz.dxl file above, modify parameter S_TIPS_FILE to point to the downloaded tips, then call function tipDoTips().

- Louie
 29-Jun-2007 21:48
User is offline View Users Profile Print this message


Janet Ma

Posts: 115
Joined: 12-Sep-2002

is there any way to modify the tip of the day and add your own tip? Do you need DXL to do this?
Report this to a Moderator Report this to a Moderator
 1-Jul-2007 21:11
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

Answer Answer
Tip text is stored here: DOORSHOME\lib\dxl\wizard\tip\tips on each person's client. I see that each Tip occupies its own line (with an EOL), and that its formatted into Paragraphs via ##.

I see this unencrypted DXL that manages the TIP dialog ..err.. provides the functions to manage the tip box: DOORSHOME\lib\dxl\wizard\tip\tipwiz.dxl. I see that this command will display the tip box: tipDoTips(), and that comes from file tipshow.dxl that is surely invoked from the menu. I see that this constant houses the location of the above TIP file: S_TIPS_FILE.

It should be fairly simple to write a DXL that grabs a new file from a config file on the server and deploys it over this tip file; so long as the user has modify rights to the DOORS install directory.

It would also be fairly easy to do write a DXL that manages your own 'MyCompany-DOORSTips.txt' and displays it on demand, without changing to built in tips. That DXL would download the latest tip config file to the local client, #include the tipwiz.dxl file above, modify parameter S_TIPS_FILE to point to the downloaded tips, then call function tipDoTips().

- Louie
Report this to a Moderator Report this to a Moderator
 3-Jul-2007 14:42
User is offline View Users Profile Print this message


Martin Hunter

Posts: 86
Joined: 10-Jan-2005

Remember if your going to add more tips to increase number on the first line.

I remember one version of DOORS often reported a blank tip of the day which we found amusing.  This was because the number of tips was greater than the number of lines of tips.

- Martin



-------------------------
- Martin
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 2 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 16:36.
There are currently 0 guests browsing this forum, which makes a total of 2 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.