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.071 seconds

Amazing Tool !
And only tool I know that allows complete Scaffolding in terms of component creation. It really saves loads of time (actually much more than that). Simple architecture enables quick and painless changes at any time. Code is clean and consintent. It's just... what's the word... neat! :) Great work! You should definetely try this one!

pi_wo (JED)
         

Get Started