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

Create articles and knowledgebase [2] #1

Closed
1 of 3 tasks
KrzysztofMadejski opened this issue Jan 23, 2015 · 4 comments
Closed
1 of 3 tasks

Create articles and knowledgebase [2] #1

KrzysztofMadejski opened this issue Jan 23, 2015 · 4 comments
Assignees
Labels

Comments

@KrzysztofMadejski
Copy link
Member

  • Create new role for site content editors
  • Create articles
  • Create wiki-like knowledgebase (pages hierarchy, navigation, create pages)

Use one of:

@Cain-Ish
Copy link
Contributor

Need for home page

@KrzysztofMadejski
Copy link
Member Author

Drupal & wordpresser works so so, better would be to import RSS feed and show it:

Why better?

  • coherent look out-of-the-box: using CKAN styles; no need to theme wordpress
  • can be connected with various external systems

And there's an extension for that: http://extensions.ckan.org/extension/feedcontent/

@KrzysztofMadejski
Copy link
Member Author

Final solution:

Create articles as separate type of packages:

  • schema enforcing only name and description
  • create form for creation and template for displaying
  • embed 4 on main page [limit, shortcut of description]
  • only sysadmin can manage articles

@KrzysztofMadejski
Copy link
Member Author

@Cain-Ish: Już jest przygotowane pod #15. Zmerguj się z develop.

Kod na stronę główną:

   {% for a in h.dp_recent_articles() %}
          <div>
            <h2>{{ a.title }}</h2>
            <p>{{ a.author }}</p>
            <p>{{ h.render_datetime(h.date_str_to_datetime(a.metadata_created)) }}</p>
            <p>{{ h.dp_shorten_article(a.notes, 200) }}</p>
          </div>
        {% else %}
            No articles found!
        {% endfor %}

@KrzysztofMadejski KrzysztofMadejski changed the title Create articles and knowledgebase Create articles and knowledgebase [1,5D] Mar 2, 2015
@KrzysztofMadejski KrzysztofMadejski changed the title Create articles and knowledgebase [1,5D] Create articles and knowledgebase [12] Mar 2, 2015
@KrzysztofMadejski KrzysztofMadejski changed the title Create articles and knowledgebase [12] Create articles and knowledgebase [1] Mar 2, 2015
@KrzysztofMadejski KrzysztofMadejski changed the title Create articles and knowledgebase [1] Create articles and knowledgebase [2] Mar 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants