Create a plugin :-)
--~--~-~--~~~---~--~~
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
To unsubscribe from this group, send email to
symfony-us
I can only see how to share partials between modules in a single app.
How can I share them between multiple apps?
Thanks for any guidance!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To po
i solved this making another Form for my backend and other for my
frontend , coz i need to customize each one with differents requirements .
-
And what's the matter? :)
On Thu, Jul 23, 2009 at 00:52, Germana
Oliveira wrote:
>
> HI!!
>
> wha
Hi!!
Im trying to customize my UserFormFilter, so i have this in my setWidget:
...
'created_at'=> new
sfWidgetFormFilterDate(array('from_date' => new sfWidgetFormDate(),
'to_date' => new sfWidgetFormDate(), 'with_empty' => true)),
...
How can i change the labels of: 'fr
This is a known issue with the orderby dql parser. An alternative workaround
is to select the sum as an alias and then order by that alias.
- Jon
On Wed, Jul 22, 2009 at 6:05 PM, xwolf wrote:
>
> I have found the problem. In doctrine where it parses order by clouse,
> string is exploded by ','
I do not know how to do it ¿¿??
___
And what's the matter? :)
On Thu, Jul 23, 2009 at 00:52, Germana
Oliveira wrote:
>
> HI!!
>
> what i want to do is to save (update) but just some values (fileds) and
> keep the values of others.
>
> Thanks
>
> >
>
--~--~--
Works like a charm, a note to future readers, the arguments parameter
despite being an array expects a single element array containing the
arguments.
Thanks!
On 7/22/09, Gandalf wrote:
> Superb
>
> Never thought of creating the instance on my own!!!
>
> Thanks, ill try it now
>
>
>
Hi,
I am trying to do a multiple edit on a database table.
Whn I output like this:
[code]
getStatusObject($key)->getStatusname() ?>
[/code]
I get this error:
[code]
Fatal error: Call to a member function getStatusname() on a non-
object
[/code]
When I comment the above out the rest of the field
And what's the matter? :)
On Thu, Jul 23, 2009 at 00:52, Germana
Oliveira wrote:
>
> HI!!
>
> what i want to do is to save (update) but just some values (fileds) and
> keep the values of others.
>
> Thanks
>
> >
>
--~--~-~--~~~---~--~~
You received this message be
I have found the problem. In doctrine where it parses order by clouse,
string is exploded by ',' character. It works for string like order by
title, artist, created_at but it fails in order by (timediff
(updated_at, created_at).
On 22 Lip, 15:14, xwolf wrote:
> Hello,
> I have a problem with ord
HI!!
what i want to do is to save (update) but just some values (fileds) and
keep the values of others.
Thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send ema
Hello,
I want to do an embedList like embedForm into the admin Generator. Is
there a way to do this ?
Thanks,
Theo
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send
hi!
that is not the normal behaviour (i mean CURRENT_TIMESTAMP should work).
Please tell us what symfony version are you using.
Alecs
On Wed, Jul 22, 2009 at 8:16 PM, dacoman wrote:
>
> I think I found the problem.
>
> I had used an existent MySql database where each table had two fields:
> `cr
I think I found the problem.
I had used an existent MySql database where each table had two fields:
`created_at` timestamp NOT NULL DEFAULT '-00-00 00:00:00',
`updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
running propel:build-schema and propel:build-sql run Okay
just when r
Hi.
thanks for your responses.
I changed my Database... I modified the column names to x_ID
but still have the same Issue :
my new schema.yml is :
propel:
_attributes:
package: lib.model
defaultIdMethod: native
alternative:
_attributes: { phpName: Alternative }
ALTERNATI
On 22 juil, 16:20, Aurélien Lansmanne wrote:
> Hi,
>
> I've recently tried my first application developped with Symfony, but
> I've run intro some trouble with the routing, as it doesn't work at
> all :/
>
> I've got two applications in my project : The backend that has been
> made with the adm
Ok, no_script_name was the answer to my problem :)
So it's working now, thanks for the help !
On 22 juil, 18:42, Gábor Fási wrote:
> Which was the first project you made, frontend or backend? The first
> one gets to use index.php, the second one uses projectname.php, and
> has no_script_name di
Which was the first project you made, frontend or backend? The first
one gets to use index.php, the second one uses projectname.php, and
has no_script_name disabled by default.
On Wed, Jul 22, 2009 at 16:20, Aurélien Lansmanne wrote:
>
> Hi,
>
> I've recently tried my first application developped
the getCompanySlug is called camelCase, when the first letter is
lowercase, every other first letter of a word is capital. Another was
is to separate the words with an underscore, so companySlug is the
same as company_slug, just with a different writing mode.
As the route you mentioned has the cla
This is not a symfony error. The mimetype is submitted by the browser,
by default php uses that, but as far as I can remember, symfony tries
some other ways as well, but if all those fail, it falls back to the
original, submitted one.
On Wed, Jul 22, 2009 at 17:18, belbek wrote:
>
> when, for exa
The .htaccess was set to
RewriteRule ^(.*)$ index.php [QSA,L]
If I choose backend.php instead it will work, but I don't know why
the /backend.php/ doesn't appear in the URL, while the backend_dev.php
does...
Is it possible to change the RewriteRule depending on the controler
used?
On 22 juil,
I am working my way though the jobeet tutorial and am on Day5.
The class uses the getCompanySlug() function and the function slugify
($text) which all make sense but then the
routing uses
url: /job/:company_slug
So my question is where did company_slug come from I would have
expected it to b
when, for example, I rename .bmp file to .jpg fileValidator can't
detect the mime type and wrong mime-type detects only symfony
thumbnail plugin but this is already an error
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google G
OK,
I guess the sfDoctrineGuardPlugin is a little more complicated than my
requirements.
Turns out all I had to do was this in my form
$this->setWidgets(array(
'categories_list' => new sfWidgetFormDoctrineChoiceMany(array(
'model' => 'ProductCategory',
'multiple'
is the rewrite_module active?
2009/7/22 Aurélien Lansmanne
>
> Hi,
>
> I've recently tried my first application developped with Symfony, but
> I've run intro some trouble with the routing, as it doesn't work at
> all :/
>
> I've got two applications in my project : The backend that has been
> ma
Hello,
I'm trying to set up a development machine on my mac book running
MacOS 10.5.7. with xampp 1.0.1
I'm following the jobeet tutorial. Everything runs smooth until I came
to the step of propel:build-model. When I run:
>./symfony propel:build-model
I get following error:
>> schemaconvert
Hi,
I've recently tried my first application developped with Symfony, but
I've run intro some trouble with the routing, as it doesn't work at
all :/
I've got two applications in my project : The backend that has been
made with the admin generator, and an empty frontend ap, with nothing
more insi
Superb
Never thought of creating the instance on my own!!!
Thanks, ill try it now
On 7/22/09, Dheeraj Kumar Aggarwal wrote:
> hi
> i have implemented a function to execute a task from action
> I have created a new instance of the sfFormatter class.
>
> // here class_name is the
sf1.2 Doctrine
Hi guys,
I'm trying to use a form to create a CompetitorProductReport while
including some CompetitorProductReportCategoryRefs, but I'm gettgin this
error:
SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry
'2-1' for key 'PRIMARY'
I have copied and pasted f
hi
i have implemented a function to execute a task from action
I have created a new instance of the sfFormatter class.
// here class_name is the class name of the task to be executed
public static function executeTask($class_name, $arguments = array(),
$options = array())
{
$dispatcher =
well,I find the solution, delete these files I had created and
complete
rm /etc/alternatives/symfony
rm /usr/bin/symfony
pear install symfony/symfony
On Jul 17, 1:07 pm, Alexandru-Emil Lupu wrote:
> Hi!
> first of all, i would like to ask you to use English
>
> As the guys allready suggested,
Hello,
I have a problem with orderBy part in Doctrine query. I want to sort
music objects in mysql by diggs and time they were added.
Mysql query should look like:
select * from music m left join digg d on (d.digged_id = m.id and
d.digged_model = 'music') group by m.id order by sum(GREATEST(50/
(
Thank you guys. I found a problem. While checking out files from SVN
to my project, I forgot to checkout files for admin template in
Symfony Core files (which are in pear folder). It is a pity I can't
put them in project folders. (with keepeing Symfony Core files outside
Project folders)
--~--~--
33 matches
Mail list logo