$query->addSort('mysort_columnt asc');
On Sun, Nov 7, 2010 at 11:05 PM, Stan McFarland wrote:
> Hi,
>
> Symfony newbie here. I needed to add a form filter capability to my
> frontend app, which I managed to do with the bind(), getQuery() and
> execute() methods, but my question is: can I add ad
You have to check the browser HTTP headers that are sent (Request/
Response) via Firebug or HttpFox Firefox extensions.
Do you have enabled caching for your page?
There are more things to consider when you try to cache a page, not
just the Etag.
gabriel
On Nov 8, 7:28 am, Shihab KB wrote:
>
Thank you for your answer. I am trying to implement ETag in my restful
apis. I have a problem here. Please check this and could you please
give me a solution?
Hi,
I am trying to implement etag feature in my RESTFul web services. I
heard that etag is a mechanism that HTTP provides for cache
valida
This is not symfony. This is basic PHP you should know before even
considering using symfony. Seriously, go study some PHP mate. a foreach loop
is autoamtically loops through an array. If you have the following code:
$array_var = array (1,2,3);
foreach ($array_var as $var)
{
echo $var;
}
you wi
erm ... wrote:
> How can I make the input of a certain field in a generated form (on
> the frontend) displayed as a password type (i.e. )? Where in
> the directory can this be altered?
>
> Thanks.
>
> --
> If you want to report a vulnerability issue on symfony, please send it to
> securit
I moved the already existent file sensio-labs.gif to sensio-labs1.gif
then I rerun the functional test and test passed
It seems that it simulates the uploading of a file but the file needs not to
be present?
I also had tried before to even set everything to 777 and that is not it, so
it must have
You said when manually entering a job it works.. does this mean when you
create a job through the website on a web server it works? Could it be you
are running the unit test as a different user? It seems like the problem you
are having is related to directory permissions. Check the permissions of t
Make sure to read documentation before posting here. This kind of
information you should be able to find on your own.
On Nov 7, 2010 5:47 PM, "xpanshun" wrote:
I found the answer here:
http://oldforum.symfony-project.org/index.php/m/74135/
as well
Thanks for directing me to the API Michal, ther
http://protc3.org/andrew.html
--
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 subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegr
I found the answer here: http://oldforum.symfony-project.org/index.php/m/74135/
as well
Thanks for directing me to the API Michal, there is a lot of helpful
stuff there sometimes I forget it exists lol ;p
On Nov 7, 5:15 pm, Michał Piotrowski wrote:
> 2010/11/7 xpanshun :
>
> > How can I make the
2010/11/7 xpanshun :
> How can I make the input of a certain field in a generated form (on
> the frontend) displayed as a password type (i.e. )? Where in
> the directory can this be altered?
First hint - you can find answer for your question in symfony documentation.
Second hind - you need
How can I make the input of a certain field in a generated form (on
the frontend) displayed as a password type (i.e. )? Where in
the directory can this be altered?
Thanks.
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You r
@Jeremie,
Thank you for making me review my code again! After your post I was
getting ready to reply with my coding and I realized I didn't need
that whole $product as $product thing in the first place.
What I mean is, nearly all of my loop code was written to access the
elements of a DQL array--
Could you show us your code? It will be easier to understand what you're
trying to do.
Jérémie
Le dimanche 07 novembre 2010 à 07:53 -0800, xpanshun a écrit :
> The thing is, I am using a while loop already--the foreach won't fit
> in for what I am trying to do. But I can't access data from the
> d
Alright, the problem is solved.
As usual when there is an issue on prod and not on local this was due
to missing/old files on the server.
Sorry for having bothered you and enjoy your Sunday now even more!
Long life symfony's i18n!
Christian
On Nov 7, 4:38 pm, cestcri wrote:
> Hello,
>
> I c
The thing is, I am using a while loop already--the foreach won't fit
in for what I am trying to do. But I can't access data from the
database through something like: $product->getId() without defining
that $products as $product somewhere. That is the problem; I can't
access data I need.
On Nov 6,
Hello,
I could not find anything, so for now I had to copy the i18n folder
from my private plugin to each of my applications. This surely is just
temporary, but for now I don't find a better solution to this issue.
Why are my private plugin translation files ignored on production?
Hope to get
Hi,
Symfony newbie here. I needed to add a form filter capability to my
frontend app, which I managed to do with the bind(), getQuery() and
execute() methods, but my question is: can I add additional SQL-type
criteria (such as order by) to the query generated by the formfilter
methods, and if so,
Hi Alecs,
actually I am pretty happy with the current way symfony handles i18n,
so why changing a winning team?
Thanks for your feedback though and have a nice day,
Christian
On Oct 28, 8:38 pm, Alexandru-Emil Lupu wrote:
> Hello!
>
> Why don't you move your i18n to your database? this allo
Hi again,
after I successfully "outsourced" the i18n files from the application
to the private plugin, I got now stuck while deploying:
the i18n cache files are never created, thus the site is not
translated! Did anybody encounter this too?
Locally I have no issues, although the code is the sam
with:
with('response')->debug()->
I am getting this:
Response debug
# WARNING
# An error occurred when processing this request.
# The real response content has been replaced with the exception message to
ease debugging.
HTTP/1.X 500
Content-Type: text/html; charset=utf-8
exception 'Exceptio
On jobeet day 11 it says symfony simulates uploading a file on a form:
after issuing:
./symfony test:functional frontend jobActions
I get:
> 3.1 - Submit a Job
# get /job/new
ok 16 - request parameter module is job
ok 17 - request parameter action is new
# post /job
ok 18 - request parameter
22 matches
Mail list logo