ASSIGNING VIEW TEMPLATE ON LOCAL MODULE TEMPLATE DIRECTORY

17 views
Skip to first unread message

rhossis

unread,
Feb 23, 2015, 3:48:57 PM2/23/15
to openbi...@googlegroups.com
Hi,

I was wondering what is the best way assign to local view .tpl file using the $this->assign('template_file', 'my_template.html')
that is stored in the modules local template directory and not the themes template directory.

Regards

Rocky Swen

unread,
Feb 25, 2015, 3:43:36 AM2/25/15
to openbi...@googlegroups.com

If you set templatefile="tplfilename" in the form xml, openbiz will try to locate the tpl file from local module first, then fallback to theme folder.

--
You received this message because you are subscribed to the Google Groups "Openbiz Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openbiz-cubi...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages