Loading...
 
Skip to main content

History: User Input

Preview of version: 1

Some profiles require minor modifications to be usable. For example, a writer may want to choose the name of his blog or a webmaster may want to change the contact information. Profiles allow to include user requests inside profiles. If they are not provided, a default value is used. The syntax to do so is:

$profilerequest:Label of the value requested$Default value$


The label must be unique as if reused in multiple profiles, the same value will be used for all of them when installing profiles with dependencies.

Example


YAML
Copy to clipboard
preferences: feature_blogs: y objects: - type: blog ref: personal data: title: $profilerequest:Blog Title$My Personal Blog$ description: Random daily thoughts and travel stories user: $profilerequest:Blog Owner$admin$ use_title: y allow_comments: y - type: blog_post data: blog: $personal title: Sample Post content: This post was created by the installation profile.



History

Information Version
Sat 28 of Aug, 2010 16:21 GMT-0000 luciash d' being 🧙 highlight that label name must be unique 9
Tue 09 of Feb, 2010 19:06 GMT-0000 sylvie 8
Tue 09 of Feb, 2010 19:05 GMT-0000 sylvie 7
Tue 09 of Feb, 2010 19:01 GMT-0000 sylvie 6
Mon 19 of Jan, 2009 21:41 GMT-0000 System Administrator 5
Mon 19 of Jan, 2009 21:40 GMT-0000 System Administrator 4
Thu 25 of Sep, 2008 00:33 GMT-0000 System Administrator 3
Thu 18 of Sep, 2008 16:32 GMT-0000 matwho changed it around a bit 2
Thu 18 of Sep, 2008 16:14 GMT-0000 System Administrator 1