Loading...
 

Profile_Repository_Profile

Profile Repository


You like profiles? Want to create your own? This profile will set-up your Tiki install to act as a profile repository. This profile uses the wiki handler, Category handler and permission management. (Tested, working on 4.x and 5.0)

 Tip

See Custom Repository for full instructions, including how to manually reproduce the steps below if this installer isn't working for you.


Rewrite rules should be activated on your host.

In order to simplify adding your profile repository to the profile list, you will also need to add a line to your rewrite rules. This profile will include this page: Profile_Repository_Rewrite_Configuration

If you can't have have Rewrite Rules, it can still work but with the long URLs.

YAML
instructions: Profile_Repository_Rewrite_Configuration
preferences:
 enable: [ feature_wiki, feature_categories, feature_wiki_export ]
permissions:
 Anonymous:
  allow: [ export_wiki, view_category ]
 Registered:
  allow: [ export_wiki, view_category ]
objects:
 -
  type: wiki_page
  data:
   name: Profile_Repository_Rewrite_Configuration
   content: wikicontent:Profile_Repository_Rewrite_Configuration
 -
  type: category
  ref: profile_category
  data:
   name: My Profiles


Once you have applied the profile, simply put wiki pages in the newly created "My Profiles" category and you'll be able to use them.