Search found 23 matches

by KayJay
Tue Jan 02, 2018 9:27 am
Forum: Flare's General Discussion
Topic: How to Embed a Screencast.com Video in HTML5
Replies: 3
Views: 3385

Re: How to Embed a Screencast.com Video in HTML5

Hi dmcmillion, I'm using Brighttalk rather than Screencast.com, and I found that Flare wouldn't parse the scripts + HTML that I got from them to embed the video. So not the same problem, but you might benefit from the technique I used to solve mine... Luckily the Flare HTML output will run javascrip...
by KayJay
Tue Nov 21, 2017 3:26 am
Forum: Web-based Outputs
Topic: Discussion on union/intersection of search filters
Replies: 1
Views: 1260

Discussion on union/intersection of search filters

Hi all, It seems that some of us have come up against the problem of wanting to combine multiple search filters at once (see https://forums.madcapsoftware.com/viewtopic.php?f=9&t=29645&p=129418 and https://www.madcapsoftware.com/blog/2012/10/09/filtering-search-results-in-flare-outputs/ ) in...
by KayJay
Wed Sep 27, 2017 3:27 am
Forum: Styles, Stylesheets and XML
Topic: Conditional Text
Replies: 8
Views: 4271

Re: Conditional Text

Perfect, thank you for the link!
by KayJay
Wed Sep 27, 2017 12:21 am
Forum: Styles, Stylesheets and XML
Topic: Conditional Text
Replies: 8
Views: 4271

Re: Conditional Text

Hi all,
I'd like to apply a condition to a style but I'm having trouble finding how to do this in the Madcap Documentation, as opposed to applying a style to a condition.
Can someone point me to the article?

Thanks!
by KayJay
Fri Sep 08, 2017 12:55 am
Forum: Web-based Outputs
Topic: Turning the menu proxy into an accordion menu
Replies: 91
Views: 69065

Re: Turning the menu proxy into an accordion menu

Hi all, I've been hacking my way past this "Flare 2017 r2 breaks javascript" problem all week. My (so far working but very hacky) solution that should hopefully inspire someone to improve it is: var runtimes = 0; var interval = setInterval(function(){ runtimes += 1; // try your thing here,...
by KayJay
Wed Aug 23, 2017 7:01 am
Forum: Web-based Outputs
Topic: Hide topics based on roles/licenses?
Replies: 5
Views: 2532

Re: Hide topics based on roles/licenses?

We are trying to tackle the exact same problem at the moment. Showing and hiding content dynamically that is tagged for a role/license (these tags are called condition tags) is easy to achieve on one HTML page. You can even do cool things like control which elements you show/hide with an in-page men...
by KayJay
Wed Aug 23, 2017 6:47 am
Forum: Web-based Outputs
Topic: Does jQuery work differently in Flare 2017 R2
Replies: 11
Views: 6204

Re: Does jQuery work differently in Flare 2017 R2

Sadly I'm also coming to the conclusion that I will have to use a CSS-based solution. For anyone else like me using JS to target Menu Proxies, it can sometimes be cumbersome to construct the right CSS selector if you are trying to target something really custom or arbitrary in a long list (this is w...
by KayJay
Wed Aug 23, 2017 3:04 am
Forum: Web-based Outputs
Topic: Does jQuery work differently in Flare 2017 R2
Replies: 11
Views: 6204

Re: Does jQuery work differently in Flare 2017 R2

This has indeed changed in 2017r2 - I have some small scripts that manipulate the output of a menu proxy using $(document).ready() like you and find that jquery scripts are executing before the new MadCap JS that dynamically generates parts of the page. In this new release the menu proxies (and perh...
by KayJay
Mon Aug 14, 2017 12:18 am
Forum: Flare's General Discussion
Topic: Flare 2017 r2 - OK to upgrade?
Replies: 15
Views: 7747

Re: Flare 2017 r2 - OK to upgrade?

I upgraded the week before last and had huge problems with build times - I use global project linking across a few small projects, and regardless of the settings on the import file (disabling automatic import) it would still search for import candidates for 5-10 minutes before each build, become unr...
by KayJay
Tue Jul 04, 2017 1:43 am
Forum: Flare's General Discussion
Topic: Demanding a save
Replies: 5
Views: 2708

Re: Demanding a save

Hi Leheuvade, I should have explained this better (it's not a hook actually, I use that for something else and got mixed up). I use the Windows Gitbash command line, so what I did was write a "clean" filter that is applied when files are staged, so that anything in the index (e.g. after &q...
by KayJay
Tue May 30, 2017 11:37 pm
Forum: Flare's General Discussion
Topic: Demanding a save
Replies: 5
Views: 2708

Re: Demanding a save

Hi Leslie,

Glad to hear I'm not the only one this was driving crazy! I made a separate post explaining this and another script I'm working on to handle global project linking.

Best,
Kristy
by KayJay
Tue May 30, 2017 11:35 pm
Forum: Source Control
Topic: Git tips: Removing MadCap attributes/imported files
Replies: 2
Views: 3396

Git tips: Removing MadCap attributes/imported files

I wanted to share a few tricks relating about how I use git with my Flare projects (I don't use the integration with git as I prefer to manage it independently). This usually works OK, though I've developed a few scripts to manage Flare weirdness. Disclaimer: I use the gitbash shell on Windows 7 to ...
by KayJay
Mon May 29, 2017 3:53 am
Forum: Flare's General Discussion
Topic: Demanding a save
Replies: 5
Views: 2708

Re: Demanding a save

I think it's because flare saves information about the size of the window in the XML, so toggling between XML and text changes/overwrites the window size information. e.g. <html xmlns:MadCap="http://www.madcapsoftware.com/Schemas/MadCap.xsd" MadCap:lastBlockDepth="15" MadCap:last...
by KayJay
Mon Feb 13, 2017 2:05 am
Forum: Flare's General Discussion
Topic: Combine multiple Flare topics into a single topic
Replies: 8
Views: 6257

Re: Combine multiple Flare topics into a single topic

You could write a post-build event that replaces a placeholder (eg. an xref to the topic) with the topic content. My xrefs have the format "{path}", and I run a post-build XSLT transformation that takes the document at this path and places it into a dropdown menu, replacing the xref elemen...
by KayJay
Thu Feb 02, 2017 10:10 am
Forum: Web-based Outputs
Topic: HTML conditional text filters with Search Filter Sets
Replies: 0
Views: 989

HTML conditional text filters with Search Filter Sets

Hi All, just wanted to share something I've been toying around with in my HTML output. Inspired by Thomas Tregner's great post about how to use version filters, I've been trying these out in my project (filtering by user role instead of version number, but I'll refer to version here for simplicity)....
by KayJay
Wed Jan 04, 2017 1:43 am
Forum: Styles, Stylesheets and XML
Topic: CSS fails when output type changed from HTML to PDF
Replies: 8
Views: 5140

Re: CSS fails when output type changed from HTML to PDF

OK, I guess I just shouldn't expect too much from the PDF processor. I will log a feature request though, in case it does result in better documentation about which attributes are not available.
by KayJay
Wed Jan 04, 2017 1:33 am
Forum: Styles, Stylesheets and XML
Topic: CSS fails when output type changed from HTML to PDF
Replies: 8
Views: 5140

Re: CSS fails when output type changed from HTML to PDF

It's the same in the actual PDF output as in the preview.
by KayJay
Tue Jan 03, 2017 9:35 am
Forum: Styles, Stylesheets and XML
Topic: Indenting list styles
Replies: 1
Views: 1028

Re: Indenting list styles

Not sure if this answers your question but it might be helpful.... If you are preparing your stylesheet in a text editor, you can create special styles to just target li's that are children of other li's (eg. do specific styling for sub-lists). You can use CSS combinators like ">" (direct ...
by KayJay
Tue Jan 03, 2017 9:25 am
Forum: Styles, Stylesheets and XML
Topic: CSS fails when output type changed from HTML to PDF
Replies: 8
Views: 5140

CSS fails when output type changed from HTML to PDF

Hi all, I'm interested whether anyone can give me some insight as to why certain aspects of CSS fail to render when when the target's output type changes to PDF (using 2016 r2). I have a scenario where I am using some pretty fancy CSS on the ::before pseudo-element to create a note style that looks ...
by KayJay
Thu Dec 15, 2016 3:38 am
Forum: Styles, Stylesheets and XML
Topic: Inline Images Increase Line Spacing
Replies: 4
Views: 3081

Re: Inline Images Increase Line Spacing

My solution is not working seamlessly yet, but might help with a few ideas. I've been using em instead of pt to define the image height, so that their height is defined relative to the line height. Also, you might want to play around with the vertical-align property. Here's what my current CSS looks...
by KayJay
Thu Dec 15, 2016 3:26 am
Forum: Styles, Stylesheets and XML
Topic: how do i create an OL style w/ LI # above the LI text
Replies: 4
Views: 2401

Re: how do i create an OL style w/ LI # above the LI text

You can also do this easily with CSS using the normal ordered list approach - I like this approach for its versatility as it is easy to switch back to traditional formatting if needed. All you need to do is add the CSS with the example below. The CSS and small HTML example below restarts the numberi...
by KayJay
Mon Dec 12, 2016 9:29 pm
Forum: Source Control
Topic: window size persistence feature and SVN (or other)
Replies: 8
Views: 10386

Re: window size persistence feature and SVN (or other)

I've been looking at the window size features lately too, and am trying to implement clean and smudge filters with git so that these values are removed when checking files in or out. To do this, define a filter in your local .git/config file for the repo (you need to copy it there manually) by addin...
by KayJay
Wed Nov 30, 2016 1:24 am
Forum: Printed Documentation Targets
Topic: Inline SVG (Flare-processed text) in PDF target
Replies: 2
Views: 2272

Inline SVG (Flare-processed text) in PDF target

Hi All :flare:, I'm using flowcharts (SVG files) in my documentation, and would like to be able to include cross-references (perhaps also variables and conditional text) in these graphics. I am using Flare 12 R2 and have Ghostscript and the correct Java version installed so that linked SVGs with sta...