|
|
|
|
| Author |
Messages |
|
Mike Horton Gold Membership
 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 Horton Gold Membership
 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 McCulloch Administrators
 Nuke Master Posts:12598


 |
| 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 Horton Gold Membership
 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 Horton Gold Membership
 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 McCulloch Administrators
 Nuke Master Posts:12598


 |
| 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 Horton Gold Membership
 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. |
|
|
|
ActiveForums 3.7
|
|
|