b2evolution

Multilingual multiuser multiblog engine

b2evolution Technical Documentation (Version 2.4) [ class tree: main ] [ index: main ] [ all elements ]

Source for file blog7.php

Documentation is available at blog7.php

  1. <?php
  2. /**
  3.  * This is a stub file for displaying a b2evolution blog.
  4.  *
  5.  * A stub file is used to anchor a particular blog in a particular location of your website.
  6.  * More info: {@link http://manual.b2evolution.net/Stub_file}
  7.  *
  8.  * b2evolution - {@link http://b2evolution.net/}
  9.  * Released under GNU GPL License - {@link http://b2evolution.net/about/license.html}
  10.  * @copyright (c)2003-2008 by Francois PLANQUE - {@link http://fplanque.net/}
  11.  */
  12.  
  13. # First, select which blog you want to display here!
  14. # You can find these numbers in the back-office under the Blogs section.
  15. # You can also create new blogs over there. If you do, you may duplicate this file for the new blog.
  16. $blog 7;
  17.  
  18. # You could *force* a specific skin here with this setting: (otherwise, default will be used)
  19. # $skin = 'custom';
  20.  
  21. # This setting retricts posts to those published, thus hiding drafts.
  22. # You should not have to change this.
  23. $show_statuses array();
  24.  
  25. # Here you can set a limit before which posts will be ignored
  26. # You can use a unix timestamp value or 'now' which will hide all posts in the past
  27. $timestamp_min '';
  28.  
  29. # Here you can set a limit after which posts will be ignored
  30. # You can use a unix timestamp value or 'now' which will hide all posts in the future
  31. $timestamp_max 'now';
  32.  
  33. # Additionnaly, you can set other values (see URL params in the manual)...
  34. # $order = 'ASC'; // This for example would display the blog in chronological order...
  35.  
  36. /**
  37.  * That's it, now let b2evolution do the rest! :)
  38.  * Note: if you put this file in a subdirectory, you will need to adjust the path below, for example:
  39.  * require_once dirname(__FILE__).'/../conf/_config.php';
  40.  */
  41. require_once dirname(__FILE__).'/conf/_config.php';
  42.  
  43. require $inc_path.'_blog_main.inc.php';
  44. ?>

Documentation generated on Sat, 06 Mar 2010 03:22:05 +0100 by phpDocumentor 1.4.2. This site is hosted and maintained by Daniel HAHLER (Contact).