Yes, this seems to do the trick. Thanks. Question: any idea how I include an argument that contains spaces? Such as:
[[Shop.ItemDetails?name=Book Title?price=10.95|Add to cart]] Thanks. -- Harry ---- Harry Forsdick New: (781) 923-0123 (Google Voice) http://forsdick.com | http://lexmedia.org | http://lexmarketplace.org | http://forsdick.blogspot.com | http://lexdig.com On Mon, Jul 13, 2009 at 9:47 AM, Petko Yotov <[email protected]> wrote: > On Monday 13 July 2009 13:53:44 Harry Forsdick wrote: > > Part of my PmWiki based website has a page where product items are > > presented in a short form. For each item listed I would like to have a > > link to a single "ItemDetails" page to which I can pass arguments. This > > way, I can create just one page whose content changes based on the > > arguments passed to it. > > Maybe the recipe HttpVariables might be used? > > http://www.pmwiki.org/wiki/Cookbook/HttpVariables > > After installing it, in your product list, you make links like this: > [[ItemDetails?color=blue&price=19&size=XXL | xx-large, blue]] > [[ItemDetails?color=red&price=18&size=XL | x-large, red]] > > > In your ItemDetails page, you have: > * Color : {$?color} > * Size : {$?size} > * Price : {$?price} > > Thanks, > Petko >
_______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
