[TYPO3-mvc] TYPO3-project-typo3v4mvc Digest, Vol 50, Issue 18

Stefan Kruse besucher80 at gmx.de
Thu Mar 14 13:17:33 CET 2013


Hi Chris, thanks for your answer. But when I do it so, then the <br/>'s are
plain in the text e.g. text text<br/> text text. What is wrong?

Regards and thanks Stefan

----------------------------------------------------------------------

Message: 1
Date: Wed, 13 Mar 2013 12:58:25 +0100
From: "Stefan Kruse" <besucher80 at gmx.de>
Subject: [TYPO3-mvc] Problem with html in locallang
To: <typo3-project-typo3v4mvc at lists.typo3.org>
Message-ID:
	
<mailman.6367.1363175910.609.typo3-project-typo3v4mvc at lists.typo3.org>
Content-Type: text/plain;	charset="us-ascii"

Hi, i need to put some html code in my locallang.xml. I try this:

 

<label index="emails.copyright"><br/><br/>text text text<br /> text text
text <br ><br /><br /></label>

 

But when I use this label inside my fluid template, the text is in one line.
The breaks are not parsed. Do I have to use it with f:format or something
else?

 

Thanks and regards 

Stefan



------------------------------

Message: 2
Date: Wed, 13 Mar 2013 13:32:04 +0100
From: Steve SchC<tze <s.schuetze at queo-group.com>
Subject: [TYPO3-mvc]  TYPO3 4.5 extbase test backend module
To: typo3-project-typo3v4mvc at lists.typo3.org
Message-ID:
	
<mailman.1.1363177924.14656.typo3-project-typo3v4mvc at lists.typo3.org>
Content-Type: text/plain; charset=utf-8; format=flowed

I search for a way to test my extbase-extension. I work with two different
templatepaths for front- and backend.

module.myext{
    view {
        templateRootPath = myext/Resources/Private/Backend/Templates/
        partialRootPath = myext/Resources/Private/Backend/Partials/
        layoutRootPath = myext/Resources/Private/Backend/Layouts/
    }
}

The backendmodule works without any problem, but my test will not get the
different templatepath. If i write the view.templateRootPath to
config.tx_extbase in the ext_typoscript_setup.txt it works, but in this case
all my frontendtests do not work any more. The simplest way to resolve this
issue is to merge the templatepaths and work with only one, but there must
be a way around this solution.

Does somebody has an idea?


------------------------------

Message: 3
Date: Wed, 13 Mar 2013 15:13:00 +0100
From: chris Wolff <chris at connye.com>
Subject: Re: [TYPO3-mvc] Problem with html in locallang
To: TYPO3 v4 MVC project <typo3-project-typo3v4mvc at lists.typo3.org>
Message-ID:
	
<mailman.6380.1363184003.609.typo3-project-typo3v4mvc at lists.typo3.org>
Content-Type: text/plain; charset=UTF-8

hi Stefan,

erstmal solltest du den part im label index in CDATA wrappen dadurch wird
das local lang dann wieder XML conform.

ungef?hr so:
<label index="emails.copyright"><![CDATA[<br/><br/>text text text<br /> text
text text <br ><br /><br />]]></label>

im fluid template musst du f:format.raw verwenden dann werden die daten
unver?ndert ausgeben.

gruss chris

2013/3/13 Stefan Kruse <besucher80 at gmx.de>:
> Hi, i need to put some html code in my locallang.xml. I try this:
>
>
>
> <label index="emails.copyright"><br/><br/>text text text<br /> text 
> text text <br ><br /><br /></label>
>
>
>
> But when I use this label inside my fluid template, the text is in one
line.
> The breaks are not parsed. Do I have to use it with f:format or 
> something else?
>
>
>
> Thanks and regards
>
> Stefan
>
> _______________________________________________
> TYPO3-project-typo3v4mvc mailing list
> TYPO3-project-typo3v4mvc at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4m
> vc



--
christian wolff - webdeveloper, tech-loving geek and typo3 enthusiast
telefon: +49 30 347 244 88
mobil:  +49 179 49 44 758
email: chris at connye.com
adresse: friedelstra?e 31 - 12047 berlin

xing-profil: http://www.xing.com/profile/Christian_Wolff43
google+: https://plus.google.com/u/0/115669673917212236875/posts?hl=de
facebook: https://www.facebook.com/1stMachine
flattr: https://flattr.com/profile/1stmachine


------------------------------

Message: 4
Date: Wed, 13 Mar 2013 21:23:29 +0100
From: Fran?ois Suter <fsu-lists at cobweb.ch>
Subject: Re: [TYPO3-mvc] Output from a CommandController
To: typo3-project-typo3v4mvc at lists.typo3.org
Message-ID:
	
<mailman.1.1363206211.26253.typo3-project-typo3v4mvc at lists.typo3.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

> I'm currently developing an Extbase CommandController and I can't get 
> it to output a single line. I'm using:
>
> $this->outputLine('foo');
>
> inside it, which seems to be the way to do it, but I get absolutely no 
> output. Is there something more to do?
>
> I only get it to output something by using die()...

Anyone already experienced something similar?

Cheers

-- 

Francois Suter
Cobweb Development Sarl - http://www.cobweb.ch


------------------------------

Message: 5
Date: Thu, 14 Mar 2013 09:13:16 +0100
From: "Henjo Hoeksma | Stylence" <me at henjohoeksma.nl>
Subject: Re: [TYPO3-mvc] Output from a CommandController
To: TYPO3 v4 MVC project <typo3-project-typo3v4mvc at lists.typo3.org>
Message-ID:
	
<mailman.6431.1363248820.609.typo3-project-typo3v4mvc at lists.typo3.org>
Content-Type: text/plain; charset=ISO-8859-1

Hi Francois,

maybe you can get some info out of this, running on 4.7, basically what I do
is use the commandController as an entry point for my normal controllers.

class Tx_Event_Command_PermitCommandController extends
Tx_Extbase_MVC_Controller_CommandController {

/**
 * @param int $numberOfDays
 * @return mixed
 */
public function disposeCommand($numberOfDays) { $configurationManager =
t3lib_div::makeInstance('Tx_Extbase_Configuration_BackendConfigurationManage
r');
 $this->settings = $configurationManager->getConfiguration(
$this->request->getControllerExtensionName(), // ExtensionKey  'event'
//PluginName ); $eventController =
$this->objectManager->get('Tx_Event_Controller_EventController');
 return $eventController->disposeEvents($numberOfDays,
$this->settings['settings'], $this->settings['view']); }

}


Kind regards,

Henjo

Problems are small because we learned how to deal with them.
Problems are big because we need to learn how to deal with them.


On Wed, Mar 13, 2013 at 9:23 PM, Fran?ois Suter <fsu-lists at cobweb.ch> wrote:

>  I'm currently developing an Extbase CommandController and I can't get 
> it
>> to output a single line. I'm using:
>>
>> $this->outputLine('foo');
>>
>> inside it, which seems to be the way to do it, but I get absolutely 
>> no output. Is there something more to do?
>>
>> I only get it to output something by using die()...
>>
>
> Anyone already experienced something similar?
>
>
> Cheers
>
> --
>
> Francois Suter
> Cobweb Development Sarl - http://www.cobweb.ch 
> ______________________________**_________________
> TYPO3-project-typo3v4mvc mailing list
> TYPO3-project-typo3v4mvc@**lists.typo3.org<TYPO3-project-typo3v4mvc at li
> sts.typo3.org>
> http://lists.typo3.org/cgi-**bin/mailman/listinfo/typo3-**
> project-typo3v4mvc<http://lists.typo3.org/cgi-bin/mailman/listinfo/typ
> o3-project-typo3v4mvc>
>


------------------------------

_______________________________________________
TYPO3-project-typo3v4mvc mailing list
TYPO3-project-typo3v4mvc at lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc

End of TYPO3-project-typo3v4mvc Digest, Vol 50, Issue 18
********************************************************



More information about the TYPO3-project-typo3v4mvc mailing list