Zend Framework Part3
■ このスレッドは過去ログ倉庫に格納されています
0487nobodyさん
2009/08/08(土) 19:05:21ID:???モジュールディレクトリの指定がちゃんと出来てなさそう。
$front->addModuleDirectory()
それと $front->setBaseUrl() も出来てないから、
defaultモジュールになっているんじゃ?
>>486
> $render->setViewBasePathSpec(APP.'/smarty')
> ->setViewScriptPathSpec(':module/:controller/:action.:suffix')
> ->setViewScriptPathNoControllerSpec(':action.:suffix')
> ->setViewSuffix('tpl');
だから、
> ./application/smarty/templates/default/smarty/index.tpl
templatesがどこで出てきたのか失念しちまったが、他は指定通りになってるね。
./APP/smarty/templates/:module/:controller/:action.:suffix
ZF徹底入門は持っていないから、的外れならスマソ。
■ このスレッドは過去ログ倉庫に格納されています