Features / Usability

Features / Usability

Including php content in a tiki topic

posts: 6 Australia

I was wondering if there is a way to include php content in a tiki topic. I tried but it didnt work. Is it possible do do what I am suggesting in any way?? thx

posts: 1001 Canada

Maybe it's easier to get an answer on IRC #tikiwiki. Personally I don't understand what you mean by "tiki topic" and I'm not sure about "php content".

See youwink

posts: 6 Australia

I will try to be a little more specific... I have want to include a PHP script in a HTML PAGE in tikiwiki. When a user goes to the HTML page (eg http://wiki.com/tiki-page.php?pageName=TestPage) The tikiwiki interface should be displayed with the (generated) php script in the centre part of the page. I tried to do this by creating a HTML PAGE and "including" the php script within the page.

Do you understand what I mean?

posts: 1001 Canada

It's all clear nowsmile
However I never had such need myself and I don't think there's a way to do that directly. I know this seems related to the features offered by TikiIntegrator however. Read a bit about it and see if it could help you.

posts: 2881 United Kingdom


No PHP content is allowed anywhere within the TikiWiki system, as this in itself would be a major security hole!

However, there are a number of ways you can do this:

  1. Use the featured links url
  2. use a iframe on the wiki page with HTML allowed turned on.