Register   Login
     
  Latest Posts  
Private Messages 1.07 - Potential Display Name Bug
by blob150 on 12/03/2008 5:16 PM
Removal of "Actions" section...
by jlatulippe on 12/03/2008 5:08 PM
RE: MultiSelect Search on Multiple Checkbox
by smcculloch on 12/03/2008 3:46 PM
RE: Property Agent Latest Filter
by erikvb on 12/03/2008 3:45 PM
RE: Help! property type error
by smcculloch on 12/03/2008 3:44 PM
RE: Property Agent Latest Filter
by smcculloch on 12/03/2008 3:42 PM
RE: Set default value
by smcculloch on 12/03/2008 3:42 PM
RE: Can an entry belong to multiple types?
by smcculloch on 12/03/2008 3:42 PM
RE: Remove CAPTCHA when logged in?
by smcculloch on 12/03/2008 3:40 PM
RE: Display Name
by smcculloch on 12/03/2008 3:38 PM
  Forums  
Subject: Parameter Question
Prev Next
You are not authorized to post a reply.

Author Messages
Mike HortonUser is Offline
Gold Membership
Nuke Addict
Nuke Addict
Posts:84


8/20/2006 2:31 PM  
On my MultiHTML module if an href on a page that's being uploaded is local I regexed the code to replace the link with "default.aspx?Pagename=xxxxx" so that the link is reloaded on the same page. The FriendlyURL rewriter is ignoring anything after the "?". Any ideas on how I can get around that. Possibly a better way to write my code so that I don't need the parameter.
Mike HortonUser is Offline
Gold Membership
Nuke Addict
Nuke Addict
Posts:84


8/20/2006 2:35 PM  
Doh, can't edit my post. If you want to see an example of what I mean go to http://www.gmss.org/CupDivision/CupSchedule/tabid/131/Default.aspx.
Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12577


8/20/2006 6:09 PM  
Hmm, not sure about this one, I will need to go away and test what it does..

Scott McCulloch
Site Administrator
Mike HortonUser is Offline
Gold Membership
Nuke Addict
Nuke Addict
Posts:84


8/20/2006 6:18 PM  
Thanks Scott. I haven't had a chance to do much testing myself to see what it does. Hopefully I'll have some time this evening to look at it.
Mike HortonUser is Offline
Gold Membership
Nuke Addict
Nuke Addict
Posts:84


8/20/2006 7:28 PM  
Hmmm I may have figured out a work around that'll work for me but might not for others. In my code I changed the regex to replace the local link to ?Pagename=xxxxx instead of default.aspx?Pagename-xxxxx and that seems to be working fine in testing so far.
Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12577


9/22/2006 6:51 AM  
I think the first one doesn't work because it doesn't have any parameters

Scott McCulloch
Site Administrator
Mike HortonUser is Offline
Gold Membership
Nuke Addict
Nuke Addict
Posts:84


9/22/2006 10:03 AM  
Since I changed the code in my module I haven't run into any problems with it since. Bad programming on my part.
You are not authorized to post a reply.
Forums > Projects > Friendly Urls > Parameter Question



ActiveForums 3.7