Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

$this->canDo - getActions return empty string 28 Feb 2013 11:03 #6874

Hi,

On the backend doesn't matter what i do in Permissions,
when i do a $this->canDo = $canDo = SamplestrackingHelper::getActions();

i get it empty !!

JObject Object
(
[_errors:protected] => Array
(
)

[core.admin] =>
[core.manage] =>
[core.create] =>
[core.edit] =>
[core.edit.state] =>
[core.edit.own] =>
[core.delete] =>
[core.delete.own] =>
)

I saw it was a problem few months ago, but this component has been generated 3-4 weeks ago.
And it has been quite elaborated, so in case it is solved i would need to know which files to change !!

thanks in advance

Please Log in or Create an account to join the conversation.

Re: $this->canDo - getActions return empty string 28 Feb 2013 11:08 #6875

Apparently only modifying the public static function getActions($itemId = 0)
on the helper by a new one it works !

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.080 seconds

This Component Generator is the REAL component generator. This tool is very easy to use and in a matter of minutes I was building a fully working extension. I was amazed with the end result... worth every cent...
Griiettner (JED)

         

Get Started