Welcome Guest, Not a member yet? Register   Sign In
I have a problem with new module in PyroCMS
#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.


Messages In This Thread
I have a problem with new module in PyroCMS - by El Forum - 01-10-2010, 08:18 AM
I have a problem with new module in PyroCMS - by El Forum - 01-10-2010, 09:55 AM



Theme © iAndrew 2016 - Forum software by © MyBB