Search found 265 matches

by AlexFox
Mon Feb 26, 2018 8:02 am
Forum: Web-based Outputs
Topic: Add Custom Headers and Footers
Replies: 4
Views: 2536

Re: Add Custom Headers and Footers

Just write them as html in the masterpage, as long as your bodyProxy is in the right place, it'll all work!
by AlexFox
Mon Feb 26, 2018 3:00 am
Forum: Flare's General Discussion
Topic: Complex selector: li pre
Replies: 9
Views: 3073

Re: Complex selector: li pre

Can you show us some examples? You may have better results with the following:

Code: Select all

<li>text</li>
<pre>code in a box</pre>
<li style="list-style-type: none;">follow-up text</li>
by AlexFox
Mon Feb 26, 2018 2:56 am
Forum: Printed Documentation Targets
Topic: Random Blank Page in PDF Output
Replies: 6
Views: 3367

Re: Random Blank Page in PDF Output

It may be worth checking you don't have page-break-before: always set on whatever element heads up page 7.
by AlexFox
Tue Feb 20, 2018 2:11 am
Forum: Flare's General Discussion
Topic: Video formats
Replies: 4
Views: 3535

Re: Video formats

I use mp4 videos in a <video><source> tag and they play in Chrome and IE.
by AlexFox
Mon Feb 19, 2018 1:34 am
Forum: Styles, Stylesheets and XML
Topic: Remove <a> underline in Print medium?
Replies: 4
Views: 3418

Re: Remove <a> underline in Print medium?

If you change to Print Layout and Print medium in the XML editor and use the style inspector, this would probably tell you where it's inheriting its style from.
by AlexFox
Fri Feb 16, 2018 6:11 am
Forum: Styles, Stylesheets and XML
Topic: Breadcrumbs and searchbar visibility
Replies: 5
Views: 2277

Re: Breadcrumbs and searchbar visibility

I'm not sure where the mobile media type comes from, I've never used it and I can't find it defined anywhere. You'll need to use media queries based on screen size for this, replace your @media mobile { with

@media only screen
and (min-device-width: 320px)
and (max-device-width: 480px ...
by AlexFox
Fri Feb 16, 2018 4:50 am
Forum: Styles, Stylesheets and XML
Topic: Hide body background in XML editor?
Replies: 4
Views: 2001

Re: Hide body background in XML editor?

I guess in the <head> of your document you could temporarily put <style>body { background-image: none; }</style> ?

You'd need to remove this at build time though, but you may be able to tag it out in the target so you could leave it in place in the topic.
by AlexFox
Fri Feb 16, 2018 4:42 am
Forum: Styles, Stylesheets and XML
Topic: Breadcrumbs and searchbar visibility
Replies: 5
Views: 2277

Re: Breadcrumbs and searchbar visibility

Can you show us the full media query you're using?
by AlexFox
Fri Feb 16, 2018 4:36 am
Forum: Getting Started and Installation Issues
Topic: Newbie question on using Flare and developer documentation
Replies: 4
Views: 4043

Re: Newbie question on using Flare and developer documentati

Also worth looking into Contributor, designed pretty much for this situation. You can set up a template in that so they don't need to worry about styles and everything will import straight into Flare.
by AlexFox
Fri Feb 16, 2018 4:30 am
Forum: Single-Sourcing
Topic: Topic-level condition tags not hiding information
Replies: 4
Views: 3236

Re: Topic-level condition tags not hiding information

Is there any particular reason you've structured your TOC in this way? Remember it's only the target that excludes or explicitly includes conditionally tagged items, tagging them in the TOC is just applying another level of conditional tagging. The solution is a separate target for each version of ...
by AlexFox
Thu Feb 15, 2018 1:27 am
Forum: Printed Documentation Targets
Topic: FIXED: Wrapped SMALL Words in PDF Tables
Replies: 7
Views: 3300

Re: FIXED: Wrapped SMALL Words in PDF Tables

No problem, glad you got it resolved!
by AlexFox
Wed Feb 14, 2018 9:14 am
Forum: Printed Documentation Targets
Topic: FIXED: Wrapped SMALL Words in PDF Tables
Replies: 7
Views: 3300

Re: Wrapped SMALL Words in PDF Tables

I wouldn't suggest setting it on td, instead try something like pre-wrap.

I've not used these much before, so a little guesswork is going on here...
by AlexFox
Wed Feb 14, 2018 7:56 am
Forum: Printed Documentation Targets
Topic: FIXED: Wrapped SMALL Words in PDF Tables
Replies: 7
Views: 3300

Re: Wrapped SMALL Words in PDF Tables

Try the following:

On your table selector:

Code: Select all

table-layout:fixed;
and on your th selector:

Code: Select all

white-space: nowrap;
(courtesy of stack exchange)
by AlexFox
Wed Feb 14, 2018 2:59 am
Forum: Printed Documentation Targets
Topic: FIXED: Wrapped SMALL Words in PDF Tables
Replies: 7
Views: 3300

Re: Wrapped SMALL Words in PDF Tables

You might try setting word-break: keep-all on your table or td?
by AlexFox
Wed Feb 14, 2018 2:47 am
Forum: Single-Sourcing
Topic: 1 topic, different Masterpage for each output?
Replies: 1
Views: 2006

Re: 1 topic, different Masterpage for each output?

Can I ask what you're trying to achieve? I don't believe its possible to associate a different master page to each topic at target level. You can do it from the topic properties, but I don't think this is what you're asking.
by AlexFox
Tue Feb 13, 2018 6:43 am
Forum: Web-based Outputs
Topic: Change the name of the HTML-TOC
Replies: 2
Views: 1073

Re: Change the name of the HTML-TOC

Take a look in 'UI Text' in the Skin editor
by AlexFox
Tue Feb 13, 2018 1:25 am
Forum: Web-based Outputs
Topic: Mini TOC Proxy Related...
Replies: 3
Views: 1827

Re: Mini TOC Proxy Related...

I'm not sure on the side menu proxy but as for the mini-TOC that you don't want, conditionally tag it out :)
by AlexFox
Mon Feb 12, 2018 9:35 am
Forum: Printed Documentation Targets
Topic: Tip: a dynamic watermark defined by variables!
Replies: 3
Views: 3787

Re: Tip: a dynamic watermark defined by variables!

This is a slightly similar solution to this post however with this solution you can edit the attributes of the watermark and not just the text.
by AlexFox
Mon Feb 12, 2018 9:30 am
Forum: Web-based Outputs
Topic: How to assign Ctrl-F to activate search field?
Replies: 3
Views: 2295

Re: How to assign Ctrl-F to activate search field?

Where X is the div ID of the search field. I don't believe Flare sets an ID on this field so you'd likely have to do it manually somewhere.

You could use this instead:
$(".search-field").focus();

(Instead of: document.getElementById("X").focus(); )

I'm so shabby with JS, thanks!
by AlexFox
Mon Feb 12, 2018 9:28 am
Forum: Printed Documentation Targets
Topic: Tip: a dynamic watermark defined by variables!
Replies: 3
Views: 3787

Tip: a dynamic watermark defined by variables!

Hi all,

I've seen a few threads around adding watermarks easily to PDFs so I thought I'd share what I put together the other day. This is a watermark that you can enable/disable via conditional text and when enabled, you can change the caption, colour, font-size (whatever you like really) via ...
by AlexFox
Mon Feb 12, 2018 7:50 am
Forum: Web-based Outputs
Topic: How to assign Ctrl-F to activate search field?
Replies: 3
Views: 2295

Re: How to assign Ctrl-F to activate search field?

Likely something such as;


window.addEventListener("keydown",function (e) {
if (e.keyCode === 114 || (e.ctrlKey && e.keyCode === 70)) {
document.getElementById("X").focus();
}
})

Where X is the div ID of the search field. I don't believe Flare sets an ID on this field so you'd likely have to ...
by AlexFox
Thu Feb 08, 2018 8:46 am
Forum: Flare's General Discussion
Topic: SOLVED: TOC entries not synchronized by default
Replies: 4
Views: 2602

Re: TOC entries not synchronized by default

Can you show an example of this? I've just tested with a topic called Test.htm with a few junk paragraphs under an h1 "This is a topic title".

I dragged it in to a TOC and the title applied was "This is a topic title" and in the properties I had [%=System.LinkedTitle%].

It's worth noting that when ...
by AlexFox
Thu Feb 08, 2018 8:39 am
Forum: Source Control
Topic: Delete/rename files while disconnected from source control?
Replies: 2
Views: 2186

Re: Delete/rename files while disconnected from source contr

Doing anything like moving/deleting/renaming files outside of Flare will definitely break the file mappings, flare handles the files that are bound to source control in it's own workspace and performs many subtle checkins in the background when necessary. I'd forget the project you have in source ...
by AlexFox
Thu Feb 08, 2018 7:15 am
Forum: Single-Sourcing
Topic: One topic with condition tags, or two topics with snippets?
Replies: 1
Views: 1759

Re: One topic with condition tags, or two topics with snippe

I personally prefer to utilise snippets as opposed to inline <MadCap:conditionalText>, it's more granular and makes it easier to reuse in the future. I actually tend to use inline conditional text more in things like PageLayouts for formatting purposes, such as a title page with a version number ...