Forums / Developer / Module .tpl issue / Comment62260

Author Topic

Ivan Švogor

Sunday 03 October 2010 10:20:22 am

Comment62260

"

Hi Ivan,

- When you create newmodulename in your newextension here are examples how the path ways looks like:

For newmodulename:

extension/newextension/modules/newmodulename/list.php

For list.tpl path :

 extension/newextension/design/newextension/templates/modulname/list.tpl

Then when you call template in list.php do it like this:

 $template = "design:newmodulename/list.tpl";
"

Hello, thank you for your reply.

I've done exacley that and nothing. I even named my folder as standard design. It just doesn't take the .tpl file from within the module but from the one in root/Exponential/design..

Am I missing something? (version is 4.x)