tag:help-archives.hannonhill.com,2010-02-09:/discussions/how-do-i/18184-asset-factory-to-create-page-blockCascade CMS: Discussion 2015-06-17T14:23:48Ztag:help-archives.hannonhill.com,2010-02-09:Comment/368917092015-05-27T15:10:56Z2015-05-27T15:10:56ZAsset Factory to create Page & Block<div><p>Hi Steven,</p>
<p>The only way to generate multiple assets from a single Asset
Factory would be to:</p>
<ul>
<li>Create a Folder that contains both a base page and base XHTML
block</li>
<li>Create a Folder Asset Factory that uses the new folder as the
base asset</li>
</ul>
<p>When the user creates the new "folder", it will contain the base
page and block. The only downside here is the user would need to
edit the page and block after the folder is created.</p>
<p>That being said, a possible solution could be to create an
<a href="http://www.hannonhill.com/kb/Plug-Ins/">Asset Factory
plugin</a> and use the <code>doPluginActionPost</code> method to
essentially hook into the page creation and generate a new
block.</p>
<p>Please let me know if you have any questions.</p>
<p>Thanks!</p></div>Ryan Griffith