Search Nish

Loading

Event Module Location Link Open New Window

Reactions: 

If you are using Dotnetnuke Event module then you may seen that in the event details page’s location link is always open in the same window.This is the change you have to do in the Source code.

Components-> EventController.vb And change it as below

'location, locationurl

If Not eventInfo.MapURL Is Nothing And eventInfo.MapURL <> "" Then

dict.Add("location", String.Format("<a target='_blank' href='{1}'>{0}</a>", eventInfo.LocationName, eventInfo.MapURL))

dict.Add("locationurl", eventInfo.MapURL)

Else
This was one of common client requests and people need to rebuild the DNN module and deploy again to apply the change.

0 comments: