b2evolution

Multilingual multiuser multiblog engine

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

Source for file a_stub.php

Documentation is available at a_stub.php

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

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