If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
Are php includes possible?  XML
Forum Index » Support Forum
Author Message
geo
Beginner

Joined: 08/11/2004 17:41:00
Messages: 5
Offline

Is it possible to add something like
<?php include("../top.inc"); ?>
in the page body. I tried adding it to the templates but it gets passed through to the output stream without being actioned.

thanks
Geo
-----
Auron
Expert
[Avatar]

Joined: 23/06/2003 22:02:17
Messages: 1053
Offline

what templates?

agb or poll?

Visit my site @ www.ragnaru.com
Adv. Poll Install Guide NOW BACK ONLINE! (And also rather out of date I would of thought)
[Email] [WWW]
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline

As has been discussed in this forum several times NO. The search function is a wonderful, yet rarely used, thing. The templates are made into strings. For a php function to get called a file has to be passed to the processor and the templates do not. You can put the function/call somewhere in the code and turn the output into a string variable and then place the string variable in the templates.

I will not be discussing this subject again.

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum