Loading...
 
Skip to main content

History: test_new_personal_blog_aio

Source of version: 1

Copy to clipboard
            {maketoc}


! General

!! Preferences
{CODE(caption=>YAML,wrap=1)}
preferences:
 feature_cssmenus: y
 feature_top_bar: y
 feature_sitemenu: y
 feature_antibot : y
 feature_page_title: n
 feature layoutshadows: y
 feature_freetags: y
 feature_search_fulltext: y
 feature_syntax_highlighter: y
{CODE}

!! Personalization
{CODE(caption=>YAML)}
preferences:
 browsertitle: $profilerequest:browsertitle$My Blog$
 sitetitle: $profilerequest:sitetitle$My Blog$
 sitesubtitle: $profilerequest:sitesubtitle$My Random Thoughts and Experiences$
 feature_sitelogo: y # This permits logo, title and subtitle
 useUrlIndex: y
 urlIndex: tiki-view_blog.php?blogId=$profileobject:personal$
{CODE}

!! Permissions
{CODE(caption=>YAML, wrap=1)}
permissions:
 Anonymous:
  allow: 
   - search
   - tell_a_friend
   - messagess
   - view_freetags
 Registered:
  allow: []
  include: Anonymous
 Admins:
  allow: [ admin ]
{CODE}

!! Menu
{CODE(caption="YAML" wrap="1")}objects:
 -
  type: menu
  ref: personal_blog_menu
  data:
   name: My Menu
   description: A menu containing the base navigation of the site
   collapse: none
   items:
    -
     name: Home
     url: 'tiki-view_blog.php?blogId=1'
     groups: [ Anonymous ]
     userlevel: '0'
     canonic: 'tiki-view_blog.php?blogId=1'
     sefurl: 'blog1-My-Personal-Blog'
    -
     name: Vlog
     url: ((Vlog))
     groups: [ Anonymous ]
    -
     name: Socials
     url: ((Socials))
     groups: [ Anonymous ]
    -
     name: About
     url: ((About))
     groups: [ Anonymous ]
    -
     name: Contact
     url: tiki-contact.php
     groups: [ Anonymous ]
    -
     type: s
     name: Admin
     url: tiki-admin.php
     groups: [ Admins ]
     section: null
     perm: ''
     userlevel: '0'
     icon: null
     class: ''
     canonic: tiki-admin.php
     sefurl: tiki-admin.php
     items:
    -
     type: o
     name: Settings
     url: tiki-admin.php
     section: ''
     perm: ''
     groups: [ Admins ]
     userlevel: '0'
     icon: ''
     class: ''
     canonic: tiki-admin.php
     sefurl: tiki-admin.php
    -
     type: o
     name: Add Blog Post
     url: tiki-blog_post.php
     section: null
     perm: ''
     groups: [ Admins ]
     userlevel: '1'
     icon: null
     class: ''
     canonic: tiki-blog_post.php
     sefurl: tiki-blog_post.php
    -
     type: o
     name: Add Vlog
     url: 'tiki-ajax_services.php?controller=tracker&action=insert_item&trackerId=$profileobject:trk_vlog$'
     section: null
     perm: ''
     groups: [ Admins ]
     userlevel: '1'
     icon: null
     class: ''
     canonic: 'tiki-ajax_services.php?controller=tracker&action=insert_item&trackerId=$profileobject:trk_vlog$'
     sefurl: 'tiki-ajax_services.php?controller=tracker&action=insert_item&trackerId=$profileobject:trk_vlog$'
    -
     type: o
     name: Manage Blog
     url: tiki-list_blogs.php
     section: null
     perm: ''
     groups: [ Admins ]
     userlevel: '1'
     icon: null
     class: ''
     canonic: tiki-list_blogs.php
     sefurl: tiki-list_blogs.php
    -
     type: o
     name: Manage Vlog
     url: tiki-view_tracker.php?trackerId=$profileobject:trk_vlog$
     section: null
     perm: ''
     groups: [ Admins ]
     userlevel: '1'
     icon: null
     class: ''
     canonic: tiki-view_tracker.php?trackerId=$profileobject:trk_vlog$
     sefurl: tiki-view_tracker.php?trackerId=$profileobject:trk_vlog$
    -
     type: o
     name: List Pages
     url: 'tiki-listpages.php?cookietab=1'
     section: null
     perm: ''
     groups: [ Admins ]
     userlevel: '1'
     icon: null
     class: ''
     canonic: 'tiki-listpages.php?cookietab=1'
     sefurl: 'tiki-listpages.php?cookietab=1'
    -
     type: o
     name: Menu
     url: tiki-admin_menus.php
     section: null
     perm: ''
     groups: [ Admins ]
     userlevel: '1'
     icon: null
     class: ''
     canonic: tiki-admin_menus.php
     sefurl: tiki-admin_menus.php
{CODE}

!! Modules
{CODE(caption=>YAML, wrap=1)}
objects:
 -
  type: module
  ref: module_menu
  data:
   name: menu
   position : topbar
   order: 10
   params:
    id: $profileobject:personal_blog_menu$
    type: horiz
    menu_id: tiki-top
    menu_class: clearfix
    nobox: y
 -
  type: module
  ref: module_freetags_most_popular
  data:
   position: left
   order: 5
   name: freetags_most_popular
   groups: [ Anonymous ]
 -
  type: module
  data:
   name: adminbar
   params:
    mode: header
    nobox: 'y'
   groups:
    - Admins
   order: '3'
   position: top
 -
  type: module
  data:
   name: CustomCSS
   position: bottom
   order: 2
   params:
    nobox: y
   custom: |
    {literal}
      <style>
        .personal-blog-social > p > img, .personal-blog-vlog > p > img, .personal-blog-about > p > img { width: 100%; }
        .blog-postbody-title .card-title { float:left; }
        .blog-postbody-title .author_info { clear: both; }
        .instructions .blog-postbody-title, .instructions .postbody-content { padding: 20px; } 
        .postbody-content { padding-left: 0; padding-right: 0; }
        .tiki_blogs .card.blogpost, .vlog-post { padding: 20px; border: 1px solid #ccc; }
        .tiki_blogs .card.blogpost, .tiki_blogs #comment-container { margin-left: 5%; margin-right: 5%; }
        .tiki_blogs .post_single { margin-top: 30px; }
        .tiki_blogs .postfooter { padding: 0; }
        .top_modules .module.box-logo { order: 1; }
        .top_modules .module.box-adminbar { order: 2; width: 45%; }
        .top_modules .module.box-login_box { order: 3; }
        .vlog-post { display: flex; flex-direction: row; justify-content: space-between; margin-left: 5%; margin-right: 5%; border-radius: 6px; }
        #middle { padding: 15px 5% 0; }
        #bottom_modules { background-color: #000; color: #fff; }
        #bottom_modules .box-CustomFooter { width: 100%; }
      </style>
    {/literal}
 -
  type: module
  data:
   name: CustomFooter
   position: bottom
   order: 1
   params:
    nobox: y
   custom: |
    {literal}
      <div class="personal-blog-footer">
        <p style="text-align: center;">© <span class="now"></span> Evoludata</p>
      </div>
    {/literal}
    {jq}{literal}
      $(document).ready(function () {
        $('.personal-blog-footer .now').text((new Date).getFullYear());
      });
    {/literal}{/jq}
{CODE}


! Trackers
{CODE(caption=>YAML, wrap=1)}
objects:
 -
  type: tracker
  ref: trk_vlog
  data:
      name: 'Vlog'
      description: 'Vlog entries'
      show:
        - status
 -
  type: tracker_field
  ref: trk_vlog_title
  data:
     name: 'Vlog Title'
     permname: vlog_title
     tracker: $profileobject:trk_vlog$
     type: text_field
     order: 10
     flags:
       - list
       - searchable
       - public
       - mandatory
 -
  type: tracker_field
  ref: trk_vlog_text
  data:
     name: 'Vlog Text'
     permname: vlog_text
     tracker: $profileobject:trk_vlog$
     type: text_area
     order: 20
     flags:
       - list
       - searchable
       - public
 -
  type: tracker_field
  ref: trk_vlog_video
  data:
     name: 'Vlog Video'
     permname: vlog_video
     tracker: $profileobject:trk_vlog$
     type: text_field
     order: 30
     flags:
       - list
       - searchable
       - public
{CODE}

!! Sample data for the tracker
{CODE(caption=>YAML, wrap=1)}
objects:
 -
  type: tracker_item
  ref: vlog_001
  data:
     tracker: $profileobject:trk_vlog$
     status: open
     values:
       -  [ $trk_vlog_title, "Marc Laporte showcases Tiki Profiles" ]
       -  [ $trk_vlog_text, Test1 ]
       -  [ $trk_vlog_video, https://www.youtube.com/watch?v=1BVuMODhujI ]
 -
  type: tracker_item
  ref: vlog_002
  data:
     tracker: $profileobject:trk_vlog$
     status: open
     values:
       -  [ $trk_vlog_title, "Marc Laporte showcases Tiki Profiles again" ]
       -  [ $trk_vlog_text, Test2 ]
       -  [ $trk_vlog_video, https://www.youtube.com/watch?v=1BVuMODhujI ]
 -
  type: tracker_item
  ref: vlog_003
  data:
     tracker: $profileobject:trk_vlog$
     status: open
     values:
       -  [ $trk_vlog_title, "Marc Laporte showcases Tiki Profiles a third time!" ]
       -  [ $trk_vlog_text, Test3 ]
       -  [ $trk_vlog_video, https://www.youtube.com/watch?v=1BVuMODhujI ]
{CODE}


! Blog

__Preferences__
{CODE(caption=>YAML,wrap=1)}
preferences:
 feature_blogs: y
 rss_blogs: y
 feature_blogposts_comments: y
 feature_blog_heading: n
{CODE}

__Permissions__
{CODE(caption=>YAML, wrap=1)}
permissions:
 Anonymous:
  allow: 
   - read_blog
 Registered:
  allow: []
 Admins:
  allow: [ admin ]
{CODE}

__Modules__
{CODE(caption="YAML" wrap="1")}
objects:
 -
  type: module
  ref: module_last_blog_posts
  data:
   name: last_blog_posts
   position: left
   groups: [ Anonymous ]
   order: 10
   params: 
    blogid: $profileobject:personal$
    nonums: y
 -
  type: module
  ref: module_blogroll
  data:
   position: left
   order: 20
   name: Blogroll
   custom: <a href="https://info.tiki.org/articles" target="_blank">Tiki.org News</a><br><a href="http://tiki.org/blog26" target="_blank">Tiki Dev Blog</a>
   groups: [ Anonymous ]
 -
  type: module
  ref: module_blog_last_comments
  data:
   position: left
   order: 25
   name: blog_last_comments
   groups: [ Anonymous ]
 -
  type: module
  ref: module_months_links
  data:
   position: left
   order: 15
   name: months_links
   groups: [ Anonymous ]
   params: 
    id: $profileobject:personal$
    nonums: y
    feature: blogs
    title: Archives
    section: blogs; wiki page
{CODE}

!! Blog posts
{CODE(caption=>YAML,wrap=>1)}
objects:
 -
  type: blog
  ref: personal
  data:
   title: $profilerequest:Blog Title$My Personal Blog$
   description: $profilerequest:Blog Description$Random daily thoughts and travel stories$
   user: $profilerequest:Blog Owner$admin$
   allow_comments: y
   use_author: y
   add_date: y
 -
  type: blog_post
  ref: sample_post1
  data:
   blog: $personal
   title: "Travel Diaries: Exploring The World"
   content: wikicontent:test_new_personal_blog_post1_include
 -
  type: blog_post
  ref: sample_post2
  data:
   blog: $personal
   title: "A Day in My Life: Behind the Scenes of a web dev"
   content: wikicontent:test_new_personal_blog_post2_include
 -
  type: blog_post
  ref: sample_post3
  data:
   blog: $personal
   title: "My Favorite Apps/Web Services/Websites and Why They Matter"
   content: wikicontent:test_new_personal_blog_post3_include
{CODE}


! Wiki

__Preferences__
{CODE(caption=>YAML,wrap=1)}
preferences:
 feature_wiki: y
 feature_wiki_paragraph_formatting: y
 feature_wiki_paragraph_formatting_add_br: y
 feature_wiki_description: y
 feature_wiki_ext_icon: n
 wiki_edit_plugin: y
 wikiplugin_bloglist: y
 wikiplugin_jq: y
{CODE}

__Permissions__
{CODE(caption=>YAML, wrap=1)}
permissions:
 Anonymous:
  allow: 
   - view
 Registered:
  allow: []
 Admins:
  allow: [ admin ]
{CODE}

__Modules__
{CODE(caption=>YAML, wrap=1)}
objects:
 -
  type: module
  ref: module_quick_edit
  data:
   name: quick_edit
   position: left
   groups: [ Registered ]
   order: 3
{CODE}

!! Wiki pages
{CODE(caption=>YAML,wrap="1")}
instructions: Instructions of the Personal_Blog_and_Profile
preferences:
  enable: [ feature_wiki ]
objects:
  -
    type: wiki_page
    data:
      name: Socials
      lang: en
      mode: create_or_update
      content: wikicontent:test_new_personal_blog_social_include
  -
    type: wiki_page
    data:
      name: About
      lang: en
      mode: create_or_update
      content: wikicontent:test_new_personal_blog_about_include
  -
    type: wiki_page
    data:
      name: Vlog
      lang: en
      mode: create_or_update
      content: wikicontent:test_new_personal_blog_vlog_include
  -
    type: wiki_page
    ref:  instructions_personal_blog_and_profile_page
    data:
      name: Instructions of the Personal_Blog_and_Profile
      description: The instructions of the Personal_Blog_and_Profile profile
      lang: en
      mode: create_or_update
      content: wikicontent:test_new_personal_blog_instructions
{CODE}


! Comments

__Preferences__
{CODE(caption=>YAML,wrap=1)}
preferences:
 feature_comments_moderation: y
 feature_comments_locking: y
{CODE}

__Permissions__
{CODE(caption=>YAML, wrap=1)}
permissions:
 Anonymous:
  allow: 
   - read_comments
   - post_comments
 Registered:
  allow: []
 Admins:
  allow: [ admin ]
{CODE}


! Contact Us

__Preferences__
{CODE(caption=>YAML,wrap=1)}
preferences:
 feature_contact: y
 feature_messages: y
 contact_anon: y
{CODE}

__Permissions__
{CODE(caption=>YAML, wrap=1)}
permissions:
 Anonymous:
  allow: 
   - messages
 Registered:
  allow: []
 Admins:
  allow: [ admin ]
{CODE}


! File Gallery
{CODE(caption=>YAML, wrap=1)}
objects:
 -
  type: file_gallery
  ref: personal_blog_pictures_gallery_id
  data:
   name: Personal Blog Pictures
   description: Images for the personal blog wiki pages
   owner: admin
   archives: 0
   flags: [ public, visible, lockable ]
   column: [ icon, name, created, creator, files ]
   init_files:
    - https://tiki.org/display505
    - https://tiki.org/display507
    - https://tiki.org/display508
    - https://tiki.org/display509
    - https://tiki.org/display510
    - https://tiki.org/display511
{CODE}

        

History

Information Version
Fri 13 of Jun, 2025 03:21 UTC Benoit Roy change some text 10
Fri 13 of Jun, 2025 03:14 UTC Benoit Roy change some text 9
Sat 07 of Jun, 2025 00:54 UTC Benoit Roy test 8
Sat 07 of Jun, 2025 00:53 UTC Benoit Roy blogposts wiki page 7
Sat 07 of Jun, 2025 00:23 UTC Benoit Roy instructions wiki page 6
Fri 06 of Jun, 2025 23:58 UTC Benoit Roy about wiki page 5
Fri 06 of Jun, 2025 23:45 UTC Benoit Roy social wiki page 4
Fri 06 of Jun, 2025 23:36 UTC Benoit Roy vlog wiki pages 3
Fri 06 of Jun, 2025 23:33 UTC Benoit Roy wiki pages 2
Fri 06 of Jun, 2025 23:21 UTC Benoit Roy new 1
Collapse/expand modules below