1 オーソドックス
xoops_trust_path/modules/xcore
├── actions
├── admin
├── blocks
├── class <-- ここに現在の html/core を入れ込む
├── forms
├── images
# facebootstrap: Rails3 template | |
app_h_name = app_name.gsub(/_/, '-') | |
app_c_name = app_name.classify | |
ruby_version = '1.9.3-p286' | |
repository_path = "git@codeplane.com:chsh/#{app_h_name}.git" | |
target_branch = 'develop' # or master etc... | |
deploy_server = '[YOUR DEPLOY SERVER]' | |
target_mode = 'edge' # or 'live' or 'develop' etc... | |
# additional_path = '/usr/pgsql-9.1/bin' |
<?php | |
class ChangeThemeByModule extends XCube_ActionFilter | |
{ | |
public function postFilter() | |
{ | |
$dirname = null; | |
if ( isset($this->mRoot->mContext->mModule->mXoopsModule) and is_object($this->mRoot->mContext->mModule->mXoopsModule) ) { | |
$dirname = $this->mRoot->mContext->mModule->mXoopsModule->get('dirname'); | |
} |
* Install Xcode | |
App Store -> Search Xcode -> Download -> Install | |
* Install Command line tools | |
Launch Xcode -> Preferences -> Downloads -> Install command line tools | |
* Install Homebrew | |
$ ruby <(curl -fsSk https://raw.github.com/mxcl/homebrew/go) | |
* Install rbenv ruby-build |
1 オーソドックス
xoops_trust_path/modules/xcore
├── actions
├── admin
├── blocks
├── class <-- ここに現在の html/core を入れ込む
├── forms
├── images
fields: | |
name: | |
type: string | |
label: "契約者名" | |
uname: | |
type: string | |
lablel: "ユーザ名" | |
email: | |
type: string | |
label: "メールアドレス" |
http://download.virtualbox.org/virtualbox/4.2.12/VirtualBox-4.2.12-84980-OSX.dmg
#Wordpress構築チートシート | |
#元ネタ:https://gist.github.com/ysaotome/2235302 | |
#対決相手:http://tily.github.io/jtf2013/ | |
############################################### | |
# 環境変数を定義 WEB/APPサーバおよびDBサーバの双方で実行 | |
############################################### | |
## MySQL管理ユーザのパスワード | |
export MYSQL_ROOT_PASS='mysql##123' | |
## Wordpressデータベース名 |
# | |
# /etc/apache2/sites-available/openerp | |
# | |
# OpenERP Reverse Proxy Configuration for Apache 2. | |
# | |
# Authors: 2014 Mariano Ruiz <mrsarm@gmail.com> | |
# | |
# After copy this file execute: | |
# | |
# sudo a2ensite openerp |
<Response> | |
<Pause length="2"/> | |
<Say voice="woman" language="ja-jp">こちらは、ホゲホゲです。ユーザー様より予約がはいりました。管理画面から予約の確認をお願いします。</Say> | |
</Response> |