Export Profiles tab | |
Related Topics
|
1.1. Using Tiki user interface | |
1.1.1. Preferences in Control Panel 'Profiles' | |||||||||
|
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.2.2. Exportable tiki objects | |
Copy to clipboard
Copy to clipboard
Copy to clipboard
Copy to clipboard
|
1.2.3. Export of tracker items | |
Since Tiki18 it is also possible to export tracker items, defining one tracker and filter a list of items (optional) and a list of fields (optional). |
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: Copy to clipboard
See Local profiles |
1.2.5. Examples | |
Profile creation that include an empty tracker and wiki pages.Using the following will create a profile with the tracker Id 1 (empty from items) and the 2 Wiki pages (homepage and contact-) Copy to clipboard
Once it is done (and permission set according to your setup) use the following command to apply it. Copy to clipboard
Profile creation that include a tracker, the tracker items and a wiki page.Using the following will create a profile with the tracker Id 1 with all the items plus one Wiki pages (homepage) Copy to clipboard
Once it is done (and permission set according to your setup) use the following command to apply it. Copy to clipboard
|
1.2.6. 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: Copy to clipboard
Copy to clipboard
Related
alias
Profile Export | Profile Symbols | ProfileSymbols | profileexport | localprofile | localprofiles | Profile Export | ProfileExport |