responsiv / showcase-plugin

[PREMIUM] Create and manage portfolios for showcasing products or services.
http://octobercms.com/plugin/responsiv-showcase
0 stars 0 forks source link

Title Item #5

Closed Michael-Reich closed 7 years ago

Michael-Reich commented 7 years ago

There is a Mistake in your documentation:

This is not working:

function onEnd()
{
    // Optional - set the page title to the item title
    if (isset($this['showcaseItem']))
        $this->page->title = $this['showcaseItem']->title;
}

Instead try this:

function onEnd()
{
    // Optional - set the page title to the category name
    if ($this['item'])
        $this->page->title = $this['item']->title;
}
daftspunk commented 7 years ago

Docs have been updated! Thanks