There is a class which helps you "wrapping" methods. Search for
sfClassManipulator.
Cheers,
Before Printing, Think about Your Environmental Responsibility!
Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale!
On Thu, Aug 12, 2010 at 8:07 AM, Damon Jones wrote:
> You can certainl
So there isn't a simple way for do it, I can't use the %%placeolders%%
if I need virtual columns in the tabular layout?
It's quite strange i think!!
On 12 Ago, 00:50, Alexandre Salomé wrote:
> Override generated templates, or go back to columns.
>
> Take a look at documentation for overriding g
Hi:
I keep on playing with Symfony2. I'm trying to create an sqlite
database for a pilot proyect:
# file: symad/config/config_test.yml
...
doctrine.dbal:
driver: PDOSqlite
dbname: %kernel.root_dir%/sf2cmf-test
--
Running the task:
# php symad/console-test doctrine:d
The project I am working on is using Symfony 1.4 and the backend has a
number of forms that when the data is changed and the form submitted,
the user in question is notified by email.
On our development server all goes fine, the page redirects back to '/
page-you-are-on/15/edit' and the email has
Hi,
Apologies to apostrophe group members for cross posting.
We have started using symfony1.4 and propel1.5 to develop our
applications and definitely no regrets but now we have have 2 choices
- port our own CMS (which is already propel and MVC but not symfony
driven) across into symfony OR take
Hi..
We are using symfony 1.4 and we see that whenever an exception is
raised on a request, the log contains only the exception message($e-
>message).
Is there any config setting to get the full stack trace of the
exception logged to the log file (in production). Else, which is the
right place t
Hi,
We've got an app where if someone attempts too access a secure url and
is not logged in they see the login and then are redirected via
referrer back ot the orignially requested url.
BUT ...
if they just click the login button we want them to be redirected to a
default secure area index page n
Currently, I could get it working by adding in outputStackTrace()
$traces = self::getTraces($exception, 'txt');
if (sfConfig::get('sf_logging_enabled')) {
$dispatcher->notify(new sfEvent($exception, 'application.log',
array($exception->getMessage() . "---" . join('---', $traces
I want to make a functional test, which similar to this:
Click edit button and then redirected to my page, and i want to check
redirected url.
$browser->info('3 - Click Submit on edit keyword')->
get('/keyword/edit/id/'.$wiki_keyword->getId())->
info('Click Submit')->
click('Save')->
with('r
Good day,
Does any one tried to make a drop down Countries, and when its clicked, it will
display the list of cities based on the selected Country.
I don't care if its from Database or Jscript. I just want to get this done
because I'm stuck with this problem. have no clue where to start.
Any h
you can do it this way:
...
with('response')->begin()->
isRedirected()->
followRedirect()->
end()->
with('request')->begin()->
isParameter('module', 'myModule')->
isParameter('action', 'myAction')->
end();
Regards,
Christopher.
> -Ursprüngliche Nachricht-
> Von: symfony-
http://www.symfony-project.org/plugins/sfDependentSelectPlugin
But you'll likely have to translate the documentation using Google Translate.
;-)
Cheers, Daniel
PS: I did not develop this plugin and I haven't used it, so this is just fyi.
On 12.08.2010, at 15:00, Andro Fumero wrote:
> Good da
Dear all,
I'm trying to use a symfony application but when I try to login on the
remote serve I gave this error:
ERROR: Install PDO and PDO driver: mysql
The hosting is italian and its name is www.aruba.it
Many thanks
Giovanni
--
If you want to report a vulnerability issue on symfony, please se
I run the console script (doctrine:generate:proxies) to create proxy
classes, but still getting this error, what do i need to do?
On Aug 11, 11:02 pm, Tim Nagel wrote:
> Sounds like you havent generated your Proxy objects based on the Entities.
>
> t
>
> On Thu, Aug 12, 2010 at 08:55, Michael wr
On Thu, 12 Aug 2010, Johnny wrote:
> I'm trying to use a symfony application but when I try to login on the
> remote serve I gave this error:
> ERROR: Install PDO and PDO driver: mysql
Error message is self-explanatory: you need to install the PDO/PDO-mysql
drivers to run symfony.
--
A
--
On 8/12/10 3:00 AM, alfonso wrote:
I'm trying to create an sqlite
database for a pilot proyect:
# file: symad/config/config_test.yml
...
doctrine.dbal:
driver: PDOSqlite
dbname: %kernel.root_dir%/sf2cmf-test
--
Try something like this:
doctrine.dbal:
driv
Hy everyone,
I have a little question about this tuto :
http://www.symfony-project.org/jobeet/1_4/Doctrine/en/02
How do they do to make the Interface's prototype (I mean what
programme do they use) ?
thanks !!
--
If you want to report a vulnerability issue on symfony, please send it to
securi
They were created with Balsamiq mockups,
http://www.balsamiq.com/products/mockups
On Thu, Aug 12, 2010 at 17:12, Seb wrote:
> Hy everyone,
>
> I have a little question about this tuto :
> http://www.symfony-project.org/jobeet/1_4/Doctrine/en/02
> How do they do to make the Interface's prototype
Hi Jon,
I have a strange problem with multiple db connections.
My databases.yml (definition):
all:
common:
class:sfDoctrineDatabase
param:
dsn:'oracle:dbname=//server:1521/sid'
username: x
password: x
web:
class:sfDoctrineData
I would imagine that at this point you can do everything that Doctrine
can do equally easily with Propel, and the port should be fairly
straight forward.
I would be very interested in such a development as well, and very
available to help out.
Daniel
On Aug 12, 3:02 am, Tofuwarrior wrote:
> Hi,
Thanks, for best answer
On Aug 12, 5:08 pm, Christopher Schnell
wrote:
> you can do it this way:
>
> ...
> with('response')->begin()->
> isRedirected()->
> followRedirect()->
> end()->
> with('request')->begin()->
> isParameter('module', 'myModule')->
> isParameter('action', 'myAc
i use in my schema the 2 letters country code as my foreign key.
so first primary key was id and i got the value in the options the IDs
or PromoteCountry, then I thought I would use the country column as
the primary key to test this option, but the admin didn't display
anything as i know it doesn't
Im only new member there and only studying symfony.
I have simple frontend like from manual ex. with Job module, What i
want to implement?
users can login and view/add/edit only their jobs.
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.c
I have my own opinion:
I need to add new field "user" into job table, and use edited actions
to show:
class jobActions extends sfActions
{
public function executeIndex(sfWebRequest $request)
{
$this->jobs = Doctrine::getTable('JobeetJob')
->createQuery('a')
->where('a.user = ?
Hi, first of all, thank you both guys for your answers.
@Damon: I couldn't try that yet but, as you said, the only problem I see is
that I have no way (that I know) of enable the plugin on
ProjectConfiguration class. And this class is used on the very first part of
the framework initialization. I
On Wed, Aug 11, 2010 at 6:44 PM, Gábor Fási wrote:
> Why don't you directly post your data to the search action? You can
> validate and do the search there.
>
>
I've read that you should do a redirect when a form was submitted by POST.
If I redirect I've managed to access the submitted data
--
That only applies to stuff like posting to a blog or a forum - when
reloading the page does harm, for example by duplicating content. It
is ok to not redirect in case of a search.
On Thu, Aug 12, 2010 at 22:12, Stef wrote:
>
>
>
>
> On Wed, Aug 11, 2010 at 6:44 PM, Gábor Fási wrote:
>>
>> Why do
I have generated an action using doctrine:generate-module (I can
reproduce this behavior in the admin module as well)
When I post to the update page with an incomplete set of values (just
the title for instance) so:
/api_dev.php/event/update?id=1&event[title]=nothing
The object is updated and save
Use path instead of dbname :
I have this :
doctrine.dbal:
driver: PDOSQLite
path: "%kernel.root_dir%/db.sql"
user: root
password:
It works, here
Le 12/08/10 10:00, alfonso a écrit :
Hi:
I keep on playing with Symfony2. I'm trying to create an sql
I just answered for someone with the same problem :
Escape your \ :
->createQuery('Bundle\\HelloBundle...')
Or use namespaces :
->createQuery('HelloBundle:User');
Le 12/08/10 16:05, Michael a écrit :
I run the console script (doctrine:generate:proxies) to create proxy
classes, but s
Override the sfGuard controller.
Create a module sfGuardAuth in your application, create the
actions.class.php and extends the same class as the controller in the
plugin.
Override the executeSignin method to create your behavior
Le 12/08/10 13:23, Tofuwarrior a écrit :
Hi,
We've got an ap
Must be a strange behavior from your HTTP server installation.
Try with another server, that you are sure it is configured correctly.
Maybe a strange behavior from your mail server.
Try debugging, with simple tests :
* Disable mail sending
* Compare the HTTP responses of each installat
Sorry, i hadn't read this chapter. It's good, I read it.
Try putting the relation name in your list attribute :
list: [ id, title, content, category ]
Your Category object has to have a __toString method. Otherwise, you
will have to use partials.
Le 12/08/10 08:55, Wildancer a écrit :
S
Must be an error in your Apache configuration.
Set the RewriteBase value in your .htaccess to "/jobeet/web", or change
your DocumentRoot (in Apache configuration) to your project folder.
Please, send questions in english, more easy for people to
understand/answer.
Por favor, envíe sus pregun
On Thu, Aug 12, 2010 at 10:15 PM, Gábor Fási wrote:
> That only applies to stuff like posting to a blog or a forum - when
> reloading the page does harm, for example by duplicating content. It
> is ok to not redirect in case of a search.
>
>
Thanks for your explanation! It's crystal clear ;)
--
Hi Alexandre:
I tried your configuration:
doctrine.dbal:
driver: PDOSQLite
path: "%kernel.root_dir%/db.sql"
user: root
password:
Unfortunately, the driver you are using doesn't work in my version of
doctrine (revision 5719f85):
[Doctrine\DBAL\DBALException]
The
Hi Brandon:
Thanks for your answer but it didn't solve the problem, I'm still
getting the same error (doctrine revision 5719f85)
El 12/08/10 16:35, Brandon Turner escribió:
On 8/12/10 3:00 AM, alfonso wrote:
I'm trying to create an sqlite
database for a pilot proyect:
# file: sym
It is possible to enable a plugin from the projectConfiguration
methods, but nobody dictates that the plugin names should be hardcoded
there, you could use a configuration XML for instance...
The code below does not work, but illustrates the principle. There is
also more than one way to do this.
38 matches
Mail list logo