Search found 44 matches

by arshabhirai
Wed Nov 07, 2018 6:54 am
Forum: Flare's General Discussion
Topic: Index externally hosted content
Replies: 3
Views: 1607

Re: Index externally hosted content

I'd suggest checking Flare's help; e.g. https://help.madcapsoftware.com/flare2018r2/Content/Flare/Targets/More/Setting-Up-Search-Engine.htm Flare's built in search control can use MadCap Search or Elasticsearch (or Google). Pretty sure Elasticsearch can index external files, and MadCap search can d...
by arshabhirai
Tue Nov 06, 2018 7:42 am
Forum: Flare's General Discussion
Topic: Index externally hosted content
Replies: 3
Views: 1607

Index externally hosted content

We have a number of pages in our docs that are hosted externally; unfortunately, Flare's search engine does not index those content. I would especially like to index the API references so that users can search for specific objects, constructs, properties, etc. I was wondering if there is a way to ma...
by arshabhirai
Fri Aug 03, 2018 8:55 am
Forum: Web-based Outputs
Topic: Third-party search engines
Replies: 7
Views: 5153

Re: Third-party search engines

I should have read thread before trying to implement Google's custom search engine. As @minicyclist pointed out, Flare search engine is too limited when it comes to searching documents stored externally. Has anyone successfully implemented Elastic or any other third party search engine?
by arshabhirai
Fri Aug 03, 2018 8:32 am
Forum: Web-based Outputs
Topic: Google Custom Search revisited
Replies: 13
Views: 7551

Re: Google Custom Search revisited

I didn't realize this earlier, but it looks like Google ads will be displayed with a free account. It's possible to implement an ad-free custom Google search engine using JSON API (a bit of work is involved here as well). However, only 100 search queries per day are free, after which it will cost $5...
by arshabhirai
Fri Aug 03, 2018 5:33 am
Forum: Web-based Outputs
Topic: Google Custom Search revisited
Replies: 13
Views: 7551

Re: Google Custom Search revisited

I haven't used Google search in a few years, but I'd assume you have to verify your site and submit it for indexing - you'll not see search results until it's indexed. Steps are in that help page I linked to: https://help.madcapsoftware.com/flare2018/Content/Flare/Search/Optimizing-Search/Google-Se...
by arshabhirai
Thu Aug 02, 2018 8:13 am
Forum: Web-based Outputs
Topic: Google Custom Search revisited
Replies: 13
Views: 7551

Re: Google Custom Search revisited

Would really appreciate some help. Thank you! Ok, this thread is 4 years old now, and the good news is that since then, MadCap have added support for Google Search in Flare - for HTML5 top nav or side nav. It's in the help: https://help.madcapsoftware.com/flare2018/Content/Flare/Search/Optimizing-S...
by arshabhirai
Thu Aug 02, 2018 7:39 am
Forum: Web-based Outputs
Topic: Google Custom Search revisited
Replies: 13
Views: 7551

Re: Google Custom Search revisited

2. In your main page (i.e. Default.htm), in the <div id="header"> element, replace the entire <div class="search-bar needs-pie"> element with: <div style="width: 300px; float: right;"> <gcse:search></gcse:search> </ div> By default, the Google search box will want to t...
by arshabhirai
Tue Feb 06, 2018 1:01 pm
Forum: Flare's General Discussion
Topic: Sticky TOC Overlaps Footer when Scrolling
Replies: 15
Views: 9447

Re: Sticky TOC Overlaps Footer when Scrolling

After Flare's v3 update, this is not working for me. The fixed side menu is overlapping the footer when scrolling. The behavior is the same with Flare's fixed menu option :(. I've just tried that exact code in 2017r3, and it works fine for me. You can not use this with a fixed menu; the Fixed menu ...
by arshabhirai
Sat Feb 03, 2018 12:40 pm
Forum: Flare's General Discussion
Topic: Dropdown menu cuts off at the bottom of the screen
Replies: 2
Views: 1404

Re: Dropdown menu cuts off at the bottom of the screen

I can't quite visualize what you are referring to as a "drop-down menu" in your output. Perhaps you could show us a screencapture of what you're seeing so we can better help you. Thanks. Hi Nita, Thanks for your reply. This is the existing behavior: | Menu | | Menu | | Menu +------------+...
by arshabhirai
Wed Jan 31, 2018 6:49 am
Forum: Flare's General Discussion
Topic: Sticky TOC Overlaps Footer when Scrolling
Replies: 15
Views: 9447

Re: Sticky TOC Overlaps Footer when Scrolling

After Flare's v3 update, this is not working for me. The fixed side menu is overlapping the footer when scrolling. The behavior is the same with Flare's fixed menu option :(. I've just tried that exact code in 2017r3, and it works fine for me. You can not use this with a fixed menu; the Fixed menu ...
by arshabhirai
Tue Jan 30, 2018 1:52 pm
Forum: Flare's General Discussion
Topic: Sticky TOC Overlaps Footer when Scrolling
Replies: 15
Views: 9447

Re: Sticky TOC Overlaps Footer when Scrolling

I had the same issue, and the only solution I found was to set it up using Foundation's sticky component - which is what Flare's fixed setting is actually using behind the scenes. First, do not use the Fixed menu setting in Flare's menu proxy skin, make sure it's set to None . Flare's implementatio...
by arshabhirai
Tue Jan 30, 2018 12:49 pm
Forum: Flare's General Discussion
Topic: Dropdown menu cuts off at the bottom of the screen
Replies: 2
Views: 1404

Dropdown menu cuts off at the bottom of the screen

On my laptop which has 1366x768 resolution, the drop-down menu goes off the screen (only at the bottom), and it is impossible to get to most of the menu items. I made some style changes to adjust it, but I don't think CSS can fix it. I also tried some JS script, but it hasn't helped. Is there a way ...
by arshabhirai
Tue Jan 30, 2018 9:43 am
Forum: Flare's General Discussion
Topic: HTML/PHP Feedback form: Email Submit
Replies: 13
Views: 32314

Re: HTML/PHP Feedback form: Email Submit

Here is what I've got at the moment:
Feedback-Example.png
I have added a button on the master page. When users click the button, it triggers a script to open the feedback form.
by arshabhirai
Tue Jan 30, 2018 9:33 am
Forum: Flare's General Discussion
Topic: HTML/PHP Feedback form: Email Submit
Replies: 13
Views: 32314

Re: HTML/PHP Feedback form: Email Submit

Hi arshabhirai, I've never used PHP before but am really interested in adding the feedback form to my Flare project. Sorry for the basic questions, but did you create the PHP code file in Notepad and then save it in the Scripts folder of your Flare project? If yes, where do you insert the PHP scrip...
by arshabhirai
Wed Nov 22, 2017 12:49 pm
Forum: Flare's General Discussion
Topic: Web Contact Form
Replies: 4
Views: 2826

Re: Web Contact Form

I'm interested as well! Right now, we have a feedback button in our topic toolbar at the top of each topic. That allows a user to email us directly, with the subject about the specific topic they were on when they clicked that feedback button. But, we also have a single "Contact Us" page ...
by arshabhirai
Tue Nov 21, 2017 11:20 am
Forum: Flare's General Discussion
Topic: HTML/PHP Feedback form: Email Submit
Replies: 13
Views: 32314

Re: HTML/PHP Feedback form: Email Submit

It finally worked and here is the script I used: <?php $comments = $_POST['comments']; $to = 'example@example.com'; $subject = 'Feedback received from customer documentation website'; $url = "http://".$_SERVER['HTTP_REFERER']; $from = 'feedback@example.com'; $headers[] = 'From: $from'; $he...
by arshabhirai
Thu Nov 16, 2017 2:44 pm
Forum: Flare's General Discussion
Topic: HTML/PHP Feedback form: Email Submit
Replies: 13
Views: 32314

Re: HTML/PHP Feedback form: Email Submit

I have added the full URL in the action attribute and looks like it will work -- getting there! When I click the submit button, instead of running the script, the ‘mailer.php’ page opens in the browser, and all the codes are displayed. Two possible reasons: our server does not support PHP (I have al...
by arshabhirai
Thu Nov 16, 2017 6:41 am
Forum: Flare's General Discussion
Topic: HTML/PHP Feedback form: Email Submit
Replies: 13
Views: 32314

Re: HTML/PHP Feedback form: Email Submit

Thanks, guys. Yes, makes sense to add the full path. I will try that today. Cheers!
by arshabhirai
Wed Nov 15, 2017 8:09 am
Forum: Web-based Outputs
Topic: Footer Width
Replies: 22
Views: 14063

Re: Footer Width

Although this solves the problem of stretching the footer across the full width of the viewport, one should be aware that the body (or some other element automatically generated by Flare/Foundation) is set to 100 vh min-height, thus pushing the footer out of the visible area of any screen - regardl...
by arshabhirai
Wed Nov 15, 2017 7:59 am
Forum: Web-based Outputs
Topic: Multiple Top Navigation Bars
Replies: 8
Views: 4313

Re: Multiple Top Navigation Bars

minicyclist wrote:Hi,

Did you get this to work? I'd like to have second nav bar which is generated using a different TOC, or entirely manually. But I can't see where/how to insert the menu proxy.

Thanks,
Ian
I haven't had time to work on this further. It's on my list of things to do.
by arshabhirai
Wed Nov 15, 2017 7:47 am
Forum: Flare's General Discussion
Topic: HTML/PHP Feedback form: Email Submit
Replies: 13
Views: 32314

Re: HTML/PHP Feedback form: Email Submit

The action of the form submit needs to point to the PHP script on your site. Once the script gets the form content posted the front end is done with its work. Can you share the HTML of the popup? Hi RamonS, Thank you for your reply. Here is my HTML that I have added to the master page: <!--Feedback...
by arshabhirai
Wed Nov 15, 2017 7:34 am
Forum: Flare's General Discussion
Topic: HTML/PHP Feedback form: Email Submit
Replies: 13
Views: 32314

Re: HTML/PHP Feedback form: Email Submit

You'll probably need to use an iframe and access the PHP on your server from there. Flare doesn't know how to use PHP code. Take a look at this thread: https://forums.madcapsoftware.com/viewtopic.php?f=9&t=13293&start=0 Thanks for your reply. Could you please explain a bit more. I am comple...
by arshabhirai
Tue Nov 14, 2017 12:29 pm
Forum: Web-based Outputs
Topic: Adding PHP code to master pages
Replies: 6
Views: 11046

Re: Adding PHP code to master pages

For those interested, this is how I have implemented it using two files: /root/includes/session.php : this is a where the authentication logic resides. There is an array $attributes which is ALWAYS set. If the user is authenticated, then it contains the user data. If the user isn't authenticated, t...
by arshabhirai
Mon Nov 13, 2017 2:46 pm
Forum: Flare's General Discussion
Topic: Web Contact Form
Replies: 4
Views: 2826

Re: Web Contact Form

Is there a way to create a contact form in Flare? I'd like to have a form on our "Contact Us" page where the user could enter their name, email and question details and the information will go directly to an email address (our service desk department). Is this possible and if so, how? Hi ...
by arshabhirai
Mon Nov 13, 2017 2:18 pm
Forum: Flare's General Discussion
Topic: HTML/PHP Feedback form: Email Submit
Replies: 13
Views: 32314

HTML/PHP Feedback form: Email Submit

Hi all, I have added a feedback button on the master page; when a user clicks the button, a popup modal opens that has a text area and a button to submit their feedback. The frontend part is done, but I am struggling to make the PHP script work for email submission. I am not sure if this even possib...