Welcome, Guest
Username: Password: Remember me

TOPIC: task into controller

task into controller 02 Oct 2013 15:40 #11275

  • albert
  • albert's Avatar
  • Offline
  • Senior Member
  • Posts: 70
  • Thank you received: 2
  • Karma: 2
Hi,

I am trying to implement some funcionality on a component, so i want to add new task into some controllers.
I do not know why if i add
function taskA into controller.php it works ....com_component&task=taskA
if i add the same task into the controller/especific_controller.php doesn't work
....com_component&task=taskA&controller=especific_controller

what am i doing wrong.


Note: On the other hand if i use the same task on the fork controller.php doesn't work
The administrator has disabled public write access.

task into controller 02 Oct 2013 18:30 #11282

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
&task=myController.myTask
Simple.
Coding is now a piece of cake
The administrator has disabled public write access.
Time to create page: 0.059 seconds

Get Started