Welcome Guest, Not a member yet? Register   Sign In
I have a problem with new module in PyroCMS

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

[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.

Theme © iAndrew 2016 - Forum software by © MyBB