Closed
Bug 22284
Opened 25 years ago
Closed 25 years ago
Need global variable that we can use for product name in wizard ini files
Categories
(CCK Graveyard :: CCK-Wizard, defect, P3)
Tracking
(Not tracked)
VERIFIED
FIXED
M15
People
(Reporter: robinf, Assigned: vparthas)
References
Details
(Whiteboard: [Candidacy Approved]- est 2 hours)
We'd like a global variable for the product name that we can use in the wizard
ini files. The global variable would make it easy to insert the "Netscape" name
where appropriate, when creating the commercial version of the CCK wizard.
Also please investigate if we can use the same global variable in the Wizard's
title bar text.
*** Bug 22252 has been marked as a duplicate of this bug. ***
*** Bug 22252 has been marked as a duplicate of this bug. ***
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
There is an existing wizardmachine.ini file in the CCKTOOL directory (root dir)
you can add global variables here and can use them later in the other ini files.
The Section Name HAS to be Default - DONT change THAT!
the file that I have checked in now for a default has three extra fields - you
can add as many as you like.
I have added the following
DefaultName=mozilla
Organization=Netscape
Department=CCK
When you use them later do the following add%% around them
for e.g. if you want the title for a page to be different do this
Title=<----%MyNewValue%----> Customization KIT by <%MyOrganization%>
where the MyNewValue and MyOrganization are the global variables that you have
added to the wizardmachine.ini in the form of key=value pairs.
Thanks Varada, this is a good start. Reopening this bug, since the current
implementation only permits changes to the title bar text on each wizard screen.
In addition to being able to change the title bar text, I need to be able to
change text in a text widget. For example, in the mozilla build, I want to
substitute the name "Mozilla" in text widgets, in place of the "Netscape" name
that will appear in text widgets in the Netscape-branded builds.
Comment 7•25 years ago
|
||
This bug was vandalized by a clueless idiot. I believe I have undone all of the
vandalism.
We can create another type of widget say GlobalText which can handle this
Whiteboard: [Candidacy Approved]- est 2 hours
Marking Fixed.
Have created a new type called GlobalText - try to use this sparingly cuz it
does an extra function cycle every time it is called. You can use
GlobalVariables to get values in this type. for e.g.
Type=GlobalText
Value=%Root% is where your CCKTool exists.
etc.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago → 25 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•