Phoca maps

Phoca Maps - displaying maps in Joomla! CMS
Karina
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 09 Aug 2012, 17:00

Phoca maps

Post by Karina »

Hey,
I created a joomla 2.5 template with artisteer.
I installed the latest version of phocamaps, but I Get this error bij publishing my article:
Fatal error: Cannot access protected property ContentViewArticle::$user in /home/kgoyhbau/domains/karinajoomla.be/public_html/parket2/templates/template1/functions.php on line 40

This is the code on line 40-41:

Code: Select all

$this->canEdit = $this->_document->user->authorize('com_content', 'edit', 'content', 'all') || $this->_document->user->authorize('com_content', 'edit', 'content', 'own');
How do I solved this?
Thanks,
Karina
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca maps

Post by Jan »

Hi, how is this problem related to Phoca Maps?
If you find Phoca extensions useful, please support the project
Post Reply