Jump to content

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

Recommended Posts

Posted

CDML doesn't do nested portals, right?

Like:

[FMP-portal:P1]

[FMP-field:P1::fieldp1]

[FMP-portal:P2]

[FMP-field:P2::fieldp2]

[/FMP-portal]

[/FMP-portal]

... or is there something special needed?

Thank you.

Bradley

Posted

FM doesn't nest portals

CDML 'lives' on the top of it...therefor frown.gif

...it would be nice though

All the best

Posted

Thanks for the post reply, Leb i Sol.

Yeah, too bad... it would be easier, no?

Wanna see my solution? (Makes the second portal in the layout, maybe even the second relation, unneeded... until I think of something more complicated. :-)

<table>

[FMP-portal:P1]

<tr>

<td>[FMP-field:name]</td>

<td>

[FMP-inlineaction: -db=db.fp5, -lay=main, id={field:P1::theid}, -find ]

[FMP-field:item]

[/FMP-inlineaction]

</td>

</tr>

</table>

Of course the related "theid" field needs to be suppled in the P1 portal.

Bradley

Posted

smile.gif

I wish this was a function in FM...nested portals that is...

it would be nice to use it when it comes to looking into whole hierarchical structure

ItemID

|___Customers

|_____Repairs

|_______Workers of the Item

|___________Shipping Companies

etc.

|___ <--- being a portal

I know u can "simulate" this when making repors and sub-sub-sub's but no real solution for this when it comes to entry/forms/portals on one layout....perhaps some day laugh.gif

All the best!

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