Forums / Setup & design / new node without a draft? / Comment20994
Fraser Hore
Sunday 05 February 2006 7:50:59 am
Powercontent is a great extension. One of the biggest problems of Exponential is that it's quite slow to add new items. Not good for adding a quick appointment or task. Or adding multiple items quickly. The ability to put a form directly on the user page for adding a new item is great!
One problem: i haven't got it working yet :-) My class has a textline attribute with identifier "activity". It also has a date identifier but for the moment i'm trying to get it to just publish an activity name for the new item. I'm using the following code:
<form method="post" action={"powercontent/action"|ezurl} enctype="multipart/form-data"> <div> <input type="hidden" name="NodeID" value="{$node.main_node_id}" /> <input type="hidden" name="UseNodeAssigments" value="0" /> <input type="hidden" name="ClassID" value="69" /> <input type="hidden" name="RedirectURIAfterPublish" value={$node.url_alias|ezurl} /> </div> <div> <input type="text" name="powercontent_activity_ContentObjectAttribute_ezstring_data_text_pcattributeid" value="Enter new sub-activity" /> <input class="button" type="submit" name="CreateButton" value="Submit" /> </div> </form>
When i click on the submit button, it brings up the edit form with a note at the top saying the content was stored successfully. When i click on the publish button of the edit form I get the following error:
Module not found The requested module Exponential could not be found. Possible reasons for this are: * The module name was misspelled, try changing the URL. * The module does not exist on this site. * This site uses siteaccess matching in the URL and you didn't supply one, try inserting a siteaccess name before the module in the URL .
Any ideas for how to get this to work would be much appreciated!
Cheers,
Fraser