Views: 4305
Last Modified: 10.10.2012

The blog interface is built up as an aggregate of administration and public files, or pages.

The demo version takes advantage of the new composite component Blogs to create pages and sections for blogs.

Click on image to enlarge

Physically, this component occupies only one page; but in fact, it is quite smart to build the fully functional blogging section for a site. Just a single move and you obtain a pile of pages:

  • blog index page (displays blog groups, recent messages etc.);
  • "Add to friends" page;
  • blog settings page;
  • user group configuration page;
  • tag customization page;
  • blog owner profile page;
  • blog search page;
  • other service pages.

You can explore sample blog public files in /communication/blog/ (according to the Blogs module settings):

Click on image to enlarge

Note that the demo version index.php file is used to perform all blogging interface jobs in the common mode (not search engine friendly, SEF), while blog_sef.php handles SEF mode requests.

For example, the following URL may happen to be queried to view a blog post without SEF:

Click on image to enlarge

Otherwise in the SEF mode:

Click on image to enlarge

Courses developed by «Bitrix», Inc.