templavoila

Links at the start of content elements

南楼画角 提交于 2019-12-24 17:53:37
问题 TYPO3 adds these links at the start of almost every element: <a id="c1427"></a> where number is, I guess, UID of the element. How TYPO3 render this link and is it possible to disable it for a specific FCE? 回答1: It depends on your TYPO3 Version. In 4.5 it is defined via: tt_content.stdWrap.innerWrap.cObject.default.10.value = <div id="c{field:uid}" If you use the TS-Objectbrowser, you should find it somewhere in tt_content.stdWrap.* Depending on the rendering you are using, you could be able

Datatables (Server-side processing) in Typo3 with FCE and Templavoila

血红的双手。 提交于 2019-12-13 06:52:31
问题 I'm trying to implement https://www.datatables.net/examples/data_sources/server_side.html into Typo3 (6.2LTS) with a flexible content element and templavoila. The result is a functioning but empty (No data available in table) table at the moment. I'm using the following php script: <?php class custom_datatable { var $datatable; // reference to the calling object. function custom_table1($columns,$conf) { global $TSFE; $TSFE->set_no_cache(); //do whatever you want here //db verbindung mysql

Typo3 FCE refer a field inside a container field

。_饼干妹妹 提交于 2019-12-08 06:52:40
问题 Here is the screen shot of mapping of my FCE: I can refer 'Caption' field by 'field_caption' from the typoscript of 'Link' field. Here is the typoscript for that: 10 = TEXT 10.field = field_caption How to refer the 'Image' field which is inside a container field 'Image and alternate text' From the typoscript of 'Link' field? I tried to refer it directly by using 'field_image', but it is not working. here is the screen shot: Markup I am trying to map is: <a href="resources/img/site/demo1.jpg">

Typo3 FCE refer a field inside a container field

 ̄綄美尐妖づ 提交于 2019-12-07 06:28:30
Here is the screen shot of mapping of my FCE: I can refer 'Caption' field by 'field_caption' from the typoscript of 'Link' field. Here is the typoscript for that: 10 = TEXT 10.field = field_caption How to refer the 'Image' field which is inside a container field 'Image and alternate text' From the typoscript of 'Link' field? I tried to refer it directly by using 'field_image', but it is not working. here is the screen shot: Markup I am trying to map is: <a href="resources/img/site/demo1.jpg"> <img src="resources/img/site/demo1.jpg" alt="alternate text" /> <div class="flex-caption"> <p>caption

Typoscript - Link a file only if it exists using URL

感情迁移 提交于 2019-12-01 11:50:38
问题 I am using Templavoilà Plus and I have one field which the user complete with a title called field_title . I use this field to create an URL/HTML for other fields of my FCE, using Typoscript Object Path. Constants: file = fileadmin/datasheets/|.pdf Setup: lib.field_datasheet = TEXT lib.field_datasheet { field = field_title wrap = <a href="{$file}"></a> } The problem is that I want to do that only if the file/URL exists. First, I thought of checking if the URL I create didn't link to a 404

Typoscript - Link a file only if it exists using URL

百般思念 提交于 2019-12-01 11:50:30
I am using Templavoilà Plus and I have one field which the user complete with a title called field_title . I use this field to create an URL/HTML for other fields of my FCE, using Typoscript Object Path. Constants: file = fileadmin/datasheets/|.pdf Setup: lib.field_datasheet = TEXT lib.field_datasheet { field = field_title wrap = <a href="{$file}"></a> } The problem is that I want to do that only if the file/URL exists. First, I thought of checking if the URL I create didn't link to a 404 page. Then I thought it would be easier to check if the file size wasn't 0. After working on that for two