Hi,
I am currently trying to set up newspublisher in a non-standard contexts (see tutorial:
http://rtfm.modx.com/display/revolution20/Creating+a+Subdomain+from+a+Folder+using+Virtual+Hosts. To make Tinymce work, this page was a big help:
http://silentworks.co.uk/blog/development/manage-multiple-domains-with-modx-revolution.html.
But now I’m stuck with creating new resources. For some strange reason, they remain "hidden". They appear when searching for them, and they have the right parent, but they do not appear anywhere in the resource tree or in a getResources output. I have to set the parent manually in the backend, before they appear. Editing existing resources works, although the landing page is somehow strange (no css)
I’m using the latest version (1.1.0-pl1) with Revo 2.1.1-pl Standard. The newspublisher call is:
[[!NewsPublisher?
&show=`pagetitle,alias,introtext,content,publishedon`
&initrte=`1`
&rtcontent=`1`
&template=`25`
&richtext=`1`
]]
Besides, I have two other questions:
- The &template parameter seems not to be respected (neither id nor the template name, no error messages), only `parent` works. Am I doing something wrong?
- Is there any way besides coding to specify "default" values for other fields, e.g. "class_key". I would like to have a way for creating a Weblink easily (although there are problems with this, re-editing might not be possible)...
Sorry for this long post. I hope, someone can help me with at least some of these questions!
Cheers