Miscellaneous

How can I include PHP code into a Nucleus skin?

Scenario:
You have a shoutbox (or other PHP script) installed on your site and want to include it in a Nucleus page.

Solution:
You can include PHP code into Nucleus pages using the tag <%phpinclude()%> in your skins. Just point it to the location of the script. You can use an absolute path, a path relative to your current skins folder or a URL, like in the example below:

<%phpinclude(http://www.yoursite.com/shoutboxdir/shoutbox.php)%>
section: Miscellaneous | submitted by moraes on 2005.May.07 | 4668 views

item rate
Total votes: 10 - Rating: 8.20

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

10