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

I jumped and started to work on a demo component... but 2 days later this demo component became the real component. I just showed today the end result to my customer and he turned to me and said... "this is more than I expected"... All of this is because Cook did cut about 70% of my work and provided me more ways to improve the usability of the component. The end result was 17 tables all related between than to generate a full dashboard for the travel agents. Thanks for Cook developers for such great tool. This component would not be possible to be done at short time with all the features in it
Griiettner (Forum)  

Get Started