ibiubu Posted September 24, 2002 Posted September 24, 2002 Currently have a cdml that looks like: [FMP-Portal:files] <a href="[FMP-Field:files::ftpcal]" target="_blank"> <span class="text">[FMP-Field: files::ftpfil]</span></a> <span class="text">[FMP-field:files::ftpdes]</span> [/FMP-Portal] This creates a url link on my web page. This sits in a table, and represents a portal. So on any given page there might be any number of these links from the portal. I want to add a if statement to the solution, so that only the portal items where a field eq yes shos up. Example: [FMP-If: webactive .eq. Yes][/FMP-If] Where do I add this to my soltion? Does it go at the beginning and the end like this? [FMP-Portal:files] [FMP-If:files::webactive .eq. Yes] <a href="[FMP-Field:files::ftpcal]" target="_blank"> <span class="text">[FMP-Field: files::ftpfil]</span></a> <span class="text">[FMP-field:files::ftpdes]</span> [/FMP-If] [/FMP-Portal] I have not used the [FMP-If] before so I am assuming this is correct. Just wanted to ask some experienced users. LR
Garry Claridge Posted September 24, 2002 Posted September 24, 2002 Larry, That looks fine to me. All the best. Garry
Recommended Posts
This topic is 8087 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 accountSign in
Already have an account? Sign in here.
Sign In Now