Jump to content

This topic is 7848 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

hi everybody

I want to have the navigation buttons code in a text file in the "includes" folder.

Seems easy but when I'm testing the html-text doesn't get included. In the browser it looks like this:

[FMP-Include: includes/prod_Nav_left.txt].

An older project that has exactly the same syntax works perfectly in the same test environment.

Anybody got an idea?

kind regards

PJ Wassermann

Posted

Hi, that syntax looks absolutely fine. This works for me:

[FMP-INCLUDE:homeincludes/homehead.txt]

as does:

[FMP-IF: block.cn.am]

[FMP-INCLUDE:blank.txt][FMP-ELSE]

[FMP-INCLUDE:hoursam.txt]

[/FMP-IF]

........where the include "hoursam.txt has FMP-Fields in it, so an "include" command is executed first before cdml tags are replaced with values.

Is is too obvious to ask if you're calling the page with an action rather than just a url ?

If so, maybe you could post the whole code as I cant see why it doesn't work

regards, jeff

Posted

Hi Jeff

Thanks, you brought me on track. Obviously I've got too much in my head currently: I forgot that I called the page with a normal html-link instead of a FMP-link! That was all.

kind regards

PJ Wassermann

This topic is 7848 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.