Loading...
Use
Create
Develop
FAQ
Troubleshooting
History: User Input
View page
Source of version: 9
(current)
Although a profile sets most things by default, it is sometimes useful to be able to ask the user some simple questions, as the profile is built for them. For example: * A blogger will want to set the name of the blog * A webmaster will want to change the contact information. Profiles can contain any number of "user requests", these are questions that request a value. If they are not provided, a default value is used. The syntax to do so is: ^$profilerequest:''Label name of the value requested''$''Default value''$^ By default, the value will be filtered through XSS filters. You can specify a filter using the alternate syntax: ^$profilerequest:''Label name of the value requested''__''|Filter Name''__$''Default value''$^ Empty values after filtering will revert to the default value. If you don't want the result to be used inadvertently in other profiles make sure the __label name is unique__. The Label name and its value will be used for __all__ the profiles installed at one time. This would be the case if the chosen profile has dependencies. ! Example {CODE(caption=>YAML)} 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. {CODE} !Example with a datachannel You want to create a wiki page but asking interactively the name of the page via a data channel * Create a data channel named test on your local using the profile DataChannelTest {CODE()} test, tiki://local, DataChannelTest, Admins {CODE} * Create the profile of the data channel in the page DataChannelTest {CODE()} {CODE(caption=>YAML)} objects: - type: wiki_page data: name: $profilerequest:page_name$My Personal Page$ content: xxxxx {CODE} {CODE} * Create a page to test {CODE()} {DATACHANNEL(channel=test)} page_name,Give a Page Name {DATACHANNEL} {CODE} * the result ::{img attId=31}::
Menu
Featured profiles
Profiles in Wizard
Profiles Todos
Handlers
Profiles Tester
Admin
of this site
Current Profiles
Tiki version
21.x
24.x
26.x
27.x
28.x
Deprecated
25.x
state
Not fully functional yet
alpha
beta
release
type
Available in the Profiles Wizard (12+)
Featured profiles
Full profile (out of the box & ready to go)
Learning profile (to show off feature)
Long tail
Mini-profile (can be included in other)
Profile-snippet (optional but needs another "parent" profile)
Security
Tests
Latest Changes
Test_all_tracker_field_types_profile
Scheduler_Presets_20
Tracker_as_Calendar_09
Tracker_as_Calendar_10
Hide Fixed Top Nav Bar on Scroll 19
Easy_GeoBlog
test_profile_change
Profiles_in_Wizard
Random_header_images_14
Hide Fixed Top Nav Bar on Scroll 19
How to Create Profiles
Test_All_Plugins
JonnyBs_Luxury_Tiki_Setup
Collaborative_Multilingual_Terminology
Profile_Test_all_Modules_Test_all_Modules_page
...more
Like almost all *.tiki.org sites, you can log in with your login from
https://tiki.org
(register over there)
Search
Find
Most Popular Tags
admin
agenda
alias
antibot
antibot captcha
app
archive
articles
banning
batch
blogs
calculations
calendars
cart
categories
cluster
codemirror
comments
computation
contact us
datachannel
debug
debug console
dropdown with other
error messages
features
file galleries
forums
geo
geocms
geolocation
group homepages
group watches
header
i18n
images
item link
items list
jquery
languages
location
map
maps
maths
menu
menupage
multilingual
ol3
ol5
openlayers
paypal
plugin
plugin alias
plugin datachannel
plugin fade
plugin tabs
plugin trackerlist
pretty trackers
print
project management
r
r project
realnames
rss
static
static text
statistics
stats
structures
syntax highlighter
tablesorter
template
trackers
user watches
visualization
watches
webservice
wiki
wiki argument variables
wiki structures
Tiki Newsletter
Subscribe to the Tiki newsletter.
Don't miss major announcements and other news!