Passing params to a Dynamic Content

posts: 2

Hi all!

I couldn't find in the documentation a way to pass parameters to a Dyanamic Content so I can personalise it.

We're using TikiWiki as the system to our Lab at UFSC (http://www.lisha.ufsc.br). We have another system that catalogues our publications. I just can't change it. By now, it is a XML database, accessed through a PHP script:


This script can receive parameters to refine the search, for example:


What we're doing now is using a Dynamic Content with an iframe that embed the publication list in a page, like this:

<iframe scrolling="auto" width="100%" height="10000" frameborder="0" src="http://www.lisha.ufsc.br/pub/index.php"></iframe>

Result at: http://www.lisha.ufsc.br/tiki-index.php?page=Publications

... And, to list collaborator-specific publications, we're inserting an external link to each one's publications, as in

https://www.lisha.ufsc.br/tiki-index.php?page=Arliones (search for Publications)

What I would like to do, instead of that, is to have each user inserting in its page a Dynamic Content with something like this:

{content id=1 params="author=Arliones"}

... and have a Dynamic Content programmed like this:

<iframe scrolling="auto" width="100%" height="10000" frameborder="0" src="http://www.lisha.ufsc.br/pub/index.php?{$params}"></iframe>

So, am I missing something on how to use the DCS feature? Is there a way to do it? I wouldn't like to create one dynamic content to each user.

If not, anyone who knows whether it has already been considered for implementation or not?