typo3

ddev / TYPO3 / .htaccess - redirect all http -> https

一曲冷凌霜 提交于 2021-02-18 19:43:34
问题 I need help pls understanding ddev/apache and redirects T3 site config.yaml base: 'https://sample-project.ddev.site/' ddev config.yaml name: sample-project webserver_type: apache-fpm router_http_port: "80" router_https_port: "443" use_dns_when_possible: true that works fine when calling in safari https://sample-project.ddev.site/ but when calling in safari sample-project.ddev.site it does not work I get an T3 oops so I have inserted in .htaccess (equivalent to my hosting server) RewriteCond %

ddev / TYPO3 / .htaccess - redirect all http -> https

匆匆过客 提交于 2021-02-18 19:42:35
问题 I need help pls understanding ddev/apache and redirects T3 site config.yaml base: 'https://sample-project.ddev.site/' ddev config.yaml name: sample-project webserver_type: apache-fpm router_http_port: "80" router_https_port: "443" use_dns_when_possible: true that works fine when calling in safari https://sample-project.ddev.site/ but when calling in safari sample-project.ddev.site it does not work I get an T3 oops so I have inserted in .htaccess (equivalent to my hosting server) RewriteCond %

TYPO3 9: add date to URL routing enhancers for news extension

岁酱吖の 提交于 2021-02-16 09:35:08
问题 For the detail pages of tx_news records as well as a calendar extension I wrote myself I want the record date in the URL as I had it until TYPO3 8LTS with the realURL extension: /path-to/my-page/yyyy/mm/dd/extension-record-path-segment/ . I managed to have the link created but with the cHash attached . My routeEnhancers settings for the tx_news_pi1 in /typo3conf/sites/my-site/config.yaml are as follows: routeEnhancers: NewsPlugin: type: Extbase limitToPages: [7] extension: News plugin: Pi1

TYPO3: when/how to use define('TYPO3_MODE','FE');

六眼飞鱼酱① 提交于 2021-02-11 16:18:15
问题 /public_html/demo is my TYPO3 site, i put a test.php file under it, <?php //define('TYPO3_MODE','FE'); require('typo3conf/localconf.php'); require('t3lib/class.t3lib_db.php'); require('t3lib/class.t3lib_div.php'); define('TYPO3_db_host', $typo_db_host); define('TYPO3_db_username', $typo_db_username); define('TYPO3_db_password', $typo_db_password); define('TYPO3_db', $typo_db); $DB = new t3lib_DB(); $DB->connectDB(); $result = mysql_query("SELECT * FROM fe_users WHERE username='tom_seeker'");

solr 7.6, nutch 1.16 and TYPO3 9.5 make work together

我只是一个虾纸丫 提交于 2021-02-11 15:54:56
问题 I try to find a solution for a system that nutch, solr, and TYPO3 work together, but both systems, nutch and TYPO3 have their own schema.xml I can't include to run solr together with nutch and TYPO3. Does someone know how to fix this problem or is there any documentation for a working system including all three systems together? 来源: https://stackoverflow.com/questions/62597456/solr-7-6-nutch-1-16-and-typo3-9-5-make-work-together

TYPO3 setup.typoscript configured does not show any results

好久不见. 提交于 2021-02-11 14:41:25
问题 It seems that my setup.typoscript is not working properly. The error: The page is not configured! [type=0][]. This means that there is no TypoScript object of type PAGE with typeNum=0 configured. my setup.typoscript: page = PAGE page.10 = TEXT page.10.value = HALLO Include in the backend are configured and shows the extension so sys_template.php works, but i do not know why it shows anything. The normal field from the template modul Setup works fine. TYPO3 9.5 Thank you. 回答1: Try renaming the

Is config.sys_language_mode in TYPO3 9 with existing site configuration working any more?

老子叫甜甜 提交于 2021-02-11 14:32:23
问题 in a site with a site definition for a foreign language fallbackType: fallback i need for one page branch a different bahavior. Up to TYPO3 8 i used an extension template with config.sys_language_mode = strict which did the job. But in TYPO3 9 with an existing site definition this entry seems not to work anymore. Accordiong to the manual https://docs.typo3.org/m/typo3/guide-frontendlocalization/master/en-us/LocalizationModes/Index.html it should work but it does not. Any ideas? Thanks! 来源:

'expecting color, list received' error using SCSS via TYPO3

霸气de小男生 提交于 2021-02-11 12:22:03
问题 Problem I moved a running TYPO3 to my local Xampp on Windows 10, run an update via composer and got this error message calling the updated site running on my Xampp and back on the original server (Debian) expecting color, list received The script throwing this message is C:\xampp\htdocs\typo3\vendor\scssphp\scssphp\src\Compiler.php Different versions of the script Since the script triggering this message seems to be _variables.scss from the SCSS framework used by the TYPO3 Bootstrap package I

Set maxImageWidth for images within gridelements col using fluid_styled_content (TS)

和自甴很熟 提交于 2021-02-11 09:07:44
问题 Defining a custom gridelement in TS one can setup the maxImageSize for an texmedia image rendered inside a col. So in a 50-50 grid one might set the max image width to 50% of the regular max. columns { default { renderObj { 10 = LOAD_REGISTER 10.maxImageWidth = 273 30 = RESTORE_REGISTER } } } However this is not working using fluid_styled_content instead of css_styled_content. Anyone knows how to configure that using gridelements with fluid_styled_content? 回答1: Your code doesn´t work because

Set maxImageWidth for images within gridelements col using fluid_styled_content (TS)

耗尽温柔 提交于 2021-02-11 09:06:55
问题 Defining a custom gridelement in TS one can setup the maxImageSize for an texmedia image rendered inside a col. So in a 50-50 grid one might set the max image width to 50% of the regular max. columns { default { renderObj { 10 = LOAD_REGISTER 10.maxImageWidth = 273 30 = RESTORE_REGISTER } } } However this is not working using fluid_styled_content instead of css_styled_content. Anyone knows how to configure that using gridelements with fluid_styled_content? 回答1: Your code doesn´t work because