Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsEventsEventsNew Event Notification Template QuestionNew Event Notification Template Question
Previous
 
Next
New Post
4/19/2011 11:06 AM
 
Here is the situation: I have a custom notification template for the new event trigger. I am using [event:eventurl] as a specific token. If the event does not have a url in the title I get the details page to open just like I would like. However, if they have a url in the event title it gives me a link to that page instead of the details page on my calendar.

My desired results are to open the default detail page all the time, or barring that possiblility, to open the calendar page with the event showing. (Not just a link to the calendar - The date may be on a different month).

Any ideas?
 
New Post
4/19/2011 12:15 PM
 
I'm interested in how you are using the token, because [event:eventurl] should just output the url of the event detail page, nothing else. I'm not sure how it would be including a url to anywhere else, unless you have populated the 'Custom Detail Page' url content.

Are you combining it with any other tokens, and if so can show how? Perhaps you could post your template here?

Cheers

Roger




DNN MVP
Events - Get the latest version - Upgrade now!!
Feedback 6.4.2 - Now available - Give it a go!
Find us on Codeplex - DNN Events, DNN Feedback
Requirements/Bugs - Please submit them on Codeplex
 
New Post
4/21/2011 4:17 PM
 
Here is the code in the event body:
the website is www.shimmyamerica.com

New Alaska Event on Shimmy America: [event:title] on [NOTALLDAYEVENT][event:startdate][/NOTALLDAYEVENT][ALLDAYEVENT][event:startdate|D][/ALLDAYEVENT] to [DISPLAYENDDATE][NOTALLDAYEVENT][event:enddate][/NOTALLDAYEVENT][ALLDAYEVENT][event:enddate|D][/ALLDAYEVENT][/DISPLAYENDDATE] [IFTIMEZONEDISPLAY]([event:timezone])[/IFTIMEZONEDISPLAY] - [event:recurring] - has been added. For more info, see Shimmy America's Alaska Calendar

Currently, if there is a url on the event, it takes them from the e-mail to their website and not to ours. If there is no url in the event. It takes them to our site.

Again, we would also be very happy with some code variant that would take them to the calendar page and module with the event month open on the monthly calendar instead of the current month.

Thanks for the help!

P.S. If you were going to test this, the code has temporarily been replaced with a static URL to the base page of the calendar.
 
New Post
4/21/2011 4:53 PM
Accepted Answer 
Hi Harry,

The module doesn't support thisdirectly as you have discovered. By the sounds of it you are entering a custom url on the event, and want the link displayed on the calendar views to go to the custom url, and the link displayed in the notification email to go to the calendar on the correct month.

However, I think you could achieve this effect by constructing the url using the available tokens. If you construct a url as described here - http://dnnevents.codeplex.com/documentation#Select Start Date via URL - then it should do what you want. You can construct the date portion of the url using the token [event:startdate|yyyyMMdd] I think. So something like:-

<a href="http://www.mysite.com/calendar.aspx?selecteddate=[event:startdate|yyyyMMMdd]">[event:title]</a>

Hope this helps
Roger

DNN MVP
Events - Get the latest version - Upgrade now!!
Feedback 6.4.2 - Now available - Give it a go!
Find us on Codeplex - DNN Events, DNN Feedback
Requirements/Bugs - Please submit them on Codeplex
 
New Post
4/21/2011 5:33 PM
 
Thanks. I will try this later tonight.



I have a codeplex question regarding the events module as well - to do with the source code. Where is the best place to post this question?
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsEventsEventsNew Event Notification Template QuestionNew Event Notification Template Question


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out