I'm working on a site that gives users the ability to edit the pages they have created.
- I have login installed and running.
- I have NewsPublisher installed
- I my templates and TVs setup for NewsPublisher
- I I have logged in and created a resource with NewsPublisher and it is displaying propery
My problems are with the editing.
Problem 1
I have [[!NpEditThisButton]] in my template and the edit button displays when I'm logged in as the admin user. It shows up but with an error "Could not set the np_id default property. Set it manually to the ID of the Newspublisher page." when logged in as the user that created the resource.
I'm using the [[!CheckUsersOwnPage]] snippet @BobRay has on
http://blog.arvixe.com/newspublisher-limiting-users-to-their-own-pages/ to limit page editing to the user that created the page.
Problem 2
When clicking the edit button as either user nothing happens.
Here is my NewsPublisher Call
[[!NewsPublisher?
&show=`pagetitle,address,description,email,web,phone,photo`
&initrte=`1`
&parentid=`8`
&published=`1`
&hidemenu=`0`
&cacheable=`1`
&searchable=`1`
&richtext=`0`
&template=`BusinessProfile`
&captions=`pagetitle:Business Name,description:Describe Your Business,photo:A Photo of Your Business`
]]