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

Real time saver and great Component Builder tool ! I have been developing with J-Cook Pro Component Builder for several months now and can say with all honesty that this product/service is second to none. The product is feature rich and is being improved and added to all the time. Do yourself a favor if you need to build a Joomla! Component then you can do no wrong in trying the product. You will save on time and effort while being able to deliver your project on time. J-Cook pro does the hard work for you you then have the freedom to fully customise the end result for your own needs. 

One word: Awesome.
Edwardcox (JED)
         

Get Started