Loading...
 
Skip to main content

Features / Usability


Accessing urls

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

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