Skip to content
This repository was archived by the owner on Nov 28, 2017. It is now read-only.
This repository was archived by the owner on Nov 28, 2017. It is now read-only.

publish checkbox in list not working. #34

Description

@klein-artur

Hi,

I´m lerning with this tutorial and I found something I could not find out. In the list in Admin area we add a published control:

<?php echo JHtml::_('jgrid.published', $row->published, $i, 'helloworlds.', true, 'cb'); ?>

But when I click on that I get the following error:
Call to undefined method HelloWorldModelHelloWorlds::publish()

could it be that you forgot something to mention in step 10? Because you also write as an header:

Adding a model and modifying the existing one

But you are never modifying the existing one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions