Loading...
 
Features / Usability

Features / Usability


Accessing urls

posts: 1

Hello,

I am trying to adapt tiki.tpl so that when you move around our website different modules will be displayed depending on what page you are on.

I cant work out how to basically code:
if the page is tiki-view_articles.php..display module x

$page doesnt work.

Can anyone enlighten me on how to access urls?

Thanks in advance

posts: 2881 United Kingdom

The $page is used as a wiki page name. You would need to delve deeper into the code and explore the tiki-modules.php code. Probably querying a $_SERVER variable to get the URL.

tiki-modules is the place where they are drawn ready for display in tiki.tpl

Damian


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