Hello all
This is my second major post and hopefully this post will be of some interest to users in the umbraco community.
I have created a .NET usercontrol for an email to friend feature to use with Umbraco.
I will give you a brief overview of the control and then describe further in detail.
Features
- Checks if node ID querystring is passed to page, if not it displays an error.
- Check if node ID quersytring is valid, and not a made up ID. If not it displays a different error.
- Mailserver, username and password can be set from the umbraco node.
- Custom message for email sent to friend - uses placeholders
- Custom subject line for email sent to friend - uses placeholders
- .NET 2 built in validation
Placeholders that you can use in the email message and subject
- [FriendName]
- [FriendEmail]
- [YourName]
- [YourEmail]
- [Message]
- [Date]
- [Time]
- [URL]
Subject placeholder examples
- Your friend [YourName] has sent you a link
- Hi [FriendName]! [YourName] has sent you a link
Message placeholder example
- Hello [FriendName] your friend [YourName] has sent you a link to check out.
[URL]They have also sent you this message.
[Message]
www.creativewebspecialist.co.uk
Hello all,
This is my first real post on my new blog and this solution will hopefully be useful to other people using the Umbraco opensource .NET CMS platform.
The problem:
I need to be able to find out which show is currently playing depending on the day of the week and the time of the day from a schedule in Umbraco.
The solution:
To achieve the same results, I recommend setting up the same structure as me to begin with and then alter the code and move the structure as need be once all is working.