Jump to content

include a file specified by a token


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

Recommended Posts

  • Newbies

Hi all,

I hope someone can help me here, I've tried every combination I can think of... including inline; though I don't understand the syntax of inline yet

I want to specify a format file by the value of a token for example, Token 6 has the value of "pa_form_spec_entry.html"

[FMP-include: [FMP-currenttoken:6]] - this doesn't work

[FMP-inlineaction -include: -currenttoken:6][/FMP-inlineaction] - tyhis doesn't seem right either

Also, some og the postings show curly braces {} - why/when are these used.

Thanks lots for you help

Nathan

Link to comment
Share on other sites

A format file is very different from an include. Which do you want to specify in the field?

Have you tried -format=[FMP-Field: whatever] yet?

Link to comment
Share on other sites

  • 4 weeks later...

Why don't you use [fmp-if]. if your field valuees are not much different use fmp if.

it works.

[fmp-if:currenttoken.eq.whatever1][fmp-iclude:whatever1.html][/fmp-if]

[fmp-if:currenttoken.eq.whatever2][fmp-iclude:whatever2.html][/fmp-if]

[fmp-if:currenttoken.eq.whatever3][fmp-iclude:whateve3r.html][/fmp-if]

while coming to that page let your token pass to that page according to the value of your specified field.

I use that to be able to see the different forms of the specified students.

I take the the list of the students and in an pop up menu I choose the name of the form. That value becomes the value of my token and bu pushinhg a go ( name:-find) button ( in a form ).

And my ifs specifies the htmls.

abkaplan

Link to comment
Share on other sites

This topic is 8513 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.