This is a simple technique which should work on ALL hosts to allow ExpressionEngine to handle URLs without index.php in them. Hopefully EllisLab will add this as a built-in option soon.
IJR
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); | |
// Simple, single configuration file to override almost all paths and server settings. As used by @airways | |
// and @litzinger. | |
// Only check in the default as dist.config.php, set your version control system to ignore config.php so that | |
// local users and each instance (staging, production) can have their own settings. | |
// These config files are mainly meant to be used on a shared development server used by all developers, | |
// although it works almost as well for local development as well. |
<?php | |
class ExtendedChannel { | |
public __construct() | |
{ | |
$this->EE = &get_instance(); | |
} | |
public function extended_entries() | |
{ |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); | |
/** | |
* SUSHI_Model provides a base model class that interacts with SUSHI_ModelRow to | |
* make saving and loading data easier. | |
* | |
* @package default | |
* @author Isaac Raway | |
**/ | |
class SUSHI_Model extends CI_Model |
Install X11.app (it's on the OS X install disk or something.)
Install dwm
. You have to customize config.h
a bit:
{ MODKEY|ShiftMask, XK_q, quit, {0} },
with { MODKEY|ControlMask, XK_q, quit, {0} },
to avoid colliding with the Log Out shortcut in the Apple menu.If you install dwm
from Homebrew, brew install dwm
, this is done automatically.
Install X11.app (it's on the OS X install disk or something.)
Install dwm
. You have to customize config.h
a bit:
{ MODKEY|ShiftMask, XK_q, quit, {0} },
with { MODKEY|ControlMask, XK_q, quit, {0} },
to avoid colliding with the Log Out shortcut in the Apple menu.If you install dwm
from Homebrew, brew install dwm
, this is done automatically.
#!/usr/bin/ruby | |
require 'webrick' | |
require 'webrick/httpproxy' | |
require 'getoptlong' | |
opts = GetoptLong.new( | |
[ "--help", "-h", GetoptLong::NO_ARGUMENT ], | |
[ "--file", "-f", GetoptLong::REQUIRED_ARGUMENT ], | |
[ "--port", "-p", GetoptLong::REQUIRED_ARGUMENT ], |
<?php | |
<table class="lokiTable workflowSteps" id="workflowSteps"><tbody> | |
<tr> | |
<th class="first">Step</th> | |
<th class="commands">Commands</th> | |
</tr> | |
<?php function step($step, $hidden, $statuses, $member_groups) { ?> | |
<tr class="step" <?php if($hidden == 'hidden') echo 'id="stepTemplate" style="display: none;"'; ?>> | |
<td> | |
<div class="itemWrapper"> |
array | |
'entry_id' => string 'entry_id' (length=8) | |
'status' => string 'status' (length=6) | |
'weblog' => string 'weblog' (length=6) | |
'weblog_id' => string 'weblog_id' (length=9) | |
'weblog_short_name' => string 'weblog_short_name' (length=17) | |
'url_title' => string 'url_title' (length=9) | |
'author_id' => string 'author_id' (length=9) | |
'edit_link' => string 'edit_link' (length=9) | |
'old_step_no' => string 'old_step_no' (length=11) |