For developers/engineers who can build products but have no sales or marketing experience.
The #1 reason startups fail: building something nobody wants.
| Apache | |
| <IfModule mod_rewrite.c> | |
| RewriteEngine On | |
| RewriteCond %{REQUEST_URI} !^/system [NC] | |
| RewriteCond %{QUERY_STRING} !ACT|URL [NC] | |
| RewriteCond %{REQUEST_METHOD} !=POST [NC] | |
| RewriteCond $1 !\.(css|js|gif|jpe?g|png) [NC] | |
| RewriteCond %{DOCUMENT_ROOT}/static/default_site/static%{REQUEST_URI}/index\.php -f | |
| RewriteRule ^ /static/default_site/static%{REQUEST_URI}/index\.php [L,QSA] |
| <?php | |
| define('XDEBUG', "xdebug"); | |
| define('ZEND_DEBUGGER', "Zend Debugger"); | |
| function createXmlHeader() | |
| { | |
| return "<?xml version=\"1.0\"?>"; | |
| } |
| <?php | |
| public function settings() | |
| { | |
| $this->EE->cp->set_right_nav(array( | |
| '← Back to Schemas' => $this->cp_url('schemas'), | |
| )); | |
| $fields = array( | |
| 'settings' => array( |
| <?php | |
| $_GET['cal_id'] = (isset($_GET['cal_id'])) ? $_GET['cal_id'] : array(); | |
| $_GET['event_id'] = (isset($_GET['event_id'])) ? $_GET['event_id'] : array(); | |
| ?> | |
| <?php if( empty($_GET['cal_id']) ) : ?> | |
| {!-- the links from the old site didn't use cal_id or event_id. this will preserve their functionality --} | |
| {if segment_3} | |
| {exp:calendar:calendars calendar_name="{segment_3}" } | |
| {redirect="events/detail/{calendar_url_title}?cal_id={calendar_id}"} |