English 中文(简体)
台风3 eID, 如何进入
原标题:Typo3 eID, how to access config
  • 时间:2011-10-20 11:38:30
  •  标签:
  • typo3

我刚刚在台风3中建立了电子信息数据库。 我可以说明如何从台风3中获取我的原始数据。

我先从这个环节中尝试过该守则,但不想工作。 我保留一个例外,“没有发现任何典型范例模板!”

任何想法?

感谢。

最佳回答

在电子数据交换模式中,只有一小部分PTYPO3前端装。 不幸的是,台风没有装上。 要想继续进入台风版面,你需要人工装载所需的部件。 不幸的是,这可能是在暗中痛苦的边缘。 因此,在某些情况下,只装上一页的纸面,其中一纸面含有任何东西(没有头盔等)。

如果你确实想要装上“典型”模版,你可以尝试像以下这样的东西:

require_once(PATH_tslib. class.tslib_fe.php );
require_once(PATH_t3lib. class.t3lib_userauth.php  );
require_once(PATH_tslib. class.tslib_feuserauth.php );
require_once(PATH_t3lib. class.t3lib_cs.php );
require_once(PATH_tslib. class.tslib_content.php ) ;
require_once(PATH_t3lib. class.t3lib_tstemplate.php );
require_once(PATH_t3lib. class.t3lib_page.php );

$TSFEclassName = t3lib_div::makeInstanceClassName( tslib_fe );
$id = isset($HTTP_GET_VARS[ id ])?$HTTP_GET_VARS[ id ]:0;

$GLOBALS[ TSFE ] = new $TSFEclassName($TYPO3_CONF_VARS, $id,  0 , 1,   ,  ,  ,  );
$GLOBALS[ TSFE ]->connectToMySQL();
$GLOBALS[ TSFE ]->initFEuser();
$GLOBALS[ TSFE ]->fetch_the_id();
$GLOBALS[ TSFE ]->getPageAndRootline();
$GLOBALS[ TSFE ]->initTemplate();
$GLOBALS[ TSFE ]->tmpl->getFileName_backPath = PATH_site;
$GLOBALS[ TSFE ]->forceTemplateParsing = 1;
$GLOBALS[ TSFE ]->getConfigArray();

$cObj = t3lib_div::makeInstance( tslib_cObj );

最初是欧洲常规武装力量和欧佩系统,但也用于装饰典型文字模版。 您可能需要做出一些修改(或许可以列举一些事情)。

守则来自对以下博客员额的评论之一:

Good luck!

问题回答

暂无回答




相关问题
TYPO3 extensions and symlinks

Can I create a symlink to the local extension from aonther project folder? I have a common local-server and i need to implement same extension on all local project-installations. I tried to put the ...

TYPO3: Use TCA.php to build Frontend Forms?

I m searching for a solution, to build a frontend form from the TCA.php of my TYPO3 extension. Is there any way, to select TCA.php values, from my extension Class? I want to build a select-element ...

How to automatically reload TYPO3 calendar from external ics

Hi I m using the calendar base extension (cal) for displaying my calendar in a TYPO3 website. I configured an external calendar and it imports all events correctly. How can I automatically reload the ...

Does a svn frontend for git exist

We are planing to migrate our repositories from svn to git. However there are some people using np_subversion which integrates SVN into the TYPO3-Backend. np_subversion calls the svn client to make ...

wurfl2 integration in TYPO3

everytime i try to install the wurfl2 extension in TYPO3 i get the following error message: Fatal error: require_once() [function.require]: Failed opening required (include_path= .:/usr/local/php/...

TYPO3: getTypoLink_URL alternative (generating url aliases)

Is there an alternative way of getting the URL to a page (by id) apart from using cObj->getTypoLink_URL? I m trying to create URL aliases, so a page can have multiple URLs (for example "/about" ...

热门标签