Jump to content

Server Side Includes in Index.tpl


Guest

Recommended Posts

Im having trouble adding my custom SSI in the index.tpl in my skin.

Example code:

<?php include("/_inc_banners.php"); ?>

my files are in the right place it just doesnt render, any help?

Link to comment
Share on other sites

Bad place, xtemplate does not recognize it :(

Php content belongs to php files.

Is there any way around it?, I notice on the index.tpl file there are {SESSION} etc. Would I be able to assign {RBANNERS} to the template with my php code to call it?.

If so where is the file that grabs the info from {SESSION}.

Cheers for your response.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...