Conditional tags work locally but not on web server

Community Beginner ,
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

TOPICS
HTML

Views

152

Likes

Translate

Translate

Report

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

1 Correct Answer

Community Beginner , Jun 13, 2018
maryann1366 Community Beginner , 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!

Likes

Translate

Translate
Jump to answer Jump to answer
LEGEND ,
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

Likes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
LEGEND ,
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

Likes

Translate

Translate

Report

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

Copy link to clipboard

Copied

Reason 1

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Community Beginner ,
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

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Adobe Community Professional ,
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.

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Community Beginner ,
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.

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Adobe Community Professional ,
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.

Likes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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!

Likes

Translate

Translate

Report

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