Loading...
 
Features / Usability

Features / Usability


The Solution: output from another site's php-script in my wiki-page

posts: 3665 United States

To include Javascript in a wiki page, use the JS Plugin.

You can see a working example on my site.

HTH,

-Rick

> Hi,
>
> I am cooperating with the webadmin on another site. The other site allows us to update events in a common calendar, together with other parties who update their events. We can extract our own events and display them in an ordinary html-file using this piece of code - note that I had to replace the '' with '(#..#)' etc.:
>

>
(#script language='JavaScript' src='http://theothersite.com/libs/javascript/clientsideinclude.php?organizer=69'#) > (#/script#)

>
> (organizer=69 is our calendar's id)
>
> ----
> Now the problem. I try to do the same in a wiki page, the front page of my site. I enter some html-code, no problem, I can use html-tags, and they work. I enter javascript, problem, javascript disappears completely, not only being ignored, it is being deleted from my code.
>
> ----
> The solution?! I need some help.
>
> I am making a call to a php-script on the other site which produces some html-code, our calendar. But the call of the php-script is embedded in javascript, and the javascript is being deleted.
>
> I am wondering if there is a way to somehow pipe the output of the php-script into my wiki-page directly (without using javascript)? I mean, as I understand tikiwiki it is a bunch of php-scripts which call and include each other anyway, so... But I'm not so familiar with php, see.
>
>
>

There are no comments at this time.

Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting