Search found 212 matches

by Rona Kwestel
Thu Mar 03, 2016 4:55 pm
Forum: Source Control
Topic: Has anyone migrated to the Git integration?
Replies: 41
Views: 39364

Re: Has anyone migrated to the Git integration?

Tova, if I'm understanding your question correctly, it sounds like you're thinking of doing something like this: create conditions for changes pertaining to a given (JIRA) ticket, say, then create a target for a given release/build version, which includes all the tickets that apply to that release ...
by Rona Kwestel
Fri Feb 26, 2016 5:34 pm
Forum: Flare's General Discussion
Topic: How to change Flare's auto-save behaviour?
Replies: 3
Views: 2628

Re: How to change Flare's auto-save behaviour?

So what happened to the auto-save feature? I just had a hard crash and lost changes to two files I was in the midst of editing. I guess I'm going to have to get in the habit of saving manually all the time, but it's disappointing that Flare doesn't have an auto-recovery feature like Word.
by Rona Kwestel
Fri Feb 19, 2016 9:11 pm
Forum: Web-based Outputs
Topic: WebHelp and Search Engine Optimization
Replies: 36
Views: 64436

Re: WebHelp and Search Engine Optimization

Justin, I've read through this thread carefully, and have started working my way through your presentation here: http://assets.madcapsoftware.com/webinar/Presentation_BomgarImprovesSEO.pdf . However, before we consider going down the path of switching from tri-pane to top navigation, I want to be ...
by Rona Kwestel
Fri Jan 15, 2016 4:38 pm
Forum: Flare's General Discussion
Topic: How to get page URL of a topic with tri-pane navigation
Replies: 14
Views: 6780

Re: How to get page URL of a topic with tri-pane navigation

Thanks so much, Dave; that did the trick.

Is there any reason not to put the script directly in the master page rather than link to a separate script file? I embedded the script as follows, and I don't see any issues, but wanted to be sure:


<!-- The following script detects if the navigation ...
by Rona Kwestel
Wed Jan 13, 2016 10:53 am
Forum: Flare's General Discussion
Topic: How to get page URL of a topic with tri-pane navigation
Replies: 14
Views: 6780

Re: How to get page URL of a topic with tri-pane navigation

I just discovered another aspect to this issue. If you do a Google search to find content in your Flare output, the link takes you to the topic content only, without the tri-pane view. So, instead of http://MyCompany.com/#/KB/MyTopic.htm, it links to http://MyCompany.com/Content/KB/MyTopic.htm ...
by Rona Kwestel
Wed Jan 13, 2016 9:45 am
Forum: Web-based Outputs
Topic: Flare 9 HTML5 and TocPath in page links
Replies: 66
Views: 160353

Re: Flare 9 HTML5 and TocPath in page links

Well, it seems that whenever you download a Flare software update, the MadCapAll.js file gets overwritten, and the commented-out code is restored, so you need to go back and re-comment it out.
by Rona Kwestel
Fri Nov 06, 2015 5:11 pm
Forum: Flare's General Discussion
Topic: How to get page URL of a topic with tri-pane navigation
Replies: 14
Views: 6780

Re: How to get page URL of a topic with tri-pane navigation

top.location.hash results in the following URL:

#KB/How_to_Use_the_KB.htm

So we lose the server name and still have the problem of the email having no link at all.

Somehow I suspect that this is not an entirely solvable problem, or would require quite a bit of code wrangling, and I'm not sure ...
by Rona Kwestel
Fri Nov 06, 2015 7:56 am
Forum: Flare's General Discussion
Topic: How to get page URL of a topic with tri-pane navigation
Replies: 14
Views: 6780

Re: How to get page URL of a topic with tri-pane navigation

The /#KB/ part of your URL looks odd to me, it's not how you normally construct a CSH URL.

But as far as I know, I'm not telling Flare how to construct the URLs; it does it all by itself. The structure of our project is Content/KB/<various subsections>. We're publishing HTML5 output with a skin ...
by Rona Kwestel
Thu Nov 05, 2015 1:28 pm
Forum: Flare's General Discussion
Topic: How to get page URL of a topic with tri-pane navigation
Replies: 14
Views: 6780

Re: How to get page URL of a topic with tri-pane navigation

According to the answer by meder on this topic: http://stackoverflow.com/questions/3332756/difference-between-window-location-href-and-top-location-href , there is a difference between window.location.href and top.location.href.

When I try the latter, it picks up the correct URL and it has no ...
by Rona Kwestel
Thu Nov 05, 2015 11:44 am
Forum: Flare's General Discussion
Topic: How to get page URL of a topic with tri-pane navigation
Replies: 14
Views: 6780

Re: How to get page URL of a topic with tri-pane navigation

What I don't understand is why that script code should interact with the display of the page at all, as it should only be invoked if/when the user clicks on the feedback button.

I tested it in IE instead of Chrome, and the dropdown text issues didn't occur at all - very curious - but the parsing of ...
by Rona Kwestel
Thu Nov 05, 2015 11:36 am
Forum: Flare's General Discussion
Topic: How to get page URL of a topic with tri-pane navigation
Replies: 14
Views: 6780

Re: How to get page URL of a topic with tri-pane navigation

Thanks, jjw, but while that seems to have picked up the correct URL, as shown below, it broke the MadCap dropdown feature on that page, where all items were expanded and not collapsible, and the display of the dropdown header was completely munged up.


http://kb.mycompany.com/feedback/Feedback ...
by Rona Kwestel
Wed Nov 04, 2015 4:27 pm
Forum: Flare's General Discussion
Topic: How to get page URL of a topic with tri-pane navigation
Replies: 14
Views: 6780

How to get page URL of a topic with tri-pane navigation

As part of our effort to elicit per-page feedback from our users, we have added a feedback button to the master page, the script behind which gets and passes the page URL to the server-side script that pops up a feedback form and sends an email message back to us with the content of that form.

We ...
by Rona Kwestel
Tue Nov 03, 2015 2:44 pm
Forum: Flare's General Discussion
Topic: How to escape & in javascript URL with CDATA
Replies: 2
Views: 3900

Re: How to escape & in javascript URL with CDATA

Thanks, Dave.

You know, I originally added my javascript with that UI method, but later commented out the original script to replace it with something new in the text editor, and it just didn't register that I needed to copy the CDATA tags into the new script. Moreover, even when I realized that I ...
by Rona Kwestel
Tue Nov 03, 2015 11:10 am
Forum: Web-based Outputs
Topic: Flare 9 HTML5 and TocPath in page links
Replies: 66
Views: 160353

Re: Flare 9 HTML5 and TocPath in page links

This worked for us, too, so thank you, threlliot. ; - )

For the sake of cleanliness, you might as well comment out the full line of code:

/*if(L!=null&&O){var T=y(W,true);L+=encodeURIComponent("?"+O+"Path="+T)}*/

I had opened a ticket with MadCap support on this, and got the following reply ...
by Rona Kwestel
Mon Nov 02, 2015 5:45 pm
Forum: Web-based Outputs
Topic: Placing customer a customer feedback line on every page?
Replies: 28
Views: 20575

Re: Placing customer a customer feedback line on every page?

After much trial/effort/googling, I finally solved the problem. You need to wrap the script contents with CDATA tags (<![CDATA[ and ]]>) to escape the javascript code from the XHTML parser, and you need to wrap the CDATA tags in javascript comments (/* */) to escape them from the javascript parser ...
by Rona Kwestel
Mon Nov 02, 2015 5:37 pm
Forum: Web-based Outputs
Topic: <script> blocks can't contain > and < characters?
Replies: 3
Views: 2576

Re: <script> blocks can't contain > and < characters?

I wanted to say thank you, too, but unfortunately, in my case, just using the CDATA tags wasn't enough. It turns out that I needed to enclose them in javascript comments (/* */) in order for the javascript parser to ignore them. See my post here for details: https://forums.madcapsoftware.com ...
by Rona Kwestel
Mon Nov 02, 2015 5:26 pm
Forum: Flare's General Discussion
Topic: How to escape & in javascript URL with CDATA
Replies: 2
Views: 3900

How to escape & in javascript URL with CDATA

I'm trying to implement a per-page feedback button using javascript, as per my posts in this forum topic: https://forums.madcapsoftware.com/viewtopic.php?f=9&t=18109&p=117322#p117322

Unfortunately, in building the URL for the form window, in which I wanted to pass both the document URL and the ...
by Rona Kwestel
Mon Nov 02, 2015 2:18 pm
Forum: Web-based Outputs
Topic: Placing customer a customer feedback line on every page?
Replies: 28
Views: 20575

Re: Placing customer a customer feedback line on every page?

With the help of a web developer on our IT team, I've changed the mail client invocation to an html form that gets raised upon the user clicking the feedback button at the bottom of the KB article page using the following code on the master page:


<script type="text/javascript">
function ...
by Rona Kwestel
Thu Oct 22, 2015 10:04 am
Forum: Web-based Outputs
Topic: Double-check of Server-based search requirements
Replies: 1
Views: 979

Re: Double-check of Server-based search requirements

I'm wondering why nobody ever responded to this post. I tried posting a similar question in a new topic yesterday, only to have the topic disappear completely, but not before getting a notice that someone replied. Alas, now I can't see the reply, but thankfully, I kept the original page open and can ...
by Rona Kwestel
Wed Oct 07, 2015 12:39 pm
Forum: Web-based Outputs
Topic: Placing customer a customer feedback line on every page?
Replies: 28
Views: 20575

Re: Placing customer a customer feedback line on every page?

Thanks again, Dave.

Here is the code I implemented, which works well:

var artnumElem = document.getElementById("artnum");
var artnumText = (artnumElem !== null) ? artnumElem.innerHTML + '_' : '';
var mailSubject = 'Feedback on KB article: ' + artnumText + document.title;


For the topics with ...
by Rona Kwestel
Fri Oct 02, 2015 4:19 pm
Forum: Web-based Outputs
Topic: Placing customer a customer feedback line on every page?
Replies: 28
Views: 20575

Re: Placing customer a customer feedback line on every page?

Thanks so much, Dave! That worked!

But I would like to make it less dependent on the article number's location on the page. If I assign an id to each of those article number span elements like this:

<span class="KBmetadata" id="articleNo">391</span>

Then it looks like I can pick up the article ...
by Rona Kwestel
Thu Oct 01, 2015 9:51 pm
Forum: Web-based Outputs
Topic: Placing customer a customer feedback line on every page?
Replies: 28
Views: 20575

Re: Placing customer a customer feedback line on every page?

We are also interested in embedding a feedback form on each page in our KB, but for now, I've implemented Nita's script at the bottom of the master page to invoke the user's mail client to send the feedback, which picks up the document.title property to populate the subject.

The one piece I'd like ...
by Rona Kwestel
Wed Aug 26, 2015 12:11 pm
Forum: Source Control
Topic: Has anyone migrated to the Git integration?
Replies: 41
Views: 39364

Re: Has anyone migrated to the Git integration?

I tried binding my Flare project to Git, only to discover that since Flare doesn't support ssh connections to the remote repository, it means that I can't push or pull. I also noticed that it slowed down the Flare UI somewhat, where you could watch it "redraw" the list of files/folders in the ...
by Rona Kwestel
Fri Jul 24, 2015 6:17 am
Forum: Styles, Stylesheets and XML
Topic: Dropdown styles in Flare 10
Replies: 18
Views: 24720

Re: Dropdown styles in Flare 10

Yes, thanks, Dave, I did something similar that worked, setting img.MCDropDown_Image_Icon with 0 margin, but decided in the end that it seemed best to be explicit about the img classes and create a screenshot class. It is a bloody nuisance to go back and fix all the unclassed images, especially ...