Open orchardbot opened 11 years ago
@Piedone commented:
I'm not sure I understand. You'd like to be able to use Razor inside the body text?
Znowman commented:
Well I think he means he would like to insert a complete dynamic shape into a bodypart text.
Like a macro which you can select from for example a dropdown and surround it by your custom text in the body part. Just like a template system
Nice idea!
@Piedone commented:
Tokens?
@csurieux commented:
@znowman yes excatly. Not necessarly the great armada or razor, may be something more soft and fast, May be a filter dedicated to this new flavor for body, a dedicated keyword esay to detect in the xml nodes of the body ( I see Bertrand doing this for url in vandely extensions) Only problem I see is pluggin the filter to the shape using its name and parameters (parts?) sent ?
@csurieux commented:
And having the shape interpreted also....
@agriffard commented:
You want a 'WordPress ShortCode' like feature ;-)
@csurieux commented:
I don't know this ShortCode, but in my older WebForm time, I was able to do this ... but there were no shapes and this seems to be the killer Orchard concept.
@csurieux created: https://orchard.codeplex.com/workitem/19805
May be I missed it but I don't found a module to do this. We should be able to:
invoke all extensions (html, url, display) to secure path to files and images for and (kind of razor parsing/translating tool)
insert any shape prepared for this bodypart, or the keyword used , this could solve many problems as floating menu. form-posting, dynamic content client-side, etc
To do this today, the only solution I found is writing a dedicated module to replace body part, and for each demand building a new module ????
As far as on some other issues some are speaking about replacing or upgrading the text-editor, this could be a door to allow insertion of dedicated shapes that could be analyzed and converted inside the body shape builder code ? I am interested to work on this.