贊助方

Blog

Create new article by News&Blog

Translated from 蝸牛博客
原载:蜗牛博客
网址:http://www.snailtoday.com
尊重版权,转载时务必以链接形式注明作者和原始出处及本声明

1. Add the NewsBlog Application


Click on the "Blog" link in the navbar to get into the blog page.
Click "edit" to switch to the structure mode

Click on Page and go to Advanced settings.

Django CMS can add any application into your Django CMS project.In the dialogue window, find out "application" this option, and select "NewsBlog" in the drop down menu, and then click save as well as publish this page.

After adding the application, there is News&Blog link in the navbar, but the page is still empty.

2. Add article


Click on the "Create" button showed on the navbar, and select "New new/blog article" in the pop up window. After these steps, click "Next".

Enter the title and content of the article, and click on "Create".

Repeat the steps above to create the second article.
Here is the effect after publishing.

3. Publish the article


After clicking on the link, News&Blog, activate the function of "Article List", an we can notice that these two articles which we created have not been pubished in the pop-out window.

Switch to the structure mode, and click twice on the title of article.

Check on the "Is published" checkbox and save.

By the same measures, publish the other article.
Click on Article List page, and you can see the status of the articles is published.

Previous: Create new article by News & Blog

Next: Customize your own blog template

 

Click here to download a PDF copy of this article

Save it to read later, or share with a colleague


Comment

There is no comment, you can make the first one!

Comment