Hello Everyone,
Does anyone have ideas ?
Thanks and Regards,
JoJo
-- Forwarded message --
From: JoJo
Date: 2010/12/22
Subject: I18N Translation: Looking for best tools
To: symfony-users@googlegroups.com
Hello guys,
I would like to know if anyone use some good translation too
Hi,
I'd like to create a custom validator for a sfWidgetFormInputText.
This validator have to ensure than the value entered is greater than a
value stored in the database.
Is it possible ?
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.co
Hi Folks
I use symfony 1.4.
At some places in my "action.class.php" I have used "getPartial"
method when ever there is a need to change the view via ajax.
public function executeFastAction()
{
$returnText = $this->getPartial('myPartial', array('myVrialbles'=>
$val))
return $this->renderText(
if someone should have the same problem in the future, the user ventzy
on the symfony forum has found a workaround for the problem:
$articles = ArticleQuery::create()
->useArticleI18nQuery()
->filterByCulture('bg')
->endUse()
->withColumn('ArticleI18n.Title', 'TitleBg')
Thats the way it should be done IMHO.
You just should use the shortcut:
return $this->renderPartial('myPartial', array('myVrialbles'=> $val));
You could also use a full view rendering, by returning sfView::SUCCESS; (or
wathever else)
and then move your presentation in the fastActionSuccess.ph
Yes use a validator callback and put it in the post validator
On 23 déc, 09:47, jimpass wrote:
> Hi,
> I'd like to create a custom validator for a sfWidgetFormInputText.
> This validator have to ensure than the value entered is greater than a
> value stored in the database.
> Is it possible ?
--
hello,
i've just migrated to Symfony framework a few days ago and I'm
wondering one thing.
which approach would be best to use when you want to display a
collection (particularly hierarchical data - categories) inside a
template?
should I make a helper that would retrieve collection (object/s) f
Also Can't find any decent tool.
On Dec 23, 2:44 pm, JoJo wrote:
> Hello Everyone,
>
> Does anyone have ideas ?
>
> Thanks and Regards,
>
> JoJo
>
>
>
>
>
>
>
> -- Forwarded message --
> From: JoJo
> Date: 2010/12/22
> Subject: I18N Translation: Looking for best tools
> To: symfo
On Tue, Dec 21, 2010 at 9:56 PM, gordonslondon
wrote:
> For the first one i have (it's work great but when i go to
> www.example.com/mypage it redirects to example.com/):
>
> RewriteCond %{HTTP_HOST} ^www\.[a-z-]+\.[a-z]{2,6} [NC]
> RewriteCond %{HTTP_HOST} ([a-z-]+\.[a-z]{2,6})$ [NC]
> Rewr
Hi,
Is there any updates about this topic?
I have to start developing a new web application and I want to use symfony
as Php Framework but I need to know if it's better to start with symfony 2.0
or with the current 1.4 release.
I'm interested in the performance improvement of the 2.0 version,
suppo
I'm finishing my first serious project with Symfony 2 and I must say that I
feel that I made the right choice when I made myself the same question that
you're asking. Symfony 2 it's already pretty stable and if you don't mind
updating your code from time to time, then you're good to go.
I think th
thanks for your response,
all works perfectly with:
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php [QSA,L]
# force url with no www
RewriteCond %{HTTP_HOST} ^www\.([^.]+\.[^.]+)$ [NC]
RewriteRule ^(.*)$ http://%1/$1 [R=301]
# force url with no
Hi,
I'm not a symfony expert, but i think that you can do easy what you want,
creatin a new file of your own validator in /lib/validator/
For example you can create a file ThisIsMyValidator.class.php
That cointains a class that inherit the class of TextValidator (Not sure
about that i had used my
you can simply pass the min number as a form option then pass as "min"
option of http://www.symfony-project.org/api/1_4/sfValidatorNumber
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subs
Great thanks for all your responses,
In fact i follow the solution of bedomon, i create a
sfValidatorCallback in my form like that
$this->validatorSchema['MyField'] = new
sfValidatorCallback(array('callback' => array($this, 'validateMhq')));
and i add this function :
public function validat
Of course, feel free to create that directory "web/uploads/jobs/" ;)
That should gonna make it.
2010/12/22 Wiynn
> in the data model chapter this is explaind but i donot get it "The job
> fixture file references two images. You can download them
> (http://www.symfony-project.org/get/jobeet/sens
Yes, you did something wrong for sure.
That happened to me but for a foreign related object column.
You should give more info to us, may be we can help you to debug it.
2010/12/22 Gandalf
> This is probably a bug in your code somewhere. Works for me.
>
> On 12/22/10, Scott O'Brien wrote:
>
Hi everybody!
I have a month (almost 2) studying Symfony 1.4.
I would appreciate your comments about if I should improve my sf_1.4 skills
or move to sf_2.x (I would start from zero)
I have read the jobeet tutorial, Forms in action, Doctrine, a gentle
introduction to Symfony 1.4.
So I have put a
18 matches
Mail list logo