I thought when you built an "endpoint" all its parts were removed and
only your controller's views were used, instead. How can I edit the
static text in my view via the Radiant UI? That would be awesome.
That was a recent addition. Someone (I don't recall who) was annoyed by
it clearing all existing parts. We discussed and mulled it over, and I
decided that, as long as they aren't saved, it's ok to overwrite
existing parts. Take a look at RailsPage#build_parts_from_hash to see
how that works.
So, in your example above, you created a "sidebar" and a "body" part
within your rails views. And I wanted to write the sidebar using
Textile and the body using Markdown, I would create an Endpoint Page
via the Radiant UI corresponding to my controller and in it create two
Page Parts - "sidebar" and "body" and assign each part the correct
filter.
Is this correct?
Exactly, except that the "endpoint" page is going to be called
"Application" in the UI. I'm open to changes on this if someone has a
better name.
Sean
_______________________________________________
Radiant mailing list
Post: [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site: http://lists.radiantcms.org/mailman/listinfo/radiant