Have a look at the following example in /content module.
public function executeContact()
{
if ($this->getRequest()->getMethod() != sfRequest::POST)
{
$this->_contactSetContent();
// display the form
return sfView::SUCCESS;
}
$this->sendEmail('email', 'co
The file must be called messages.tr.xml not .yml and stored into /i18n
folder within your module directory.
-- Simone
On Jul 25, 5:28 pm, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> we did everything
>
> in settings .yml
> all:
> .settings:
> i18n: on
>
> in messages.tr.yml
>
>
>
Hi guys,
I was browsing Trac tickets to check whether there's some issue I
already have addressed and I found
http://trac.symfony-project.com/trac/ticket/1886
I found some issues dealing with i18n (see
http://groups.google.com/group/symfony-devs/t/296364f265edbf59) and
one of this was exactly wh
ION file was removed and replaced by sfCore::VERSION constant.
>
> Fabien
>
> weppos wrote:
> > Yesterday I came across the need to get Symfony version.
> > I searched forums and groups but it seems the only way to get Symfony
> > version is to read VERSION file
>
Yesterday I came across the need to get Symfony version.
I searched forums and groups but it seems the only way to get Symfony
version is to read VERSION file
Symfony itself uses this function to check correspondence between
cache and library.
I would suggest to provide a convenient method for
It's really simple.
1. create a new symfony project
2. create a new project in Zend_Studio and add symfony project root to
Zend_Studio project paths
3. add your symfony library root, for example /opt/local/lib/php/
symfony, to Zend_Studio project paths
-- Simone
On Jul 16, 1:59 pm, "[EMAIL PROT
case, it's a bit counter
> intuitive. I don't know how we can fix your problem.
>
> Fabien
>
> weppos wrote:
> > Hello,
>
> > I found a strange behavior.
> > I don't really know if you can consider it a bug or a feature.
>
> > Try to do
Hello,
I found a strange behavior.
I don't really know if you can consider it a bug or a feature.
Try to do the following
1. enable i18n feature in Symfony
2. create a module, for example MyFirstModule
3. create an other module, for example MySecondModule
4. Now, create a component in MyFirstMo