Tags:
create new tag
view all tags

Question

Hi,

Does anyone know how to get a custom Variable from a URL? I.e

You create a link on one page MyProfile?Profile=%USERNAME%

on MyProfile i want to Read the Profile Variable. Any ideas?

I have Tried $Profile, %Profile, %Profile%

Environment

TWiki version: TWikiRelease04x00x04
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Windows
Web server: Apache 2.2.3
Perl version: 5.8.7-5
Client OS: Windows
Web Browser: Mozilla
Categories: Platform

-- LarreDo - 07 Sep 2006

Answer

ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.

hi Larre,

you're after URLPARAM - VarURLPARAM smile

-- SvenDowideit - 08 Sep 2006

thanks! it works... also i noticed something if you try to user a WikiWord link i.e [[]] and a ? the ? is removed so you need to user HTML tags i.e <a href...

-- LarreDo - 08 Sep 2006

Change status to:
Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2006-09-08 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.