b2evolution b2evolution

  • Sign in
  • Sign up
  • About
  • Downloads
  • Hosting
  • Docs
  • Support
  • Sign in
  • Sign up
  • Manuals Home
  • Latest Updates
 
  1. b2evolution CMS User Manual
  2. Front-office Reference
  3. Disp Reference
  4. disp = single

disp = single

disp = single

This Disp is used to display a single post, typically with its comments below.

This applies to regular posts as well as custom Post Types that have no special behavior. See disp=page for an example of a special behavior. For example, the disp=single display typically displays Previous & Next links, whereas the disp=page template doesn’t.

The display of the comments below the post is influenced by settings found in Features > Comments.

This, of course, only applies as long as the particular skin you are using doesn’t completely override the behavior of b2evolution’s default disp=single handler or the default feedback display templates.

Additional URL params

Possible URL params

Name

Type

Description

Default

blog

integer

ID of the blog to be displayed. In the front-office, the ID of the collection to be displayed will generally be determined by the URL.

p

integer

ID of the post to display

page

integer

Number of the page to display (in case of multipage posts)

1

Examples

To pass parameters in the query string, precede the first param name with a ? question mark and every other param with a & sign.

  • index.php?p=50 will display the post with ID #50 in the database.

  • index.php?p=50&page=1 will display the first page of post #50. this, again, should be used only with p=, for individual entries.

Default Container and Widgets

Below is the default main Container and Widgets of this $disp that comes with b2evolution. Yours may look different depending on the particular skin in use and the widgets currently installed and how they are configured.

disp = single

Tip: We can also fully customize how this disp will look by creating or replacing the _single.disp.php file in the currently used skin’s folder.

Tags: 6.11.2, incomplete
Created by fplanque • Last edit by winskie on 2019-05-29 07:14 • •

No feedback yet

On this page

  • Additional URL params
  • Examples
  • Default Container and Widgets

Search the Manual

Content Hierarchy

  • b2evolution CMS User Manual
  • User's Guide
  • Installation / Upgrade
  • Front-office Reference
    • Collection Types
    • Disp Reference
      • User Profile Disps
      • disp = 404
      • disp = access_denied
      • disp = access_requires_login
      • disp = activateinfo
      • disp = arcdir
      • disp = catdir
      • disp = comments
      • disp = contacts
      • disp = download
      • disp = edit
      • disp = edit_comment
      • disp = feedback-popup
      • disp = flagged
      • disp = front
      • disp = help
      • disp = login
      • disp = lostpassword
      • disp = mediaidx
      • disp = messages
      • disp = msgform
      • disp = page
      • disp = postidx
      • disp = posts
      • disp = proposechange
      • disp = register
      • disp = search
      • disp = single
      • disp = sitemap
      • disp = tags
      • disp = terms
      • disp = threads
      • disp = usercomments
      • disp = useritems
      • disp = users
      • disp = visits
      • disp_detail = posts-cat
      • disp_detail = posts-date
      • disp_detail = posts-default
      • disp_detail = posts-filtered
      • disp_detail = posts-next
      • disp_detail = posts-subcat
      • disp_detail = posts-tag
      • disp_detail = posts-topcat
    • Widgets Reference
    • The In-skin Edit Screen
    • Comments / Feedback Area
    • Social Media Meta Tags
    • Workflow Panel
    • Flagging Items
  • Back-office Reference
  • Developer Reference
  • Operations Reference
  • Advanced Topics
  • Glossary
  • Archives
Blog software

This online manual is powered by b2evolution CMS – A complete engine for your website.

About b2evolution

  • What is it?
  • Features
  • Getting Started
  • Screenshots
  • Online demo
  • Testimonials
  • Design philosophy
  • Free & open source
  • Terms of service

Downloads

  • Latest releases
  • Skins
  • Plugins
  • Language packs

About us

  • About us
  • Contact

Webhosting Guide

  • Web hosting blog
  • Best web hosting
  • Cheap web hosting
  • Green web hosting
  • Hosting with SSH
  • VPS hosting
  • Dedicated servers
  • Reseller hosting
  • Int'l: UK / France

Docs & Support

  • Online manual
  • Forums
  • Hire a pro !

Other

  • Adsense
  • Press room
  • Privacy policy

Stay in touch

  • GitHub
  • Twitter
  • Facebook
  • LinkedIn
  • News blog
  • RSS feed
  • Atom feed

Founded & Maintained by François Planque