Remove update version dropdown box

edited September 2014 in Modules
On update mode, there is a dropdown box showing various version on the top right corner, how to hide it?

Comments

  • edited 11:40PM
    There is a "get_others" method that is inherited by your module's model. You can set it to return an empty array and that dropdown will not appear:
    public function get_others($display_field, $id = NULL, $val_field = NULL) { return array(); }
  • edited 11:40PM
    errr, no sure why it is still there

    restore from previousversion
    Navigation
    Create navigation

    want to get rid of all these
  • edited 11:40PM
    I think I misunderstood which dropdown you were talking about. What you are seeing it sounds like is the version dropdowns. If the module parameter of "archivable" is set to TRUE (which it is by default), then it will create an archived version after every save.
    http://docs.getfuelcms.com/modules/simple

    I did notice that if you previously have it set to TRUE and then set it to FALSE, those older archives would still show up in the dropdown select. I've pushed an update to the develop branch that will simply hide it if that is set to FALSE even if there are older archives.
Sign In or Register to comment.