Did you seen this one?
http://dark-it.blogspot.com/2009/01/symfony-mark-fields-as-required-part-2.html
Supposed to use custom base class.
I had similar circumstances a while ago and also was going about to
override symfony class which sets the formatter. But has limited time
and above solution h
I think, I figured out the way it works. I'm going to embed the
sfGuardUser-Form in my sfGuardUserProfile-Form :-)
On 28 Mai, 22:13, halla wrote:
> Hi everybody,
>
> I'm using the sfDoctrineGuardPlugin and it's default Admin-Generator
> Backend for the sfGuardUser-Model. I'm also using a sfG
as long as you do the modification outside symfony folders, you are
safe. its not a big deal.
On 5/28/09, gdufloux wrote:
>
> Hi Gandalf,
>
> On 28 mai, 15:39, Gandalf wrote:
>> Dont use the symfony helpers, write your own helpers.
>> I dont see the problem here
>
> The problem is that we a
Hey,
I got around this by echoing the whole first line like:
longstring;
?>
Then do the rest of the file as normal,
Hope this helps,
On May 15, 9:14 pm, xhe wrote:
> I want to create an atom feed, the first two lines are
>
>
> http://www.w3.org/2005/Atom";>
>
> But whenever I browse it, I
Hi everybody,
I'm using the sfDoctrineGuardPlugin and it's default Admin-Generator
Backend for the sfGuardUser-Model. I'm also using a sfGuardUserProfile-
Class for storing Profile-Data, like E-Mail Address, First Name, Date
of Birth and so on.
How do I integrate my Profile-Class to the sfGuardU
I have seen a few solutions to give the form schema formatter to get
access to the validator schema for the form in order to do things like
output the name of a required field.
Adding the validator schema requires you to do so manually (either in
the form itself, or using a helper in the template
This issue has been talked about in other threads - maybe we can give
additional hints:
We are trying to build a schema.yml from an existing database using
symfony propel:build-schema
(symfony v1.2.7)
So far, everything goes well and all of our 50 innoDB-tables are built
correctly, but when it c
Hi Gandalf,
On 28 mai, 15:39, Gandalf wrote:
> Dont use the symfony helpers, write your own helpers.
> I dont see the problem here
The problem is that we already have a hudge application,
and i'm looking for a non intrusive solution, so that i don't have to
replace all the calls to image_ta
If you're using the branches/1.1 svn version of symfony, propel-based
tasks are broken for some reason. switch to tags/RELEASE_1_1_7
On May 24, 2009, at 1:54 AM, Alexandru-Emil Lupu wrote:
> symfony cc ?
>
> On Sun, May 24, 2009 at 6:58 AM, murthy
> wrote:
>
> Hello,
> I am using Propel O
Hi guys,
today I encountered with the problem of moving the following query to
Propel:
SELECT message_chain.*
FROM message_chain
INNER JOIN (
SELECT MAX( id ) AS max_id, chain_id
FROM message
GROUP BY chain_id
) AS ids ON message_chain.chain_id = ids.chain_id
It emulates gmail behaviour: i have
Hi all,
This code below is my action.class.php
{
//Exibe a as informações da pagina
public function executeIndex(sfWebRequest $request)
{
$empresa = "Bimetal Engenharia - Romildo";
$this->company = $empresa;
}
public function executeShow(sfWebRequest $request)
{
$today
I found the solution in this thread:
http://groups.google.com/group/symfony-devs/browse_thread/thread/b53053359c1b6dfe
Thx
On 28 Mai, 17:00, "symfony.con.spir...@gmail.com"
wrote:
> Hi,
>
> I need your help:
>
> I always get the message "CSRF attack detected" and I don't know why.
>
> These poi
Hi,
I need your help:
I always get the message "CSRF attack detected" and I don't know why.
These point are checked :
* CSRF protection is enabled in setting.yml
* The input field _csrf_token has a value
* The action script receives the csrf value
Do you have any idea what the problem can be?
Dont use the symfony helpers, write your own helpers.
I dont see the problem here
what do you plan to do with the images included from the css file?
does your php install parses the css files as well?
On 5/28/09, gdufloux wrote:
>
> Hi,
>
> In order to reduce the number of http requests
A suggestion:
Create a attribute "oldObject" or something like that;
Alter the construct (or the hydration) and put a copy of the object in
that attribute.
Use it on save method.
[]'s
Rafael Goulart - Brazil
On May 27, 5:44 am, HAUSa
wrote:
> I'm making my own model save() function. In that
hi
i m trying to use sfGuardPlugin for my backend application.
when i run the "https://localhost/crbtest/web/backend_dev.php";. i
get the following error
Fatal error: Class 'sfPropelRouteCollection' not found in /opt/lampp/
htdocs/crbtest/plugins/sfGuardPlugin-3.1.3/lib/
sfGuardRouting.class
nick, don't view de function executeLinguas()
att
Romildo
On Thu, May 28, 2009 at 12:13 AM, nick wrote:
>
>
> What error do you get?
>
>
> On May 27, 6:51 pm, Romildo Jozué Paiter
> wrote:
> > Look de code: action :: module:: frontend
> >
> > I start estudant the framework preview Friday, it'
$last24bytes = Doctrine_Query::create()->
from('Job j')->
addSelect('sum(j.JobBytes) as bytes')->
where('j.Endtime <= now()');
On Thu, May 28, 2009 at 7:00 AM, Reynier Perez Mira wrote:
>
> Hi every:
> I started to use Doctrine today and it's amazing but I have some pr
All right , thank you Alexandru-Emil Lupu
On 28 mai, 12:46, Alexandru-Emil Lupu wrote:
> sfReCaptchaPlugin is for 1.0 as
> wellhttp://www.symfony-project.org/plugins/sfReCaptchaPlugin/1_1_0?tab=pl...
>
> but you have to install 1.0.4 version of the plugin
> Alecs
>
>
>
> On Thu, May 28, 2009 a
sfReCaptchaPlugin is for 1.0 as well
http://www.symfony-project.org/plugins/sfReCaptchaPlugin/1_1_0?tab=plugin_all_releases
but you have to install 1.0.4 version of the plugin
Alecs
On Thu, May 28, 2009 at 1:22 PM, @rsenik wrote:
>
> I am using symfony 1.0, sfReCaptchaPlugin is for 1.1.
>
> I
I am using symfony 1.0, sfReCaptchaPlugin is for 1.1.
I solve my problem by founding a typo error in sfCaptchaGD.class.php l.
68 : "context->getRequest()->getGetParameter('reload') "
replace by "context->getRequest()->getParameter('reload')"
On 28 mai, 11:27, Alexandru-Emil Lupu wrote:
> i wo
Hi,
In order to reduce the number of http requests to our server, we
decided to add a expire header to our assets files (images, css and
js), so that browsers cache it.
But there's an important side-effect due to the expire headers:
Indeed, when Apache will deliver our assets (images, css, js),
i would rather use sfReCaptchaPlugin
On Thu, May 28, 2009 at 12:17 PM, @rsenik wrote:
>
> I try to use sfCaptchaGDPlugin, I got an 404 when form try to get
> image: http://exchange.localhost/captcha?1243502190
>
> What do you think about that ?
>
> >
>
--
I am on twitter: http://twitter.com/al
I try to use sfCaptchaGDPlugin, I got an 404 when form try to get
image: http://exchange.localhost/captcha?1243502190
What do you think about that ?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"symfony users" gr
Perhaps first place to look is your own data structures. are you using
timestamp on the database? Have you defined the birthdate as a timestamp
yourself?
On Thu, May 28, 2009 at 9:52 AM, Olivier Revollat wrote:
> I have the following widget in a form:
> $this->setWidget('birthdate_at', new sfWidg
I have the same pb ... any suggestions ?
Thanks
2008/7/5 kiszl
>
> Hi,
>
> I would like to use an sfWidgetFormDate as an input for the date of
> birth; and to store the value in an sql date field.
> What would be the best way to validate the widget's value, and convert
> it to the desired '-
I have the following widget in a form:
$this->setWidget('birthdate_at', new sfWidgetFormI18nDate(array('culture' =>
sfContext::getInstance()->getUser()->getCulture(), 'format' =>
'%day%/%month%/%year%', 'years' => $years)));
And my database field is :
birthdate_at:
type: DATE
But When
Hi all,
I have to put a captcha for a symfony 1.0 project. I got problem with
sfCaptchaPlugin and sfCaptchaGDPlugin.
What did you use in 1.0 ?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To
28 matches
Mail list logo