Hi all,
I'm having a big problem with the admin generated for my models. Lets
say I have photos, categories and slots and they're all many to many
except photos don't have slots. So its like
Categories <--> Photos
Categories <--> Slots
When I first generated the admin, it was pretty fast. But no
Okay this may be the dumbest inquiry ever but I can't find any
references to help me.
In regards to the foreach statement () used in some of the default templates...
Clearly this is a loop, but the part reading $products as $product,
what does that exactly mean? I am assuming that $product is an
Word, glad I could help.
On Nov 5, 2010 7:18 PM, "xpanshun" wrote:
IT WORKED!!! You are so awesome! :) I was putting single quotes around
the searchterm part instead of double quotes...Thank you!! :D
On Nov 5, 7:00 pm, Alex Pilon wrote:
> You still need the like..
> $q->andWh...
> On
IT WORKED!!! You are so awesome! :) I was putting single quotes around
the searchterm part instead of double quotes...Thank you!! :D
On Nov 5, 7:00 pm, Alex Pilon wrote:
> You still need the like..
> $q->andWhere("c.col like ?", "%$search%");
>
> The percents are wildcards and will match
You still need the like..
$q->andWhere("c.col like ?", "%$search%");
The percents are wildcards and will match other characters on either side of
the search term.
On Nov 5, 2010 6:50 PM, "xpanshun" wrote:
I tried it like this,
$q = Doctrine_Query::create()
->from('Product p')
->where('p.produ
I tried it like this,
$q = Doctrine_Query::create()
->from('Product p')
->where('p.product_id = ?', $search_term)
->orWhere('p.product_full_desc LIKE ?', '%$search_term%')
->orWhere('p.product_partial_desc LIKE ?', '%$search_term%')
->orWhere('p.product_type = ?', $search_term);
But it still didn
I mean for the LIKE clause.. so what happens is if you do t.column LIKE
'%$searchTerm%'; this will check for the search term within the content of
the column.
The dql rules are the same as the sql rules if you want to check that out on
mysql.com
On Fri, Nov 5, 2010 at 18:31, xpanshun wrote:
> I
Isn't that for when you want to go through all of the columns in the
database? I only wanted to look through the particular ones above...
On Nov 5, 6:01 pm, Alex Pilon wrote:
> You need to use wildcards
>
> On Nov 5, 2010 5:55 PM, "xpanshun" wrote:
>
> Hi everyone,
>
> I am trying to return any
You need to use wildcards
On Nov 5, 2010 5:55 PM, "xpanshun" wrote:
Hi everyone,
I am trying to return any record from the database where a certain
word (stored in variable $searchterm) is used (within a few different
fields)...
Here is what I have:
$q = Doctrine_Query::create()
->from('Prod
Hi everyone,
I am trying to return any record from the database where a certain
word (stored in variable $searchterm) is used (within a few different
fields)...
Here is what I have:
$q = Doctrine_Query::create()
->from('Product p')
->where('p.product_id = ?', $search_term)
->orWhere('p.product_
Sure, this is not a normal behavior.
This is not the first time that this test was made, already discussed on
newsgroup. but nobody never find the reason why.
Personaly, I think that framework is covered enough, and such bottleneck
would be identified. I think that test environment is the reason
How can i set a Symfony2 application to support multi application
(subdomains). is there a way in the rounding I can difference between
each one. for example:
set the NewsBundle "\" to point NewsBundle:Default:index, and
AboutBundle "\" to point to AboutBundle:Default:index
--
If you want to rep
@Richard: Yes, i think I'll go that way. Using the latest git version and
keep updating, while keeping an eye on the dev list. As you say, I'll learn
a lot about Symfony's internals on the way. I agree that it will be a big
challenge, but I think that's how the greatest apps differ from the rest,
t
Documentation for the master is here:
http://docs.symfony-reloaded.org/master/
Fabien
--
Fabien Potencier
Sensio CEO - symfony lead developer
sensiolabs.com | symfony-project.org | fabien.potencier.org
Tél: +33 1 40 99 80 80
On 11/5/10 3:46 PM, Gustavo Adrian wrote:
Hi,
I'll use Symfony 2 fo
I would just suggest that you keep an eye on
https://github.com/fabpot/symfony and use that to keep things updated.
I would say update as often as possible. I have found its easier to
make incremental changes,plus, you get the added benefit of learning
more about the internals of Symfony2. I
Yes. I'm going to start two big projects at work that are going to be
products, not just one time apps. So I want to use the latest version of
Symfony because I plan to work in these apps the whole 2011 (and, with good
luck, the next years too) and I want to use the latest tools I have at hand,
but
Any particular reason you need to use Symfony2? Its still in beta and isnt
planned to be fully released until March...
On Fri, Nov 5, 2010 at 10:46, Gustavo Adrian wrote:
> Hi,
>
> I'll use Symfony 2 for my next project in my job. I was testing the sandbox
> at home and the latest version at git
Hi,
I'll use Symfony 2 for my next project in my job. I was testing the sandbox
at home and the latest version at git too. What I would like is, obviusly,
use the latest version because it has a lot of changes, in comparison with
PR3, in terms of syntax, etc. This is a project that will be product
On 4 Nov, 09:47, JoJo wrote:
> As Gareth said, my concern is how to embed javascript function from partials
> between ** tag.
You're wrong from the start: javascript tag can be put anywhere in the
html, and best place is in the bottom, just before body ends.
So, you can simply call use_javascript
Have you looked at the php.ini of your CLI ? Is the lib enabled (as in
your php.ini in apache dir) ?
On 5 nov, 14:15, Florian wrote:
> If you're on windows, read this:
>
> http://vittoriop77.blogspot.com/2007/10/php-registered-stream-socket-...
>
> On 5 nov, 14:11, Florian wrote:
>
> > Another
If you're on windows, read this:
http://vittoriop77.blogspot.com/2007/10/php-registered-stream-socket-transports.html
On 5 nov, 14:11, Florian wrote:
> Another question: did you run phpinfo() function from the cli ?
>
> php -a
>
> > phphinfo();
>
> or php -r "phpinfo();"
>
> On 5 nov, 14:09, Flo
Another question: did you run phpinfo() function from the cli ?
php -a
> phphinfo();
or php -r "phpinfo();"
On 5 nov, 14:09, Florian wrote:
> It looks like the stream socket transport you're using doesn't exist.
>
> try with sslv3 or sslv2 encryption method:
>
> transport:
> clas
It looks like the stream socket transport you're using doesn't exist.
try with sslv3 or sslv2 encryption method:
transport:
class: Swift_SmtpTransport
param:
host: smtp.gmail.com
port: 465
encryption: sslv3
username: x...@gmail.com
Thanks for your help
--
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@googlegroups.com
What's your task code look like?
On Nov 5, 2010 8:24 AM, "hribo" wrote:
i would like to ask you for the way to send email from the task. i
know there are plenty of discussions showing how to do it.
but i have actually problem when i am sending my emails, and this
error shows up:
Warning: fsocko
i would like to ask you for the way to send email from the task. i
know there are plenty of discussions showing how to do it.
but i have actually problem when i am sending my emails, and this
error shows up:
Warning: fsockopen(): unable to connect to ssl://smtp.gmail.com:465
(Unable to find the so
Hi,
when i try "build-all-load" i'm getting errors about models that
doesn't exist any more in my schema. I know in doctrine i can use
"clean-model-files" but in propel?
Javier
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You rec
I found it...
http://trac.symfony-project.org/attachment/ticket/8650/i18n-1.4.patch
El jue, 04-11-2010 a las 06:44 -0700, Jaime escribió:
> Hi,
>
> i'm in trouble with the inserts on the generate-admin i18n forms.
> Alway have the same error,
>
> "SQLSTATE[23000]: Integrity constraint violatio
xdebug was not enabled, and no other debug modules loaded.
The first test was using a production server with nginx with phpfast-
cgi, and the percent of the gettimeofday call was similar. The one
below was on a server with apache.
On Nov 3, 12:47 am, Alexandre Salomé
wrote:
> Isn't it because of
Bonsoir,
J'ai dérivé de l'exemple Jobeet et avais mis en place la
fonctionnalité de "Search" (sans l'Ajax) avec succès. Mais après
l'intégration de sfGuard et sfApply, je n'arrive plus à inserer mes
fixtures (ceci étant, je doute que ces deux plugons soit a l'origine
du probleme) :
t...@ubuntu:~/
A partial is what it is, just a piece of code that appears where you called
it; you should have 1 .js file per action. Think about 4 partials for 1
action, it is better to have 1 js file to refer that action instead 4 js
pieces of code.
This is for sure an advice only ;)
2010/11/3 JoJo
> Hello
ETag is just a way to have finer grained control over caching and to manage
when to reprocess a request or just send back a cached response. So for
example, if you send a GET request for a resource with id 10 and get a
result, sending a request later for id 10 should respond back with the
cached ve
32 matches
Mail list logo