Page 1 of 1

User Tag&Pretty URL

Posted: Wed Jun 07, 2006 4:19 pm
by nini
Hi to All,

i'm developing an user tag, thats get some parameter from url:

?actionname=showobjekt&actiontyp=163

This do search for an objekt in DB with number 163.
What should i write in my tag to get it in somethink like this :

/showobjekt/163

How get then this parameters in
$actionname=...
$actiontyp=..
?

I didn't found any answers in the forum about  this  :( ???
Please help!  ::)
And sorry for my bad english  :-X

Re: User Tag&Pretty URL

Posted: Wed Jun 07, 2006 4:39 pm
by calguy1000
$actionname = $_GET['actionname'];
$actiontyp = $_GET['actiontype'];

Re: User Tag&Pretty URL

Posted: Wed Jun 07, 2006 6:25 pm
by nini
No, you didn't understand, my script is working now, but in url-form:

?actionname=showobjekt&actiontyp=163

and i will with pretty-url function get somethink like this:

/showobjekt/163

I can't use hierarchy function, because i get direct all my data from DB with my script!

Re: User Tag&Pretty URL

Posted: Thu Jun 08, 2006 11:57 am
by Redguy
I understand what you are talking about, I'm trying to find out how to do this.. I can't believe nobody has written about this?? Am I missing something?

Re: User Tag&Pretty URL

Posted: Thu Jun 08, 2006 12:14 pm
by tsw

Re: User Tag&Pretty URL

Posted: Thu Jun 08, 2006 12:17 pm
by Redguy
what nini is asking about is if this can be done in user tag, not a module.

Re: User Tag&Pretty URL

Posted: Thu Jun 08, 2006 3:21 pm
by nini
Mhh.. i see.. Thanks for info.

It is not to difficult/to long to write my own module? I mean, I have a working script and its doing his job. I don't want to spent my time to learn new cmsms language/syntaxes.

What you think? Have anybody wrote his own module?