Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Troubles setting up with current readme #4

Open
mandymozart opened this issue Jan 30, 2019 · 0 comments
Open

Troubles setting up with current readme #4

mandymozart opened this issue Jan 30, 2019 · 0 comments

Comments

@mandymozart
Copy link

mandymozart commented Jan 30, 2019

The current readme file of this plugin did not provide me with a comprehensive fail safe guide to install it properly.

Environment:

MacOS 10.13.1 High Sierra / MAMP Pro / PHP 7.2. / git version 2.17.2 (Apple Git-113)

screen shot 2019-01-30 at 02 56 43

site.yml:

title: Site

columns:
  - width: 1/2
    sections:
      pages:
        type: pages
        create: default
        template:
          - about
          - home
          - default
  - width: 1/2
    sections:
      revisions:
        type: gitLog
        label: History
        limit: 5
        kirbyOnly: true
      log:
        type: gitRevisions
        label: Revisions
        fields:
          - title
          - text
        limit: 5
        columns:
          - author
          - hash
          - message

And I tried a 2nd version:

screen shot 2019-01-30 at 03 30 46

title: Site

fields:
  revisions:
    type: gitLog
    label: History
    limit: 5
    kirbyOnly: true
  log:
    type: gitRevisions
    label: Revisions
    fields:
      - title
      - text
    limit: 5
    columns:
      - author
      - hash
      - message

columns:
  - width: 1/2
    sections:
      pages:
        type: pages
        create: default
        template:
          - about
          - home
          - default

This time only the first field get's outputted. everything else disappears.

And last but not least, here is my config. I do not understand what you mean but the prefix in your description.

config.php:

<?php

return [
    'dir' => 'https://gitlab.com/viennastruggle/vs_content',         // *
    'branch' => 'master',
    'shouldPull' => false,
    'shouldPush' => false,
    'shouldCommit' => false,
    'userHooks' => false,     // **
    'gitBin' => '/usr/bin/git',
    'windowsMode' => false,
    'logFile' => 'git-log.txt',
    'debug' => true
];

I would like to contribute in any way to attribute to this readme to get newcomers like myself setup quicker on path.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant