Select the search type
  • Site
  • Web
Search
You are here:  Support/Forums
Support

Bring2mind Forums

Mail Me document links redirect to home page
Last Post 03/15/2010 10:59 AM by Peter Donker. 4 Replies.
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Gus
New Member
New Member
Posts:41


--
02/19/2010 12:11 PM

Hi

I have an issue where a user uses the Mail Me feature to send themselves a document link.

The link comes through something like this:-

http://www.amchameu.eu/De...165&EntryId=5147

When they are logged in the document downloads fine and there is no problem.

However, when they are not logged in and click the link they are not sent to the login page. They are redirected to the home page which causes all manner of confusion to the hapless users.

We are not using the DNN login module but are instead using the Dynamic Login module from Data Springs.

Are you aware of any issues in this area?

gus

 

Gus
New Member
New Member
Posts:41


--
02/20/2010 10:49 PM
Update: I've tried using the default DNN login and get the same issue. So it's not related to the Dynamic Login module.

I don't understand why the login page is not appearing for protected documents??
Gus
New Member
New Member
Posts:41


--
02/24/2010 3:15 PM
I think I worked this one out but I'm not sure if it's a bug or not:

The Mail Mail template has a token in it called [DMX:DefaultPath]. One might expect this to be the path to the default DMX module. However, it seems to be putting just the portal url in. As soon as I realised this I was able to add the full path to the DMX home and the links redirect to the login page as desired.

e.g.


Title: [Entry:Title]


link:


http://[DMX:DefaultPath]/Default.aspx?Command=Core_Download&EntryId=[Entry:EntryId]



So, how about renaming the token or making it do what it says it does?

thanks
Gus
Gus
New Member
New Member
Posts:41


--
02/24/2010 3:16 PM

the link points to the full path and not the text..

Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
03/15/2010 10:59 AM
Hi Gus,

I'll make a note. I have found that DNN's behavior generating urls is somewhat erratic. I fear there may be differences between DNN versions (and friendly url providers) in the inclusion of the host or not.

Peter
You are not authorized to post a reply.