Issue
I know to access scripts from another module, you just pass the module name as second argument, but I can't find how to access scripts from application/views folder.
I tried as follow, but didn't work :
echo $this->partial('myscript.phtml', 'application', $this);
echo $this->partial('myscript.phtml', '', $this);
But none worked.
Solution
Try this:
echo $this->partial('myscript.phtml', 'default', $this);
The main application is commonly reffered to as the 'default' module.
Answered By - Joel Lord Answer Checked By - Robin (PHPFixing Admin)
0 Comments:
Post a Comment
Note: Only a member of this blog may post a comment.