• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Conditional tags work locally but not on web server

Community Beginner ,
Jun 12, 2018 Jun 12, 2018

Copy link to clipboard

Copied

After I generate my pages and view locally, the content that I have excluded with a conditional tag is not visible - everything works great!

I have 3 conditional tags and all three work properly when viewed locally.

When I ftp the files to the web server, only content from one of the tags is hidden.

2018-06-12_16-51-51.png

When I look at the properties of the conditional tags, only Quick Tips shows the NOT expression.

2018-06-12_16-53-47.png

2018-06-12_16-53-36.png

I tried removing all 3 conditional build tags and only using one and still have the same problem. It works locally but not after I ftp the files to the web server.

I must be copying something I shouldn't?

Thanks for any ideas you can provide.

Mary Ann

Views

298

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Beginner , Jun 13, 2018 Jun 13, 2018

Thanks for your help and questions. It is a problem with our load balancer and it is pointing to my dev site (which doesn't apply any conditional tags)

Your questions and comments helped me test and figure it out!

Votes

Translate

Translate
LEGEND ,
Jun 12, 2018 Jun 12, 2018

Copy link to clipboard

Copied

Hi there

Sorry, but we have questions that need answers before we proceed.

First - What version of RoboHelp are you using?

Second - What is your output? WebHelp? Responsive HTML 5?

If you can help us by answering those questions we can better guide you.

Cheers... Rick

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jun 12, 2018 Jun 12, 2018

Copy link to clipboard

Copied

Sorry about that, my version is 2017 and I am generating responsive html.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jun 12, 2018 Jun 12, 2018

Copy link to clipboard

Copied

Okay. First, you need to understand that with conditional tagging, you apply tags to content or to pages for two different reasons.

Reason 1. You want to create an output and control what the output contains. So you tag information and at the time you generate the output from RoboHelp, you decide what information is included or not, based on the tags and build expression. That seems to match what you are showing in your screen captures.

Reason 2. You are creating a Responsive HTML5 output and you want to use the Filters option. In this case the end user (not the author) decides what information is presented based on the filtering mechanism.

So which of the reasons are you using Conditional tags?

Cheers... Rick

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jun 13, 2018 Jun 13, 2018

Copy link to clipboard

Copied

Reason 1

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jun 13, 2018 Jun 13, 2018

Copy link to clipboard

Copied

Here are two screen shots of what I was describing.

2018-06-13_8-47-37.png

2018-06-13_8-47-55.png

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 13, 2018 Jun 13, 2018

Copy link to clipboard

Copied

Are you manually FTPing the contents of your local \!SSL!\ folder up to the web server or using the Publish feature inside RH? Because if you manually copy stuff up, you should be able to delete all the files already loaded & upload all the contents of the locally generated files to get an exact copy of what's local. If it's still not behaving, I would try flushing your browser cache or experiment with a different browser/machine.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jun 13, 2018 Jun 13, 2018

Copy link to clipboard

Copied

I am manually copying the files.

I have deleted all the files on the server.

I have cleared cache and used different browsers.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 13, 2018 Jun 13, 2018

Copy link to clipboard

Copied

And still getting the same results as before? Bizarre! There's got to be something going on on that web server that's showing the incorrect files.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jun 13, 2018 Jun 13, 2018

Copy link to clipboard

Copied

LATEST

Thanks for your help and questions. It is a problem with our load balancer and it is pointing to my dev site (which doesn't apply any conditional tags)

Your questions and comments helped me test and figure it out!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
RoboHelp Documentation
Download Adobe RoboHelp