Different Color Text of Topic Titles by Child Project in Search Results List

Does anyone know how I can change the text color to indicate the source project of a topic as displayed in the Search Results list?
I have followed Peter Grainge's directions for setting up a parent project that has several child projects, one of which contains outdated version-specific information. Thanks, Peter!
I would like it to be obvious to the user before they open a topic from the Search Results list that it is from the old legacy project.
I have found where the font is set, (thanks to the RoboWizard), but I am not a Javascript programmer and am uncertain how to code the "if document is from this project, then use this font" logic.
I would also like to put a "caption" below the "Search Results per page" line to explain the purpose of the color change.
I am using RoboHelp HTML 8.0.2. I generate WebHelp output which is then FTP'd to our server.
Thanks in advance!

Hi Leon,
     Let me make sure that I understand your suggestion - I should change the title of each topic in the "legacy" knowledge base so that they each include a short identifier, such as "First Topic - Legacy"? If so, I suppose that would work, but I'd have to change 1,000 topics. The topic titles would no longer match the filenames (I'm trying to freeze changes to the old knowledge base to which there are many links from our user forum), which I suppose is not a big concern at this point.  I'll run some tests.
     That has also raised another question in my mind, but I'll post that separately. It's about the way Robohelp selects the text that is shown immediately after the title of the topic in the Search Results list.
     Thanks for taking the time to help!

Similar Messages

  • Different color text in text area???????

    hi,
    i am working on applet in which i want to show different color text in text area????????
    could any one help me

    I'm not sure it replies, we have developed an
    editorkit for the JEditorPane for colorizing a
    text with a property file describing a grammar. We
    provide in the packaging a trivial sample
    for coloring a java syntax in an applet.
    http://www.japisoft.com/syntaxcolor
    And of course it also requires that you buy it, and a.brillant forgot to mention that a.brillant has a financial interest in this product.

  • How do you make items on the search result list a different colour after viewing as Explorer does.

    How do you make items on the search result list a different colour after viewing as Internet explorer does?

    Hi and welcome -
    Start with fixing this missing semicolon  (in red)
    /* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal a.MenuBarItemSubmenuHover
              background-color:#1A1A1A;
              background-repeat: no-repeat;
              background-position: 95% 50%;
    You will find you will get faster, more accurate help from us if you upload your test page and any dependent files to your server and post a link here.  That way we can examine ALL your code

  • Different color text in one cell

    How do I set a color for a group of words within a cell leaving the rest of the words black?
    I can make all the text within a cell the same color but when I select the words I want to be a different color the color selector in the toolbar goes away and only fx, Cancel and Accept buttons are available.

    If it is simple text, not the result of a formula, select the words you want to change and select another color from the toolbar or the color panel. That is, unless I didn't understand your request. I don't know where you are seeing Accept, Cancel and Fx.

  • How to set different color text in JTabe cell

    Hi
    I have been searching many forums to find how can this be done, but no success.
    I have Custom JTable with MyTableRenderer which is nothing else but alternate the color of rows(cells), CustomTableModel extends DefaultTableModel adding functionality for updateCellContent with different messages.
    I have a column in which cells i want to set these messages in different color.They are not set by user's editing, and by updating the content using the table model.
    Here is the code for that
    public void updateCellContent(HashMap<String, String> messages, int col) {
            for (int row = 0; row < this.dataVector.size() - 1; row++) {
                //This value is hardcoded for now.
                boolean isError = true;
                String filename = getFilename(row);
                String message = messages.get(filename);
                if (message != null) {
                    if (isError) {
                        setErrorMessage(message, row);
                    } else {
                        setMessage(message, row);
        private void setErrorMessage(String message, int row) {
            this.setFileStatus(message, row);
        private void setMessage(String message, int row) {
            String value = (String) this.getValueAt(row, COL_FILE_STATUS);
            ((Vector) this.dataVector.get(row)).setElementAt(value + " " + message, COL_FILE_STATUS);
            fireTableCellUpdated(row, COL_FILE_STATUS);
    public void setFileStatus(String message, int row) {
            setValueAt(message, row, COL_FILE_STATUS);
        }Thanks
    Dimitar

    I have Custom JTable with MyTableRenderer which is nothing else but alternate the color of rows(cells)If I understand you correctly a better way to do this is to override the prepareRenderer(...) method of JTable. You can search the forum for my "Table Prepare Renderer" (without the spaces) example which shows how this can be done.
    I have a column in which cells i want to set these messages in different color.Then you need to use a custom renderer for that column.
    If you need further help then you need to create a [Short, Self Contained, Compilable and Executable, Example Program (SSCCE)|http://homepage1.nifty.com/algafield/sscce.html], that demonstrates the incorrect behaviour.

  • How to apply conditional build tags to the topic title that is displayed in Search tab of CHM?

    I have the project in which 2 different words are used to reffer to one objects (this word/term depends on the customer). All other information related to functionality, steps, etc. are common. So:
    In the help content (body of the files), I created 2 conditional build tags (CBT) for these terms.
    In TOC, if topic title contains the term, I created 2 different topics reffered to the single topic file, but the title of the topic shows correct term (depends on CBT).
    File names of this topics contain only term1.
    The problem occurs when I generate CHM for CBT2 and search for the term1 (marked with CBT1) using the Search tab. All occurrencies where term1 presence in the file name, appear in the found results.
    How can I resolve the issue?
    These topics must be found by search (that's why "Exclude from search" option is not a decision).

    Ahhh, you are correct. I believe it was Version 10 introduced that.
    So here's what I'd suggest. Even though you are unable to use a variable in a Topic Title, it can still be used in other places such as the TOC, the Index and in the Topic content. So I'd still recommend that you declare and use a variable for those items. Just to simplify things.
    As for any topics that have the term in the title, you could create two topics. One with the term one way and the other with the term the opposite way. Then use a Conditional Build Tag to exclude and remove the one that shouldn't be found.
    This may cause you a bit of a maintenance issue by having the same topic content in more than one place. (one for each topic)
    So to overcome that, you would be able to add the main body information to a topic and use an Inline Frame in the two topics that would then simply be shells with appropriate Topic Titles. Either that or declare a snippet and use the snippet in both topics. Put the main part in the snippet.
    Cheers... Rick

  • Any Way to Update Hyperlink Text When Topic Title Changes?

    Is there any to add a hyperlink "field" to a topic that will update when the title of the hyperlinked topic changes? Thanks in advance. RR

    Hi there
    I'm guessing you are asking this.
    You have topic A that has a link to topic B. The link currently reads topic B. But if you change the Title of topic B to perhaps topic X, you want the hyperlink to also change and reflect topic X?
    Personally I can't think of a way to make it happen. Maybe with a variable, but you would have to update the variable manually.
    Perhaps someone else has a clever solution for you.
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7 or 8 within the day - $24.95!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • Append text in one of the fields of the search results using ResultScriptWebPart

    Hi,
    I have extended ResultScriptWebPart and would like to update the fields with a constant value based on a backend logic.
    QueryIssuing -> Event
    // After ExecutyQuery()
             var resultTables = resultTableCollection.Filter("TableType", KnownTableTypes.RelevantResults);           
                foreach (ResultTable item in resultTables)
                    int count = item.Table.Rows.Count;
                    DataRow row = null;
                    for (int i=0; i<count; i++)
                        item.Table.Rows[i]["Flag1"] = "This field is updated."                    
                         resultCollection.Add(item);
             e.Result = resultCollection
    In my search display template, I added "Flag1" into my ManagedProperty mapping but the value still blank. Can it be done this way? 
    Any feedback is greatly appreciated. Thanks.

    Hi,
    I am trying to involve someone familiar with this topic to further look at this issue. There might be some time delay. Appreciate your patience.
    Thanks 
    Patrick Liang
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Patrick Liang
    TechNet Community Support

  • Topic titles in Search always showing up in English

    We are working with a RoboHelp HTML v8 project with 247 topics.  Inside each topic, we are using conditional build tags to mark the content for each language inside each topic.  So for each topic file, it has a section of English text, French text, German text, etc.  Each marked with a build tag indicative of the language.  When I compile each CHM file for each language and open one of the non-English help files and click on Search and enter text, the topic titles shown are in English.  If you click on one of those in the list, you see the preview of that topic with the appropriate translation shown.  My question is if there is a way to get a translated topic title to show in the search results list instead of the English text? 
    The only way I see to do this is to create multiple topic files (a new topic file for each language for each existing topic file in our project).  I would rather avoid having to do this.  Is there any other way of doing it?  Thanks! 
    Shannon

    Welcome to the forum Shannon.
    That's a known problem with setting things up the way you have. Take a look at Ben Minson's article. Click here.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • How to set two colored text in one textarea

    hello friends,
    i am busy preparing chat frame which shows messages in textarea, it shows two things, one the name of chatter , the other is the message, i want the two things of different color, you can change the text color of textarea by setForeground(), but what if i want different colored text in same textarea, can anybody help me???

    I don't know if this will help u...try make sense of it :
    DefaultStyledDocument doc = new DefaultStyledDocument();
    JTextPane tp = new JTextPane(doc);
    tp.setFont (new java.awt.Font ("Arial", 1, 12));
    JScrollPane lscroller = new JScrollPane(tp);
    lscroller.setForeground (new java.awt.Color (102, 102, 153));
    lscroller.setPreferredSize (new java.awt.Dimension(496, 273));
    lscroller.setVerticalScrollBarPolicy(
    JScrollPane.VERTICAL_SCROLLBAR_ALWAYS);
    jPanel2.add ( lscroller );
    prepareAllStyles();
    void prepareAllStyles()
    aset = new SimpleAttributeSet();
    //set bold and red
    StyleConstants.setForeground(aset,Color.black);
    StyleConstants.setBold(aset,true);
    ht.put(BOLDRED,aset);
    aset = new SimpleAttributeSet();
    //set italic and green
    StyleConstants.setForeground(aset,Color.red);
    StyleConstants.setBold(aset,true);
    ht.put(ITALICGREEN,aset);
    AttributeSet current = (AttributeSet)ht.get(BOLDRED);
    doc.insertString(doc.getLength(),displaymessage + "\n",current);
    tp.setCaretPosition( doc.getLength() );

  • WebHelp Search results include text from topic

    Hello,
    Using XP with RH8 and RSC 3.1 
    Testing the Search tab functions in a Web help project and noticed that the Search Results list includes text from the topic, including from the Header, which have our product name and copyright statement.
    Is there a way to turn the display of text off, or at least restrict where it picks up the text from?    I like having the ranking column, but the topic title is all I really want in that column if that's possible.
    See the attached example.
    Thanks in advance for any advice you can provide.
    Regards,
    Joe

    Turn off the context option in the second page of the wizard.
    See www.grainge.org for RoboHelp and Authoring tips

  • Why don't recently viewed websites show in a different color anymore?

    Yesterday I updated to Firefox 7.0.1, and now my recently viewed websites no longer display in a different color after viewing a website and going back to the original list of websites. I still want to see which ones I have already looked at when researching. Can you tell me how to get this feature back again?

    If you are talking about the color differences between visited and unvisited in the links on your webpages then that that would be affected by any of the following:
    # changing the link colors in your Tools > Options > Content > fonts & colors: "Advanced" for which I have blue for Unvisited and magenta for Unvisited links. I have all three items check-marked "Use system colors:, "Underline links:, and "Allow pages to choose their own colors instead of my selections above".
    # Loss of history data, such as clearing of your browsing history
    #* http://img232.imageshack.us/img232/4928/clearcachew.png
    # Private browsing ("Ctrl+Shift+P") will not mark any links as visited, same would apply to permanent Private Browsing ("Always use private browsing mode") in Tools > Options > Privacy
    #* http://img232.imageshack.us/img232/4928/clearcachew.png
    I left out the link on the following and have added it, but since the above answered the question, I'm changing this last part to a footnote.
    None of which would be directly related to updating Firefox, but at such times the localstore.rdf file in you profile may be affected (corrupted), and changes made to your toolbars and options will not stick.
    * http://kb.mozillazine.org/Corrupt_localstore.rdf

  • Search and index for child projects

    Hello I have a merged RoboHelp 9 project.  Is there a way I can setup the project so that when the user does a search, the child projects are searched as well as the master?  Is there a way that I can used the Smart Index Wizard from the master project to produce an index which includes the child projects as well as the master.  Thank you for any help you can provide.

    Welcome to our community, Steven
    Sorry for slowness, forums seem hit or miss today.
    What you are describing is exactly how a merge should operate. All projects that are part of the merge should be properly searched and an Index would work across all projects. Because of this, I'm struggling to see a need to index everything from only the Master.
    As you likely already know, the Smart Index Wizard simply scans topics and auto-maps them to keywords in whatever project you have open.
    Sorry, but there is no way I'm aware of for the Smart Index Wizard to be used from the Master and coax it to index child projects. It's an interesting thing to consider and I would heartily encourage you to submit a Wish Form to ask for this functionality to appear in a future release. You do this using the Wish Form. (link to the Wish Form is in my sig)
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7, 8 or 9 within the day!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • Hiding Topics From Search Results

    I have about 7 different types of users that require
    different and private set of documentation. My plan is to use
    conditional build tags to deliver a help set for each user. I'm
    delivering noncontext-sensitive help and via batch processing.
    Later I'll ensure that each help set is context-sensitive, and have
    the product call the correct one. I'm trying uncover flaws in my
    architecture. I'd like to streamline if possible.
    What's cool is that my product's interface has built-in
    profiling, so the product already knows what windows/tabs (context)
    the user can access. Seems like a perfect way to deliver
    context-sensitive help for all my users. But, can I do so with just
    ONE help set?
    I can disable TOC, but one thing I can't figure out: How
    would I prevent users from seeing private content launched via the
    search engine? I'm just trying to figure out how to use only one
    help set and still restrict content. Unlikely, right?

    There's another way to do this:
    1. Move all the screen capture topics to a new (secondary)
    project.
    2. Create a new CHM file from the secondary project.
    3. In your primary project, open each link to a screen
    capture image. In each case, the Hyperlink dialog will appear.
    4. Open the
    Link to drop-down menu, and then select
    Remote Topic.
    5. Navigate to the secondary CHM file.
    6. Select the desired topic from the secondary CHM file.
    7. When you are finished, generate a new CHM file from your
    primary project. The secondary topics will
    not appear in your search results.
    I found this in the RH Help files or the Knowledge Base; I
    don't remember which. Also, if you don't want to repeat these steps
    for each link, you can edit one link, copy the code from the
    TrueCode pane, and use a find-and-replace feature to replace the
    old code with the new target. That should cut down the time
    tremendously.
    (FWIW, I use drop-down hotspots when I show such captures at
    all.)

  • Child projects will not open after new window is created in the master

    I am using Robohelp 9 (html) to created a Microsoft html file.  I have a master and child project.  My master projected uses a (WebHelp pro) window and the child uses a (HTML Help) Window.   Topics from the child project to open in the main window instead of a new one when there are selected from the table of contents.  I did the following in the master project:
    *Set the "Primary Layout " to Microsoft HTML
    *Created a new windowy (Window type "HTML Help" which matches the child project
    *Deleted the original window
    *Renamed the new window to "NewWindow" to match the child project.
    Now when I open the master chm file, and select topics from the child project, nothing happens, the topic is not opened in either the master window nor a new one.

    Hi,
    What happens if you remove the window from the child project. Does it work then?
    What happens if you create a new, blank master project and merge the child. Do you see the same behaviour?
    Greet,
    Willam

Maybe you are looking for

  • Control file

    Control File stores this info... *** The timestamp of the database creation Q) what is the use of storing this info in control file? Info from : http://download-uk.oracle.com/docs/cd/B10501_01/server.920/a96521/control.htm 2) Control file stores info

  • Problem met when call external exe in jar.

    hi all, in my java project, i call an external exe . i met a problem that sometimes the exe is not fully finished. How could i confirm that the exe is finished before i start to use the output of this exe. i use following code to call the external ex

  • Idoc control mechanism

    Hi, I have a situation. In processing the Idocs in background. can anyone give me some info how to control this processing. I am talking about PO  to SO automation between to SAP systems. lets assume, The background job which triggers to send idocs f

  • AOC monitor attaching to the USB on an XPS152?

    I purchased a 16 inch AOC flat display which plugs into a USB port. My suspicion, after hours of tinkering, communicating with AOC techsupport and installing and reinstalling software and drivers is that the notebook doesn't for some reason support t

  • All ports open, but still no luck over the internet

    I have ARD 3.1, the computer I am trying to connect to has client 3.1. Both computers are on DSL connections behind routers with the software and hardware firewalls turned OFF (temporarily for testing!). Port forwarding is on, and is pointing to the