typo3

Typo3 eID, how to access config

此生再无相见时 提交于 2019-12-04 06:52:39
I've just created an eID in Typo3. I can't figure out how to access the config data for my plugin from the Typo3 instance. I've tried the code from the link but it doesn't want to work. I keep getting an exception "No TypoScript template found! " on the call " $TSFE->getConfigArray(); " http://lists.typo3.org/pipermail/typo3-dev/2006-December/021392.html Any ideas? Thanks. In eID mode, only a small part of the regular TYPO3 frontend is loaded. Unfortunately TypoScript is not loaded. To still access the TypoScript configuration you need manually load the components it needs to do so.

TYPO3: Can I pull from another database on the same server?

守給你的承諾、 提交于 2019-12-04 06:38:29
问题 I have an alternate database (the one I'd really like to use instead of the tables I moved to TYPO3). That is full of the information I want on my view. Is it possible to pull from a specified database? And, can anyone provide a newer (6.1 is what i'm on) [English] tutorial on rendering database information to a page? page.20.subparts { typocontent = CONTENT typocontent { select { pidInList = 20 ### FROM myDatabase.myTable ### where = colpos=1 orderBy = sorting } Also, constructive criticism

How use ext:typoscript_rendering with ext:from in TYPO3

佐手、 提交于 2019-12-04 06:33:57
问题 I have on the page a form (based on ext:form ) like the content element. I want to run the form when I click on the button without not reload a page. I know that I can use this ext:typoscript_rendering but I still do not find an example, how to do it. I already created and added JS $(document).ready(function () { $('.frame-type-form_formframework').on('click', '#ajax-submit', function (e) { var ajaxUrl = $(this).data('ajaxuri'); if (ajaxUrl !== undefined && ajaxUrl !== '') { e.preventDefault(

TYPO3 realURL Autoconf to manual conf

会有一股神秘感。 提交于 2019-12-04 06:27:32
I have a TYPO3 site that's been running with realURLs autoconf for years. The pattern is very simple: Domain/language/pid e.g. example.com/d/6 Now I have to make an addition to the realURL config, but I'm not sure on how to reproduce the setup by autoconf in a manual configuration file (we don't want to change the URLs) How's that done? I've tried outputting the serialized autoconf values via var_export(), but no work. Or: how can I create the URL pattern above in realurl_conf? Thanks! Urs It's quite easy: In Extension Manager ( EM ) find the RealURL and set option Automatic configuration file

TYPO3 Extbase how to empty ObjectStorage

偶尔善良 提交于 2019-12-04 05:51:06
问题 I want to "empty" an ObjectStorage when updating a Object: It's TYPO3 4.6 with a Extbase Extension which allows you to show/add/edit/delete datasets in the frontend. At first sight everything looks good. I have one field referencing another table: TCA: 'partner' => array( 'exclude' => 0, 'label' => 'LLL:EXT:toco3_marketingdb/Resources/Private/Language/locallang_db.xlf:tx_toco3marketingdb_domain_model_firma.partner', 'config' => array( 'type' => 'select', 'size' => 5, 'foreign_table' => 'tx

Adding configuration fields to a typo3 page with fluid / flux

扶醉桌前 提交于 2019-12-04 05:28:42
问题 I have setup a site to use flux / FLUIDCONTENT for templates and have it working using the tutorial here: http://thomas.deuling.org/2011/06/create-base-html-fluid-templates-for-typo3-4-5/ It's all working well but now I want to be able to choose an image per page and use it to build a big header. With templavoila I could create fields that were available in the page properties but can't seem to get it working with FLUIDCONTENT. I am using Typo3 6.1 and here is my inside page flex template:

TYPO3: Change plugin from USER to USER_INT type

亡梦爱人 提交于 2019-12-04 05:19:09
I have a working TYPO3 extension. It is attached this wiki page . How can I change the code of this extension so it is of the USER_INT type? I.e. I don't want TYPO3 to cache the output of this plugin, and want TYPO3 to invoke the extension ever time a page that uses the extension, i.e. disable the caching for this extension. To disable caching for your extension go to your piX/class.tx_XXX_piX.php file and remove the following line (below your class declaration): var $pi_checkCHash = true; You also need to add the following line in the main method (below $this->pi_loadLL();): $this->pi_USER

Howto add documentation to TYPO3 Extension

不问归期 提交于 2019-12-04 04:52:42
Is there a step by step manual how to add documentation to a TYPO3 extension? I added two extensions to the repository but I would like to add some documentation, too. In earlier times of the TYPO3 repository this was quite easy - as far as I can remember a OpenOffice document had to be added to the extension... I found this "howto" I'm using macOS Sierra and I installed a lot of stuff: Xcode, MacPorts, Sphinx,... I did all these pip installs But calling make in the _make directory of the documentation directory of github.com/marble/typo3-docs-typo3-org-resources gives me the following error:

get TYPO3 Extbase Repository items in other languages

扶醉桌前 提交于 2019-12-04 04:29:43
问题 How can i get items from an extbase respository in a different language? What i tested: findByUid($childUid) $query->getQuerySettings()->setRespectSysLanguage(FALSE); $query->getQuerySettings()->setSysLanguageUid(3); But the result is always the parent (lang) object. I tried it with "matching" and with "statement" but the result query uses the active language or searches for sys_language_id in (0,-1) = (default/all). 回答1: It seems that this is a bug in extbase which will not removed until

Typoscript navigation with subpages

不问归期 提交于 2019-12-04 04:03:41
问题 I am trying to implement my navigation with typoscript and I am having problems to understand how to wrap right. I already have a base navigation with 1 level that is working fine. Now I have pages that has subpages and other that don't have. For the ones without subpages I want the behavior that I have now. For the pages with subpages I want to add this as an dropdown menu. The HTML code should look like this. <ul class="nav"> <li class="dropdown"> <a href="#" class="dropdown-toggle" data