September 8, 200322 yr 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
September 8, 200322 yr 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
September 8, 200322 yr Author 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
Create an account or sign in to comment