Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

front end publishing 10 Feb 2012 16:40 #1228

  • mossss
  • mossss's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
  • Posts: 100
  • Thank you received: 7
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

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.048 seconds

A HUGE thank you for all the time and effort you have put into J-Cook it is a timesaver and a training tool all in one
Morgan Leecy - MCSE  

Get Started