typoscript

Remove attributes “height” and “width” of the image tag

自闭症网瘾萝莉.ら 提交于 2019-11-29 02:04:35
In order to create a responsive website with Typo3 and Twitter Bootstrap , I would like to remove the height and width attributs of images Here's how images are generated in Frontend via content element of type text & image and image <img src="typo3temp/pics/a625b79f89.jpg" width="300" height="226" alt="blabla" /> I would like to remove the dimension attributes and get this: <img src="typo3temp/pics/a625b79f89.jpg" alt="blaba" /> Can anyone help me ? It's not possible to remove the height or width image attributes with typoscript. But you could override it with CSS in order to create a

TYPO3: 404 for restricted access page instead of login form

会有一股神秘感。 提交于 2019-11-28 23:50:00
I have a link pointing to restricted page. When I access the link directly in logout status, its redirect to 404. Actually it should redirect to login form. I tried: config { typolinkLinkAccessRestrictedPages=PAGE_ID typolinkLinkAccessRestrictedPages_addParams = &return_url=###RETURN_URL###&pageId=###PAGE_ID### } Not working. Also I tried the login status redirect plugin, no use. Anyone know how to do this? I am using TYPO3 version 4.4.8. Mateng As this is still unanswered, does this help? # Check if user is logged in: [usergroup = *] # do something [else] page.config > page.config

What is the best way to debug Typoscript in TYPO3 CMS?

久未见 提交于 2019-11-28 18:20:57
What is the best way to debug typoscript in the TYPO3 CMS? Assuming I have a list, which is not displayed - what is the strategy to look for the issue? Debugging Typoscript is not the most comfortable task, but there are several possibilities. Here are the most common techniques: Use the TS Object Browser in the backend: Choose the Web > Template module, then pick the page from the pagetree you need to debug. If there are any obvious syntax errors or redundant/missing brackets, an error message will be displayed. Switch between constants and setup and use the search field extensively. In your

How do I bootstrap a plugin on TYPO3 CMS 6.0 with extbase?

感情迁移 提交于 2019-11-27 21:23:16
问题 I'm trying to use an extbase plugin through typoscript on TYPO3 CMS 6.0. I used the following code, that I found repeated all over the web: 10 = USER 10 { userFunc = tx_extbase_core_bootstrap->run pluginName = Sermons extensionName = VmfdsSermons switchableControllerActions { Sermon { 1 = byLatestSeries 2 = list 3 = show } } However, this just gives me the following error: #1289386765: Could not analyse class:Tx_VmfdsSermons_Controller_SermonController maybe not loaded or no autoloader? It

TYPO3 - Redirecting to login page when user is not logged in

独自空忆成欢 提交于 2019-11-27 18:07:52
问题 I have some restricted pages built in Typo3. The problem is I cannot automatically redirect user from these pages to login page. How do I do that? I desperately need it and cannot find a solution despite of the fact I have spent most of the day working on it :( Any help will be much appreciated. 回答1: That should work fine: # Restricted area starts at pid 123. # Check if user is logged in: [PIDinRootline = 123] && [usergroup = *] # do something [else] page.config > page.config

Remove attributes “height” and “width” of the image tag

坚强是说给别人听的谎言 提交于 2019-11-27 16:24:55
问题 In order to create a responsive website with Typo3 and Twitter Bootstrap, I would like to remove the height and width attributs of images Here's how images are generated in Frontend via content element of type text & image and image <img src="typo3temp/pics/a625b79f89.jpg" width="300" height="226" alt="blabla" /> I would like to remove the dimension attributes and get this: <img src="typo3temp/pics/a625b79f89.jpg" alt="blaba" /> Can anyone help me ? 回答1: It's not possible to remove the height