• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I have a problem with new module in PyroCMS

#1
[eluser]huutri[/eluser]
I have problem with PyroCMS: I create new module and I want to add it to new my themes. But PyroCMS does not support call controller to themes. Can you explain me detail about organise PyroCMS. Thanks u very much

#2
[eluser]Phil Sturgeon[/eluser]
You dont call themes directly, the theme logic is handled within the Layout library and done automatically. I have PMed you about this.

All you need to do is call your view files with $this->layout->create('viewname', $this->data)

I know docs are missing but you should be able to work out most of this stuff by looking at existing modules.


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.