Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

task into controller 02 Oct 2013 15:40 #11275

  • albert
  • albert's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 70
  • Thank you received: 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

Please Log in or Create an account to join the conversation.

task into controller 02 Oct 2013 18:30 #11282

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
&task=myController.myTask
Simple.
Coding is now a piece of cake

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.053 seconds

The j-cook project is one of the best of its kind and it is nice that we all try to contribute in little ways to make life easy for each other.

vlemos (Forum)  

Get Started