Hallo, 
 
for my module I want to provide a new stk template with a customized
form. 
 
What I did: 
1) The Template: 
- copied stk-template 'stkForm' to
myModule/templates/newsletter/subscribe (changed template name to
'subscribe')
- changed mainArea.singletonParagraph to 'subscribeForm' 
2) The paragraph: 
- copied form paragraph 'form' from the form module to
myModule/paragraphs/newsletter/subscribeForm (changed name to
'subscribeForm')
- changed dialog to 'subscribeForm'
- removed all formProcessors nodes (first step: do nothing, just
forward)
3) The dialog: 
- copied dialog 'form' from form module to
myModule/dialogs/newsletter/subscribeForm
- removed all email tabs (not needed)
 
Now I created a new page within the example project and choosed my new
template. When opening the page everything seems to be nice but when
opening the form dialog I still see the email-Tabs. Since I have deleted
these tabs for my custom dialog the system is displaing the wrong dialog
or the wrong paragraph. 
 
What did I do wrong? 
 
I am able to create a simple form and submit it. For the redirect after
submission I choose the domo home page. When sending the form I get a
404-page with RequestURI=/demo-project.html. 
 
No email-related errors show up on the console indicating to me that no
form actions where executed. The system uses the correct form paragraph.
 
2 Problems: 
- Why does the system render the wrong dialog?
- The generated redirect URL is uncomplete (context path is missing).
 
Any suggestions how to get around this?


Thanks

Wolf

----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to