Loading...
 

Export Profiles tab

Related Topics

1.1. Using Tiki user interface

1.1.1. Preferences in Control Panel ‘Profiles’

Overview
Use this tab to create a new profile by exporting your site’s current configuration

To Access
From the Profiles Admin page, click the Exports tab.

Note
Refer to http://profiles.tiki.org for details on extending the exported YAML


Admin: Profiles, Export tab
Export tab

Setting Description Default
Object Type Select the Tiki objects from the existing site to export Preferences
Export modified preferences as YAML Use this section to filter or select specific objects to export ot YAML






1.1.2. Tracker definitions and tracker fields

You can do so in Tracker Export and select the last option to export as yaml code for tiki profiles.


1.2. Using command line tools (php console.php)

Available from Tiki12. Unlike the earlier tools to export as profiles, the command line tools, such as Console, cover the entire workflow of profile creation and perform better reference tracking between objects, allowing to create profiles that are more complete out of the box.

These early screencasts explain how the process works. The program tiki in the first video is a shortcut for php console.php in Tiki’s root.

Something might be wrong with the second video and you can see a green screen only.


1.2.1. Overview of profile:export

Process overview:
  1. php console.php profile:export:init Some_Profile_Name
    • Create a blank profile
  2. php console.php profile:export:recent-changes --since "2 week ago"
    • Note: Use a timespan appropriate to the duration of your work
      This command reports the changes found, but does not export those changes to the new .wiki files yet.
  3. php console.php profile:export:tracker, php console.php profile:export:wiki-page, ... to include objects in your profile
    • If you repeat the recent changes step, objects you added will be removed from the list
  4. php console.php profile:export:finalize
    • If some references are unresolved, suggestions will be proposed, including adding references to previously installed profiles.

1.2.2. Exportable tiki objects



profile:export:activity-rule-set
profile:export:activity-stream-rule   
profile:export:all-modules
profile:export:article    
profile:export:article-topic    
profile:export:article-type     
profile:export:category   
profile:export:file-gallery     
profile:export:forum
profile:export:goal 
profile:export:goal-set   
profile:export:group
profile:export:include-profile  
profile:export:menu 
profile:export:module     
profile:export:preference 
profile:export:rating-config    
profile:export:rating-config-set
profile:export:recent-changes   
profile:export:rss  
profile:export:tracker    
profile:export:tracker-field    
profile:export:wiki-page


Some new options added in Tiki18: files get exported also.
php console.php profile:export:file-gallery --include-files 4


Also added in Tiki18: export of tracker items



1.2.3. Advanced usage

In some cases, you may have used some custom jquery code in wiki pages or in tracker fields of type ‘static text’, with hardcoded references to tracker ids, tracker field ids, or category ids, and those numbers are not renamed by default to the corresponding profile reference for that tiki object, since that a complex case to handle properly. A compromise for such cases has been added so that if you add some extra comment at the end of the line indicating that the preceding line has some value to be replaced by the corresponding profile reference, Tiki will do so for you.

That means that the profile exporter will catch the lines within jquery code in which the user has added a specific comment as a flag for tiki to do a replacement there in these three cases:

javascript-code // profile_reference=tracker
javascript-code // profile_reference=tracker_field
javascript-code // profile_reference=category


Examples:
trackerId: 13, // profile_reference=tracker
var user_fields = ['230', '302', '303']; // profile_reference=tracker_field
$("select[name='ins_160[]']").val("26").trigger('chosen:updated').parents(".form-group").hide(); // profile_reference=category


In fact, we support any profile reference already implemented such as wiki_page (other than just tracker, tracker_field and category). The full list is in lib/core/Tiki/Profile/InstallHandler dir, which is documented online also here:
https://profiles.tiki.org/Handlers

1.2.4. How to apply the local profile elsewhere

If you want to install this profile elsewhere, copy the local profile (usually from folder ./profiles), place it at the new server or new tikiroot path, and execute in the terminal at the tikiroot path:
Command
php console.php profile:apply Some_Profile_Name file://profiles


Tip: in Windows OS you also need to use this syntax “file://profiles” (and not “file:\profiles”).

See Local profiles

Related

alias
Profile Export | Profile Symbols | ProfileSymbols | profileexport | localprofile | localprofiles

doc.tiki.org


Bootstrap

AdminGuide

UserGuide

Keywords

Keywords serve as “hubs” for navigation within the Tiki documentation. They correspond to development keywords (bug reports and feature requests):

Accessibility (WAI and 508)
Accounting (7.x)
Articles and Submissions
Backlinks
Banners
Batch (6.x)
BigBlueButton audio/video/chat/screensharing (5.x)
Blog
Bookmark
Browser Compatibility
Link Cache
Calendar
Category
Chat
Clean URLs
Comments
Communication Center
Compression (gzip)
Contacts (Address Book)
Contact us
Content Templates
Contribution (2.x)
Cookie
Copyright
Credit (6.x)
Custom Home and Group Home Page
Date and Time
Debugger Console
Directory of hyperlinks
Documentation link from Tiki to doc.tiki.org (Help System)
Docs 8.x
Draw 7.x
Dynamic Content
Dynamic Variable
External Authentication
FAQ
Featured links
File Gallery
Forum
Friendship Network (Community)
Gmap Google maps
Groups
Hotword
HTML Page
i18n (Multilingual, l10n, Babelfish)
Image Gallery
Import-Export
Install
Integrator
Interoperability
Inter-User Messages
InterTiki
Kaltura video management (4.x)
Karma
Live Support
Login
Logs (system & action)
Look and Feel
Lost edit protection
Mail-in
Map with Mapserver
Menu
Meta Tags
Mobile Tiki and Voice Tiki
Mods
Module
MultiTiki
MyTiki
Newsletter
Notepad
Payment
Performance Speed / Load
Permissions
Platform independence (Linux-Apache, Windows/IIS, Mac, BSD)
Polls
Profiles
Profile Manager
Report
Toolbar
Quiz
Rating
Feeds
Score
Search engine optimization
Search
Search and Replace
Security
Semantic links (3.x)
Shadowbox
Shadow Layers
Share
Shopping cart
Shoutbox
Slideshow
Smiley
Social Networks
Spam protection (Anti-bot CATPCHA)
Spellcheck
Spreadsheet
Stats
Surveys
Tags (2.x)
Task
Tell a Friend, alert + Social Bookmarking
TikiTests (2.x)
Theme CSS & Smarty
Trackers
Transitions (5.x)
TRIM
User Administration including registration and banning
User Files
User Menu
Watch
WebHelp
WebDAV (5.x)
Webmail
Web Services
Wiki 3D
Wiki History, page rename, etc
Wiki Page Staging and Approval (2.x)
Wiki Plugin extends basic syntax
Wiki Syntax
Wiki structure (book and table of content)
Workspace
WSOD
WYSIWYCA
WYSIWYG (2.x)
XMLRPC


Tiki Newsletter

Delivered fresh to your email inbox!
Newsletter subscribe icon
Don't miss major announcements and other news!
Contribute to Tiki
Show php error messages