@soda:
I hope this is what you mean by FURL configuration:
- Use friendly URLs: yes
- Prefix for friendly URLS: (empty)
- Suffix for friendly URLS: /
- Use friendly aliases: Yes
- Use friendly alias path: Yes
- Allow duplicate aliases: No
- Automatically Generate Aliases: No
I am pretty sure that all parents have an alias, as new documents are accessibly via their friendly url (say /events/test_event/ in my example earlier).
A few other things: I think an earlier poster wanted it to be possible to be able to display content depending on if the document is being edited (so an editor does not see both the edit form and the previous content at the same time). I have just realised that this is easy with PHx, and the "get" custom modifier (In my case I am placing this in a ditto template as you suggest):
[+phx:if=`[+phx:get=`fdmid`+]`:is=`[+id+]`:and:if=`[+phx:get=`fdmaction`:limit=`4`+]`:is=`edit`:then=``:else=`
... Usual ditto template for displaying information in the document...
`+]
[[FDM? &model=`107` &parent=`104` &eform_tpl=`editEventForm` &id=`[+id+]`]]
What this does it check if in the URL of the page there is an parameter "fdmaction" that starts with "edit" and if the parameter "fdmid" is equal to the current document being processed by ditto. If the page is being edited by FDM, then the document itself is not displayed, only the FDM edit form.
Also, I have discovered a problem with 0.0.97: editing a document does not actually edit the document: instead a new document is created in the root of the website and the old document (in a container) is unchanged.
Tommy T.