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

Content Management Url Explained #11

Open
Jimmi08 opened this issue Dec 28, 2019 · 0 comments
Open

Content Management Url Explained #11

Jimmi08 opened this issue Dec 28, 2019 · 0 comments

Comments

@Jimmi08
Copy link
Member

Jimmi08 commented Dec 28, 2019

The content management plug-in contains a lot of different pages to show different parts of content. This page tries to provide some insight in these pages. In all following explanations X (and/or Y) are used for numeric values > 0. Further information is given to which template file is used on each page and which admin options reflect the content on each page.

content.php

Render all main parent categories.
Render the submit content link (if allowed).
Render the manager content link (if allowed).
Template: content_type_template.php
This template also contains links to different content pages for each top level category (using shortcode CONTENT_TYPE_TABLE_LINK).

content.php?recent.X

Render a list of (recent) content items in this category.
All content items you will see in this list are so called 'content item previews'.
Template: content_recent_template.php
Admin : Options > Content Item Preview

content.php?content.X

Render a content item.

Template: content_content_template.php
Admin : Options > Content pages
The comment formatting is controlled in your theme template or the comment template that is present in the e107_themes/templates folder.

content.php?author.list.X

Render all authors that have created content items.

Template: content_author_template.php
Admin : Options > Author Page

content.php?author.X

Render a list of content items that have been written by a certain author.

Template: content_recent_template.php
Admin : Options > Author Page
content.php?list.X

Render a list of all content items.
This is the content archive, which shows a simpler (cleaner) list of content items for fast browsing.

Template: content_archive_template.php
Admin : Options > Archive Page
content.php?cat.list.X

Render a list of the main parent category and all subcategories.

Template: content_cat_template.php : $CONTENT_CAT_TABLE : show all categories
Admin : Options > Category pages > all categories page

content.php?cat.X

Render the content category.
Optionally this page can also display the subcategories and the content items of the category.

Template: content_cat_template.php : $CONTENT_CAT_LIST_TABLE : show the top level category
Template: content_cat_template.php : $CONTENT_CAT_LISTSUB_TABLE : show the subcategories
Template: content_recent_template.php (show the list (preview) of content items within this category)
Admin : Options > Category pages > view category page (for the categories and subcategories)
Admin : Options > Content Item Preview (for the list of content items)
content.php?cat.X.view

Render the full content category.
The full text of the content category will be displayed.
The page is identical to content.php?cat.X but the full text will be displayed instead of a limited amount of text of the content category.

Template: content_cat_template.php
Admin : Options > Category pages > view category page
content.php?cat.X.comment

Render the comment page for the content category.
On this page you can submit comments to the content category.

Template: content_cat_template.php
Admin : Options > Category pages > view category page

content.php?top.X

Render a list of content items that have been best rated by users.

Template: content_top_template.php
Admin : Options > Top Rated Page

content.php?score.X

Render a list of content items that have been best scored (awarded) by the author of the content item.
This is a score rating by the author, used mainly for reviews.

Template: content_score_template.php
Admin : Options > Top Score Page

content_submit.php

Render all main parent categories for which submit is allowed.

Template: content_submit_type_template.php
Admin : Options > Submit Item

content_submit.php?content.submit.X

Render the content item create form.
Changing the category from the select box will reload the page, so make sure you first select the category to which you want to submit a content item. after changing the category, the url will be content_submit.php?content.submit.Y

Template: none, create form is not templated.
Admin : Options > Submit Item

content_manager.php

Render all main parent categories for which manage is allowed.

Template: content_manager_template.php
Admin : Personal Content Manager

content_manager.php?content.X

Render a list of content items that you are allowed to manage.
Dependent of options you can edit and/or delete these items.
Dependent on options editing an item will be posted either directly to the site (no approval) or will need admin approval.

Template: none, list is not templated.
Admin : Personal Content Manager

content_manager.php?content.submitted.X

Render a list of content items that have been submitted to this category.
You can edit and delete those items. To approve those items, edit and update the item.

Template: none, list is not templated.
Admin : Personal Content Manager

content_manager.php?content.create.X

Render the content item create form.

Template: none, create form is not templated.
Admin : Personal Content Manager

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

No branches or pull requests

1 participant