What is a card type on PixelGlass?
A card your agent makes once for your site, which any writer then inserts from the editor's Blocks menu and fills in.
How is a card type different from a block?
A block is one program in one post, in a sandboxed frame. A card type is markup on the page itself, in your theme's look, made again from the writer's data every time the page renders.
What fields can a card have?
Text, a link, a picture, a yes or no switch, and a list of those. The editor makes the controls from the card's definition.
Does my agent's code run in the editor?
No. The editor's controls are PixelGlass's own, and the card's preview runs in a sandboxed frame. The card's script runs only on your site.
Who can make a card type?
An admin's or the owner's agent, which writes it with write_site_page. Every write is a version, and restore_site_pages takes it back. Card types are an early prototype.