Search found 68 matches

by JRtechw
Tue Oct 15, 2019 5:54 pm
Forum: Tips and Tricks
Topic: Source Control, Build and Publish
Replies: 3
Views: 3909

Re: Source Control, Build and Publish

What source control are you using? If your SC has good branching and merging functions, this sounds like something you can do using branches.

For example, we use DevOps Git and work on our knowledge base like a dev team: we have a 'main' branch and at least one 'feature' branch with new release ...
by JRtechw
Wed Oct 02, 2019 4:11 pm
Forum: Printed Documentation Targets
Topic: Not printing bottom frame content to PDF
Replies: 3
Views: 2443

Re: Not printing bottom frame content to PDF

MadCap Support eventually found the answer to the problem. We have a generic class in our general CSS file called .header , which is applied to a div that contains the navigation strip. This class has a height value, which was causing the footer to not display when published to PDF.

I just set the ...
by JRtechw
Wed Sep 25, 2019 11:14 pm
Forum: Printed Documentation Targets
Topic: Not printing bottom frame content to PDF
Replies: 3
Views: 2443

Not printing bottom frame content to PDF

Flare 2019, vanilla publishing to PDF.

We recently discovered odd behaviour in our Flare project. We have a set of page layouts that are pretty standard: Front/Left/Right/Empty pages, header frame up top, body frame in middle, and footer frame down the bottom with a table that has a copyright text ...
by JRtechw
Wed Sep 18, 2019 3:20 pm
Forum: Web-based Outputs
Topic: Adding attributes to generated TOC links
Replies: 4
Views: 1886

Re: Adding attributes to generated TOC links

Using *.htm#xxxx looks like the only way to add 'stuff' at the end of the TOC link in that field, yeah.

The trouble is, you need to point to an actual existing bookmark, otherwise the builder will report a 'bookmark not found' error and happily strip the hash out of the URL when it generates the ...
by JRtechw
Tue Sep 17, 2019 8:40 pm
Forum: Web-based Outputs
Topic: Adding attributes to generated TOC links
Replies: 4
Views: 1886

Re: Adding attributes to generated TOC links

Hm, I just assumed that any manual edits would be treated the same as if attempted through the GUI, but I'll have a play and see if I can fudge something.
by JRtechw
Tue Sep 17, 2019 5:50 pm
Forum: Web-based Outputs
Topic: Adding attributes to generated TOC links
Replies: 4
Views: 1886

Adding attributes to generated TOC links

Flare 2019, HTML5 skinless output

We've moved to a paginated nav framework, after our knowledge bases expanded to a point where Top Nav was no longer feasible. Pagination uses a bit of JS to slide div blocks of content in and out, as the user navigates through paginated tabs of topic blurbs.

Not ...
by JRtechw
Thu Sep 12, 2019 9:00 pm
Forum: Source Control
Topic: Publishing to a Git repo from an SVN-bound Flare project
Replies: 1
Views: 2830

Re: Publishing to a Git repo from an SVN-bound Flare project

OTTOMH it seems tricky without a 'Publish event' equivalent in the Flare Target.

You could either:

1. Have a Windows batch file that uses madbuild to build and publish the project, and after the files have been published to your local git repo, fire off some git bash commands to handle the ...
by JRtechw
Thu Sep 12, 2019 8:42 pm
Forum: Tips and Tricks
Topic: How to set conditional tags to multiple blocks of the text
Replies: 7
Views: 4630

Re: How to set conditional tags to multiple blocks of the te

What a handy little shortcut! Thanks fgbg.

It even works on span-level conditioning. Select the text you want to apply to, and drag and drop to the selected text.
by JRtechw
Sun Sep 01, 2019 10:46 pm
Forum: Tips and Tricks
Topic: Adding snippets in the drop-down text
Replies: 2
Views: 2899

Re: Adding snippets in the drop-down text

Hi Roja,

I tested this, and Flare will happily let you just put <li></li> elements by themselves in a snippet, without surrounding <ol> or <ul> elements. You can then insert the snippet anywhere in a list on a line by itself, and when Flare compiles the output the builder will just seamlesly stitch ...
by JRtechw
Sun Sep 01, 2019 2:43 pm
Forum: Tips and Tricks
Topic: Modify stop words list for HTML5 output
Replies: 4
Views: 10927

Re: Modify stop words list for HTML5 output

They were 'I', 'how', and 'which' (or at least I'm pretty sure the third one was 'which'). Definitely adding 'I' helped, because most Google-esque search attempts seemed to be 'how do I..', 'how can I...', and variations thereof.
by JRtechw
Sun Sep 01, 2019 2:35 pm
Forum: Web-based Outputs
Topic: Micro content featured search not honouring results skin
Replies: 4
Views: 1741

Re: Micro content featured search not honouring results skin

Thanks Psider, no idea that was there!
by JRtechw
Thu Aug 29, 2019 4:02 pm
Forum: Web-based Outputs
Topic: Micro content featured search not honouring results skin
Replies: 4
Views: 1741

Re: Micro content featured search not honouring results skin

I think we might have our wires crossed, because there certainly is a 'Search Results Skin', and you can certainly select it as your default Search Results skin in a HTML5 target.

1. Go to Project Organiser > Skins > Right-click > Add Skin. One of the skin options is 'HTML5 Component - Search ...
by JRtechw
Wed Aug 28, 2019 9:26 pm
Forum: Web-based Outputs
Topic: Micro content featured search not honouring results skin
Replies: 4
Views: 1741

Micro content featured search not honouring results skin

Flare 2019.

Have a very odd problem. I have two projects, both using the new micro content featured search results, and both with *exactly* the same search results skin.

In the search results skin, I've removed all visibility of the expand/collapse section at the bottom of the featured search ...
by JRtechw
Wed Aug 28, 2019 6:38 pm
Forum: Tips and Tricks
Topic: Modify stop words list for HTML5 output
Replies: 4
Views: 10927

Modify stop words list for HTML5 output

Yes, it’s possible, but it does involve making an extremely minor change to one of Flare’s main .js files and overwriting this file in the output. I’m not sure if this kind of solution is frowned upon in the user forums, so if this needs to be quietly excised, so be it.

However, in my defence:

1 ...
by JRtechw
Thu Aug 22, 2019 3:55 pm
Forum: Web-based Outputs
Topic: Pushing a topic to the top of the search rankings
Replies: 3
Views: 1820

Re: Pushing a topic to the top of the search rankings

Are you on Flare 2019? I've found the new 'featured search' micro content feature a godsend when you're trying to funnel specific search results. Just add your search term and create a snippet that will appear at the top of search results when a user enters that term.

You could also load the ...
by JRtechw
Tue Aug 20, 2019 5:47 pm
Forum: Web-based Outputs
Topic: Search in the form of questions not working
Replies: 12
Views: 8454

Re: Search in the form of questions not working

Sorry if this is a little late, but I also faced the same problem in our HTML5 knowledge bases. Our users are so used to Google searches that natural language queries are very common, and often produce no results, identified in Google Analytics.

I have a custom SERP for no results, but I've found ...
by JRtechw
Sun Aug 18, 2019 9:53 pm
Forum: Web-based Outputs
Topic: HTML5 Search -- Null results detection and custom page
Replies: 10
Views: 5529

Re: HTML5 Search -- Null results detection and custom page

Much appreciated on that null result detection code btw Dave. I was scratching my head wondering how I'd grab the number of search results.
by JRtechw
Mon Aug 12, 2019 8:34 pm
Forum: Web-based Outputs
Topic: HTML5 Search -- Null results detection and custom page
Replies: 10
Views: 5529

Re: HTML5 Search -- Null results detection and custom page

Success!

If you use gtag.js and not analytics.js, the event to send would be something like:

gtag('event', 'No results', {
'event_category': 'search',
'event_label': searchTerm,
});

where <searchTerm> is the search term that produced no results, captured by your null result capture javascript ...
by JRtechw
Sun Aug 11, 2019 7:48 pm
Forum: Web-based Outputs
Topic: HTML5 Search -- Null results detection and custom page
Replies: 10
Views: 5529

Re: HTML5 Search -- Null results detection and custom page

Turns out this question *has* been asked before, more or less:

viewtopic.php?f=13&t=27867

I'll use Dave Lee's null result detection code and see how that goes. I can probably just expose a div with said advice on an empty search detection.
by JRtechw
Sun Aug 11, 2019 7:10 pm
Forum: Web-based Outputs
Topic: HTML5 Search -- Null results detection and custom page
Replies: 10
Views: 5529

HTML5 Search -- Null results detection and custom page

Hi Flare users,

I did search for anything related to null or empty searches in here and couldn't find anything.

So I want to detect a search that returns no results, and:

a) redirect to a custom 'no results' page with info on search refinement and alternate options for better searching
b) send ...
by JRtechw
Wed Feb 20, 2019 5:45 pm
Forum: Flare's General Discussion
Topic: Sub-project reporting granularity
Replies: 0
Views: 866

Sub-project reporting granularity

Hi Flare users,

Using: Flare 2018 r2

Quick question: Is there a way to run reports on a selected group of topics only, or subfolders in the Content Explorer only? I want to run a Word Count report on two folders only to demonstrate how many words have been written on a particular function, but can ...
by JRtechw
Sun Feb 03, 2019 8:59 pm
Forum: Web-based Outputs
Topic: Force Reload of TOC after publishing new content
Replies: 20
Views: 15709

Re: Force Reload of TOC after publishing new content

Static header cache directives are not compliant with HTML5. Those two meta tags (refresh and pragma) will be ignored by up-to-date browsers. You have to set the caching directive in the HTML response header sent from your web server. I imagine that there is nothing that MadCap can do on the Flare ...
by JRtechw
Sun Jan 20, 2019 5:41 pm
Forum: Web-based Outputs
Topic: SecondLevel Dropdown Images
Replies: 3
Views: 2828

Re: SecondLevel Dropdown Images

Hope the original author doesn't mind, but I was asked to provide right-hand-side toggle chevrons for the FAQ dropdowns that i supply to our app developers, to match the app. Most app frameworks seem to have right-side indicators for drop-down sections, so i thought this bit of work might be helpful ...
by JRtechw
Thu Dec 06, 2018 6:46 pm
Forum: Web-based Outputs
Topic: Search result filter system
Replies: 10
Views: 8586

Re: Search result filter system

Hi Lexi,

Unfortunately, I have been sidetracked by a project to integrate Flare's CleanHTML output into MS Dynamics using the Dynamics Web API. I'd almost forgotten about this, but it would still be a cool thing to do. Might look at this in Q1 2019.

Sorry I didn't have happier news!

Cheers,

JR
by JRtechw
Thu Sep 27, 2018 4:34 pm
Forum: Web-based Outputs
Topic: Behaviour of non-words in searches if exclude enabled
Replies: 0
Views: 675

Behaviour of non-words in searches if exclude enabled

Our Support recently brought to my attention that time values entered in the search bar produced erratic results.

For example, '10:20 am' and '11.20' produced a couple of results of no relevance.

The Target > Search tab > Exclude non-words from search option is enabled for all my projects. Can I ...