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

For starters it's just so easy to design an app in a way that I'm used to i.e. database first then views followed by customization. The fork system is pure brilliance from a developer standpoint as I can override things and still add and update my projects with minimal effort! Truly amazing to be able to build components in Joomla using incremental refinement without having to do everything by hand. Thanks for the great tool! I am so much more productive now than ever and I can't imagine building components any other way!!!!
Dave (Forum)

Get Started