x First time here? Check out the FAQ
Morten Christensen started this project on Sunday, January 24, 2010 it's current version is 1.4 .

Package Info

Project Owner/Creator

Avatar

Morten Christensen

414posts 1954karma

Project Compatibility

This project has been reported to be compatible with 4.7.1.1, 4.7.1

View Details Report Compatibility

Project Information

Project owner:
Morten Christensen
Created:
Sunday, January 24, 2010
Is Stable:
Project is stable
Current version
1.4
License
MIT
Tags
datatype  Standard Values 
Downloads:
2620

Standard Values in Umbraco

This package adds a Standard Values folder in the Settings section of Umbraco, which allows you to add standard values to all your document types.
You can create standard values for each of your document types or just a selected few, you decide. All values are saved in the original DataTypes, so there should be no limitation as to creating standard values.
Values are inserted when you create a new document based on a document type, for which you added standard values to.

The package allows you to use two keys by default: $name$ and $date$

The $name$ key takes the name of the content node you are creating and replaces it with this key whereever you inserted it.

The $date$ key inserts todays date, and the format can be configured in the supplied config file, which is located under (your umbraco folder)/plugins/Sitereactor/StandardValues/Config/StandardValue.config (default value is dd-MMM-yyyy).

From version 1.1 you can create your own keys based on these key types:
Date format (use this type to specify one or more date formats, which can be used for inserting todays date).
Dictionary Item (use this type to get a dictionary item by dictionary key and culture).
Node (use this type to get a specific property from a content node by node id and property alias).
Static Value (use this type to enter a static text string).
XPath (use this type to get content/properties from published nodes by the specified XPath - remember that there is no currentPage though).

The current version has been tested on the following versions of Umbraco:

Umbraco 4.7.1 SQL Server
Umbraco 4.7.1 SQL CE

MySQL remains untested, but should also work in Umbraco version 4.7.1.

Short screencasts of the package in action:
http://screenr.com/Puh (version 1.1) - Part 1
http://screenr.com/iuh (version 1.1) - Part 2

http://screenr.com/GP1 (version 1.0)

If you have suggestions for other keys, please add your request to the project foum.
Also, if you encounter certain datatypes (like the datepicker) that doesn't work with Standard Values or the two keys, please add it to the suggestions forum.

Remember to vote up the project ;)

Thanks!

Screenshots

Package Files

Archived Files

Package discussions

Bug reports
20 topics, 132 posts
Please use this forum to report bugs.
3 months ago by Kalle Ekstrand
Suggestions
7 topics, 38 posts
Use this forum to request features, new keys or other cool stuff that you would like to see in this package.
6 weeks ago by Firas Khalifeh