wCMF Wiki : SmartyOverride

HomePage :: Categories :: PageIndex :: RecentChanges :: Login/Register
all smarty templates that are included using the lib resource plugin

(e.g.
{include file="lib:application/views/navigation.tpl"}) 

may be overridden in the template directory of the application.

NOTE: the directory structure following 'lib:' has to be mirrored in the application's template directory.

example

(default directory setup assumed): if you want to use a custom navigation template, copy the file navigation.tpl from

wcmf/application/views/

to
application/include/views/application/views/

delete the content of the folder
application/include/view/smarty/template_c

and start editing the new file
(notice the mirrored path 'application/views/')

Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki
Page was generated in 0.0240 seconds