Skins

How can I include (php or text) files in a skin?

You can include a file in three different ways. Use one of these tags inside your skin:

  • <%include(file.txt)%> : plain include (contains HTML or text)
  • <%parsedinclude(file.inc)%> : include parsing nucleus skin tags
  • <%phpinclude(file.php)%> : include parsing the PHP in the file
  • By the way, you can give each include file any extensions you want.

    Tip: A *great* way to manage the included files is to install a Nucleus plugin called NP_SkinFiles. You can find it here.

    section: Skins | submitted by roel on 2004.Sep.24 | 4627 views

    item rate
    Total votes: 6 - Rating: 8.33

    Please tell us how useful this answer was to you (0 = useless, 10 = very very helpful):

    10