Welcome, Guest
Username: Password: Remember me

TOPIC: front end publishing

front end publishing 10 Feb 2012 16:40 #1228

  • mossss
  • mossss's Avatar
  • Offline
  • Premium Member
  • Posts: 100
  • Thank you received: 7
  • Karma: 9
I'm trying to give front end users with edit permissions the ability to publish/unpublish, all fine apart from the query which is relying on the


if (!isset($this->_active) || $this->_active !== false) $where[] = "a.publish=1";

how does this get set? I have the publish buttons in the toolbar and would have thought that this was where this flag would be set/

I have a way around it by putting a checkbox on the form only visible to logged in users with edit permissions that they can check to show unpublished, which is actually quite a nice option, but just interested to know how it should work.

thanks
The administrator has disabled public write access.
Time to create page: 0.066 seconds

Get Started