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.080 seconds

Just wanted to congratulate you on the J-Cook website / web development tool. In a couple of visits I've had a play around with Cook and have to say I think it is fantastic.  I've played with a number of component builders in the past and yours is certainly looking like the best so far. I'd also like to help you spread the word - I'm really surprised more people aren't excited about this tool. Good luck with the project.
Dean

Get Started