Quick Nav:  Online Store   |   Login | Register

Virtual Path

Rate this topic:

Please Register to post a reply. Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.
AuthorMessages
James Bauer
<20 Posts
Posts:9


02/16/2007 7:02 AM  
Hi John,

I'm currently using v2.1.1 on a 3.3.7 dnn site, just started playing with the virtual paths, and am now experiencing some weird results.

When I first applied PB to 3 pages (inserted as a new module), setting their virtual paths (i.e., /Home, etc.), and then adding portal rules to replace their dnn link with the new path (i.e., Search for http://childdomain.mydomainname.com/Home/tabid/72/Default.aspx and replace with http://childdomain.mydomain.com/Home.aspx), it worked great.  Then as soon as I added a 4th, all links then started to point back to the home page (search for and replace with settings were still correct in the PB portal rules settings).

I tried to delete all instances of PB and re-insert a new instance of the module back on every page.  Unfortunately, I still get the same latter results.

Let me know if I can provide you with any additional information to help strategize a resolution.

Thanks,

Jim
John Mitchell
Posts:3492


02/16/2007 9:25 AM  
Hi Jim,

That is strange. Have a look in the ResourceLocationTable.config file that is stored in the config-folder ( /DesktopModules/Snapsis/PageBlaster/Config by default).
That is the file that contains the mappings frrom virtual path to tabid.
James Bauer
<20 Posts
Posts:9


02/16/2007 11:09 AM  

John: After removing all portal rules and saving the configuration, here's the contents of the ResourceLocationTable.config file:


<resourceLocationTable>
<resourceLocationItem virtual-path=3D"casestudies.aspx"
url=3D"/default.aspx?tabid=3D93" />
<resourceLocationItem virtual-path=3D"/valueproposition.aspx"
url=3D"/default.aspx?tabid=3D90" />
<resourceLocationItem virtual-path=3D"approach.aspx"
url=3D"/default.aspx?tabid=3D92" />
<resourceLocationItem virtual-path=3D&= quot;/thedifference.aspx"
url=3D"/default.aspx?tabid=3D89" />
<resourceLocationItem virtual-path=3D"/home.aspx"
url=3D"/default.aspx?tabid=3D72" />
resourceLocationTable
>

I decided to remove all entries here and start from scratch.
1. Just adding the PB module into my page named ValueProposition,
2. Set this virtual path to /valueproposition.aspx,
3. Created a new portal rule called Value Proposition,which
searches for http://mysub.mydomain.com/ValueProposition/tabid/90/Default.aspx and replaces it with http://mysub.mydomain.com/valueproposition.aspx,
4. and saved the configuration,
I still experience the same results, where the Home page is always displaye= d. Here's the new ResourceLocationTable.config file:


<resourceLocationTable>
<resourceLocationItem virtual-path=3D"/valueproposition.aspx"
url=3D"/default.aspx?tabid=3D90" />
resourceLocationTable>

At first, I thought it was a case sensative issue, but after furter investigation, I get the same results.

In addition, I removed the portal rules, and focused on just the virtual path. With just the virtual path set, and manually navigating to http://mysub.mydomain.com/valueproposition.aspx, this too yeilds the same wacky result of showing me the home page.

Are there any other files I could view and post to help with this challenging issue?

Thanks,

Jim

John Mitchell
Posts:3492


02/16/2007 11:27 AM  
It may be a case of the includePageName="true" setting for the FriendlyUrl in DNN.

i just experienced this same kind of problem this morning on my site. I had moved some pages under another page on my site, so it broke my replacement rule.

Check the link that is output carefully to see if it matches your virtual path starting at the root of the website.

In my case, I had a "Support" folder under the root that was being added to my virtual path, which could not be found in the ResourceLocationTable.
At that point the core DNN UrlRewriter takes over and since it can't find a tabid it sends you to the home tab.
SplatMan_DK
<100 Posts
Posts:81


03/05/2007 2:12 PM  
Could you throw in a few more words to describe the problem and the solution? I just started making friendly names for some sub-pages with PageBlaster and find that they do not work ...

:-)

- Jesper

brgds

- Jesper
John Mitchell
Posts:3492


03/05/2007 10:45 PM  
Ok, I have found an issue when using Virtual Folder names in the Virtual Path. In other words, if you have a forward slash, the lookup was not working.

I have an update for you guys to try out iif you want. Just send me an e-mail or reply directly to this post notification if you want it.
Please Register to post a reply. Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.



ActiveForums 3.7
Powered by: Snapsis Software