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

This is what you call a component builder. I was able to master using this in a very short time and the resulting component works like a charm. Not just a basic component builder but a fully working component builder with forms fields tables all ready to go. You can make the list and item views to display in the front and back end. Also there is a great forum just starting to evolve and I'm sure this will grow very rapidly when you all realise how good this tool is.
Kevin (JED)

         

Get Started