Project

General

Profile

Actions

Bug #14663

closed

getText and splitChar not working with TV lib TS obj

Added by old_chihoang over 19 years ago. Updated almost 14 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2005-04-13
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

lib.folgeSeiteMittlereSpalte = COA
lib.folgeSeiteMittlereSpalte {

20.file = GIFBUILDER
20.file {
XY = [20.w]+30,[20.h]+10
backColor = #FFFFFF      
20 = TEXT
20 {
  1. Not working either because of TV externes TS Obj
  2. text.field = subtitle // title

    text = {page:title}
    text.insertData = 1

    1. Split at the | sign and print the first line ## (this is working)
      text.listNum = 0
      text.listNum.splitChar = |

    fontColor = #333333
    fontFile = TheSnB5_.ttf
    niceText = 0
    offset = 26,15
    fontSize = 14
    }

  1. splitNum 2nd row (if splitChar is "|" 2nd row is not working )

    30 = TEXT
    30 {

    1. Not working either because of TV externes TS Obj
    2. text.field = subtitle // title
    1. This is working, but without splitChar is not working
      text = {page:title}
      text.insertData = 1
      1. Split at the | sign and print the first line ##
        text.listNum = 1
        text.listNum.splitChar = |

      fontColor = #333333
      fontFile = TheSnB5_.ttf
      niceText = 0
      offset = 26,39
      fontSize = 14
      }

}

(issue imported from #M971)

Actions #1

Updated by Ingmar Schlecht over 19 years ago

It would be very helpful if you could place some debugs in t3lib_content function stdWrap and provide your further investigations.

- Ingmar

Actions #2

Updated by old_chihoang over 19 years ago

In fact there are 2 bugs.

1. text.field = subtitle // title is not working with TV
2. listNum is not working with curly braces

2.1
What I found is that function insertData is called after function listNum. Unfortunately function insertData implements the getData substitution for curly braces. Ultimately the string get not exploded and splitChar is not working.

Chi

Actions #3

Updated by Karsten Dambekalns over 19 years ago

Err, is this a TV bug? If so, it should be meoved to tx_templavoila.

Actions #4

Updated by old_chihoang over 19 years ago

yes and no.

In fact there are 2 bugs.

1. text.field = subtitle // title is not working with TV
2. listNum is not working with curly braces at all

see my note 1824.

Actions #5

Updated by old_chihoang over 18 years ago

I have rethink my post and my renewed conclusion is:

1. text.field = subtitle // title is not working with TV is a TV bug
2. listNum is not working with curly braces is not a TV bug

Shall I repost the 2 bugs?

Actions #6

Updated by Martin Kutschker over 18 years ago

If they are separate bugs, yes, please report them separately. But I note that the TYPO3 version set is 3.7. I cannot believe this is correct. If it is indeed correct, try a recent version of TYPO3 and TV. Use the CVS version if possible.

Actions #7

Updated by Benni Mack over 14 years ago

I will close this one in a week if there is no response. I don't think this is a TV problem here, and we've seen major versions released since 2005.

Actions

Also available in: Atom PDF