Hello,
I’ve spent a lot of time trying with forms in Symfony2, but I don´t got
results.
I want to have the typical system which let me Edit, Create and Delete a
record from a database.
I’ve defined:
1) MyBundle/Entity/articles.php:
namespace My\BackBundle\Entity;
/**
Hi
I am trying to get the user object within my controller action but i am
having a hard time finding the method to fetch current user
If I use findUserByConfirmationToken($token) then where do I get the $token
from?
I don't want to bypass ACL checks so I need to find the correct way to fetch
Hi, all
I want to generate admin page by select from view table, how can i do this?
ex. i have a view table vw_report , then i want to generate admin by
selecting from that, i use doctrine, and plugin sfAdminThemejRollerPlugin.
#anyway, i just want to have a page which generate by selecting from
hi-
i am trying to use translation in the twig file generated by a
controller. it doesn't work (the page is generated as normal, with no
translation).
here are the things i have done:
in app/config/config.yml i added this line:
translator: { fallback: en }
i created
Le 14/02/2011 21:18, violyn a écrit :
hi-
i am trying to use translation in the twig file generated by a
controller. it doesn't work (the page is generated as normal, with no
translation).
here are the things i have done:
in app/config/config.yml i added this line:
translator: { fallback: en }
Hi,
This is probably a basic question, and yet I can't seem to figure out the
best way to do this.
I have a registration form that has several fields, including 2 dependent
ones:
- Country
- State.
If Country == Canada, then I want the state field to have a drop down of all
provinces
If Country
Stick that form into either root/lib or into root/apps/frontend/lib
On Mon, Jan 10, 2011 at 10:01 PM, Eric B ebenza...@gmail.com wrote:
Hi,
I've run into a problem with a component instantiating an existing form, so
it has prompted me to look into the autoloader to figure out why it isn't
Thanks. That seems to work much better. Although I'm still not sure I
understand exactly why, considering that the component is part of the same
module that is trying to instantiate the LoginForm.
I am, however, having difficulty getting my component template to use a
slot. Should it be able
Hi,
I've run into a problem with a component instantiating an existing form, so
it has prompted me to look into the autoloader to figure out why it isn't
seeing the class. I've come to the conclusion that I can't seem to figure
either out. So I guess this becomes a 2 part question; one is just
I want to embed the login form of the DoctrineGuardPlugIn into my
layout.php. I could do this with the following code in layout.php.
$class = sfConfig::get('app_sf_guard_plugin_signin_form',
'sfGuardFormSignin');
$form = new $class();?
form action=?php echo url_for('@sf_guard_signin') ?
Hello
first, my english is very basic.
well, I need create a route for links like that
http://domain/c/:slug/:node/filter1-value1|value2|..|valueN/.../filterN-valueN1|valueN2
i try it using this in routing.yml
show:
url: /c/:slug/:node/*
param: { module: module1, action: action1 }
Hi all,
I want to ask question, how to show relation on admin generator.
example:
in backend i have article list (which generated by admin gen), i want if i
click each of one article, i get list of comment for that article..
I use symfony 1.4, doctrine, and sfAdminThemeJrollerPlugin (jquery).
Hi,
My company started a web service project using symfony 1.4.x +
Doctrine + MySQL (FYI: I upgraded the project to 1.4.8) few months
ago.
Just to let you know what we are doing it's kind of openfeint (http://
openfeint.com/) webservices to handle a community, leaderboards, game
profile (level,
Hello,
About loading performances:
for doctrine :
http://www.doctrine-project.org/documentation/manual/1_0/en/improving-performance:compile
for symfony : http://www.symfony-project.org/book/1_0/18-performance search
for Optimizing your code
Regards,
Before Printing, Think about Your
Of course, feel free to create that directory web/uploads/jobs/ ;)
That should gonna make it.
2010/12/22 Wiynn wiynn...@gmail.com
in the data model chapter this is explaind but i donot get it The job
fixture file references two images. You can download them
in the data model chapter this is explaind but i donot get it The job
fixture file references two images. You can download them
(http://www.symfony-project.org/get/jobeet/sensio-labs.gif,
http://www.symfony-project.org/get/jobeet/extreme-sensio.gif) and put
them under the web/uploads/jobs/
I am a bit new to this symfony framework. I am having a problem seeing
the images on the Symfony Project Created page. I can see all the
writing but no pictures. I installed the project using netbeans. I am
attempting to do the project described on the main site
http://www.symfony-project.org/. I
2 solutions :
copy and paste the folder lib/vendor/symfony/data/web/sf/ in web/
or
in web/ , do :
ln -s yourproject/lib/vendor/symfony/data/web/sf .
Jérémie
Le vendredi 22 octobre 2010 à 11:11 -0700, apc...@dsl.pipex.com a
écrit :
I am a bit new to this symfony framework. I am having a
or u can add this line in ur web server config file
alias sf yourproject/lib/vendor/symfony/data/web/sf
this sud work ..
ashish
On Sat, Oct 23, 2010 at 12:10 AM, Jérémie jeremie.symf...@gmail.com wrote:
2 solutions :
copy and paste the folder lib/vendor/symfony/data/web/sf/ in web/
or
in
Hi,
I have this validator that works great when doing an INSERT but it
fails on UPDATE. During UPDATE it returns that the URL is a duplicate.
I know I should use $this-validatorSchema-setPostValidator, however,
I'm having a tough time getting it to work due to the way I'm using
Hello,
After read some posts, I'd learned the rule that one action for one
template.
So I now need some architect's ideas to solve a case.
To fill a slot used in the layout, I call a DB Query in the
action::preExecute().
But when there is an action::forward(), this preExecute() is called
twice,
Fill the slot using an action? No need to use preExecute(). preExecute is
usually only called when every action in your module has some pre-processing
that needs doing.
On Wed, Sep 1, 2010 at 10:10 AM, Cyrille37 cyrill...@gmail.com wrote:
Hello,
After read some posts, I'd learned the rule that
Hi,
You should use a component slot.
Regards,
On 09/01/2010 10:10 AM, Cyrille37 wrote:
Hello,
After read some posts, I'd learned the rule that one action for one
template.
So I now need some architect's ideas to solve a case.
To fill a slot used in the layout, I call a DB Query in the
Hi,
I'm trying to over ride a base model value. Its super simple but im
not sure how it should be done?
/**
* This class has been auto-generated by the Doctrine ORM Framework
*/
class Customer extends BaseCustomer
{
public function getFirstname()
{
return
When i try send a email i get the next error:
Catchable fatal error: Argument 1 passed to
Swift_Transport_AbstractSmtpTransport::registerPlugin() must be an
instance of Swift_Events_EventListener, instance of
sfMailerMessageLoggerPlugin given, called in /SGF_All/SGF/lib/
First of all, as has been said, do not work as root EVER on a linux system.
Users are there for your protection.
Secondly, this problem is simply because you are trying to access your newly
created symfony application from a browser as a user trying to get to a
directory with the user for that
Dear Symfony Users,
You are users and me is just a beginner who can't start the using
until now because of the errors. I installed ubuntu and xampp using the root
user not sudo or gksudo. Also, did the same for installing symfony. I
created the projects directory in the /root ( the
On Thu, Jun 17, 2010 at 2:27 PM, Dina aquarius
dina.aquariu...@gmail.com wrote:
Dear Symfony Users,
You are users and me is just a beginner who can't start the using
until now because of the errors. I installed ubuntu and xampp using the root
user not sudo or gksudo. Also, did the same
test with ./symfony project:permissions if is don't work your web file must
be www-data chmod -R www-data:www-data but i'am not sure
2010/6/17 Diego Bello dbe...@gmail.com
On Thu, Jun 17, 2010 at 2:27 PM, Dina aquarius
dina.aquariu...@gmail.com wrote:
Dear Symfony Users,
You are
Not a collection ? so you should probably use a limit 1 statement ...
but if you want to get back multiple entrys the collection should be
the right thing !?
2010/5/24 Simone Fumagalli simone.fumaga...@gmail.com:
Hello. I'm trying to write this SQL statement in DQL !
The SQL looks like :
hello every body
i put this code
public function executeCreate(sfWebRequest $request)
{
$this - formpersonne= new personneForm();
$this-form = $this-configuration-getForm($this-personne);
if ($request-isMethod('post'))
{
$this-form-bind($request-getParameter($this-form-getName()));
if
Hi again,
you forgot to call $this-form-save();
Hope this helps,
Pietro
hello every body
i put this code
public function executeCreate(sfWebRequest $request)
{
$this - formpersonne= new personneForm();
$this-form = $this-configuration-getForm($this-personne);
if
-users] help
hello every body
i put this code
public function executeCreate(sfWebRequest $request)
{
$this - formpersonne= new personneForm();
$this-form = $this-configuration-getForm($this-personne);
if ($request-isMethod('post'))
{
$this-form-bind($request-getParameter($this-form-getName
than you a lot it's resolved
--
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
Don't take this the wrong way, but all the questions you have asked so
far have been very basic features of symfony. Perhaps spend some more
time learning symfony with the documentation provided (even do the
tutorials) and you will find you wont be asking questions as much :)
On Thursday 13
Hi,
Two questions here, any advice will be apreciatted:
1- I'm using sfWidgetFormChoice in a form. The problem that i'm
having is that i need to place the options tags generated by de widget
into tr of a table instead using ul that the widget generates by
default. Is there any way of rendering
Hi,
i recently trained on symfony and wanted to install the same projects
we did to my ubuntu box back at home. i have already done the
webserver configuration but when i try to access the jobeet
application i get the following error:
my previous user was symfony and current user is
On Tue, 13 Apr 2010, xris wrote:
i recently trained on symfony and wanted to install the same projects
we did to my ubuntu box back at home. i have already done the
webserver configuration but when i try to access the jobeet
application i get the following error:
my previous user was symfony
HELLO
how to change username password in the form of secure
authentication in an other language
thank you
--
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
hello i cant double the user because it must be one but for the
username et password i put exactly i m sure
thank you
--
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
hello
i follow http://www.symfony-project.org/jobeet/1_2/Doctrine/en/13
i need your help i create an administrator user but in the exuction i
have The username and/or password is invalid. i cant access to my apps
backend
thank you
--
If you want to report a vulnerability issue on
the only thing i can tell you, is to double check the username you create
and be sure you remember the password exactly as you typed it iwhe you
create the user.
But if you need to work on the backend, you just have to edit your
security.yml file and say 'off'
2010/4/5 safa boubekri
On Thu, 18 Mar 2010, DarrenMr wrote:
Hi guys here is my route YAML:
product:
url: /product_:brand_:name
param: { module: products, action: view }
requirements: { brand: \d+, name: ([a-z0-9-])+ }
However I get this error when I try to access the page:
Unable to parse
Hi guys here is my route YAML:
product:
url: /product_:brand_:name
param: { module: products, action: view }
requirements: { brand: \d+, name: ([a-z0-9-])+ }
However I get this error when I try to access the page:
Unable to parse /product_:brand_:name route near :name.
When my url is like:
I am not sure to understand,
You want to retreive category from the existing job ? right ?
But if this is the case, what about the first record ? You won't have
any existing category, does not make sense ... (or you have to display a
select input and a free text input, then get the value from
Hi,
I am a new comer to Symfony world. I am building a web application for
our organisation with Symfony 1.4.3+Doctrine. I came across a problem.
The default templates generated from Symfony CLI display the 'ID'
column as a link to showSuccess template by default. But i don't want
that. Instead I
Guys i am looking for a good tutorial on how to use symfony for use
feedback form example where it uses mysql database?
pls send some link or tutorials on how to do it .
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You
2010/3/8 Buddhika Perera budd...@gmail.com:
Guys i am looking for a good tutorial on how to use symfony for use
feedback form example where it uses mysql database?
pls send some link or tutorials on how to do it .
schema
Notification:
actAs:
Signable:
created:
name:
Hi guys I am able to define per page and I have, however I have
defined them like
New Article
Edit Article
But in my template it does include_title().
I don't want to have to define:
Site Name :: New Article
Site Name :: Edit Article
in every yml file. Is there a way I could do Site Name in 1
I am trying to create the following schema with the following requirements.
* One to one Organization to sfGuardUser
* Each organization, may have multiple campaigns.
* Each campaign may have multiple addressbooks.
* MessageQueue holds general information for all
Hi everyone,
I passed many hours for this strange thing, in fact I got a problem when
using json_encode in symfony.
In my front-end module, method executeIndex() as below:
public function executeIndex(sfWebRequest $request)
{
$this-test = $this-getRoute()-getObject();
On Thu, 28 Jan 2010, Dong YANG wrote:
Hi everyone,
I passed many hours for this strange thing, in fact I got a problem when
using json_encode in symfony.
In my front-end module, method executeIndex() as below:
public function executeIndex(sfWebRequest $request)
{
Hello, I am having trouble with the following:
I am trying to override my setPassword method for my employee model
but everytime I try to overwrite it I get nothing from it. I was
using:
public function setPassword($password)
{
parent::setPassword(sh1($password));
On 12 Jan 2010, at 00:24, Darren884 wrote:
I am trying to override my setPassword method for my employee model
but everytime I try to overwrite it I get nothing from it. I was
using:
public function setPassword($password)
{
parent::setPassword(sh1($password));
Hi,
I want to open a certain hyperlink to the desired div. I mean I don't
want refresh the complate page with the hyperlink.
The below one is not working.
?php echo link_to_remote('HCL OMS', array( 'update' = 'feedback',
'url' = 'http://10.0.0.4/QAPortal/', 'class' = 'yuimenuitemlabel'))
?
Override the save method in your sfGuardUser class. Sf creates 3 files in
the case of the plugins. A base class, a plugin class and the instantiated
class
I will be more verbose in around 1 hour
sent via htc magic
On Dec 17, 2009 5:33 AM, Billy Paradise billyparad...@gmail.com wrote:
Hi all,
Hi,
Which value do you have in your database ? (PHPMyAdmin or SQL client)
What is the type of column defined in your schema ?
2009/12/13 PhiKapJames phikapja...@gmail.com
I'm running into the issue where when I'm trying to use the default
getValue() method that was automatically
I'm running into the issue where when I'm trying to use the default
getValue() method that was automatically generated from a model, that
it's not giving the correct place value. I have for examply .4123 in
my database, but it is only displaying .41. When i look at the query
log, it's not doing
Hi all,
First post, great to be here and looking forward to a long successful story
with Symfony.
I'm just starting a project with Symfony 1.4, learning the ropes (coming
from a pure SQL background, I can tell you this is a steep curve but the ol'
instinct tells me this is all worth it, pressing
I've just started getting into Symfony / Doctrine, but I'm running
into an issue creating the join. I have a pre-existing database that
I'm trying to create a new site around, so I have used doctrine:build-
schema to create the model, forms, etc off of MySQL. It's using
INNODB and here's the
Hello, i want to know how I can select last 6 rows of my table named
'users'
I want to show last 6 users registred on website. But didnt know how
with criteria..
Thanks all.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Hi
I have 1 table in my project, called sf_guard_user_profile. In
which, there are 2 fields,
1. first_name
2. last_name
I m working on search module
in table, suppose there is 1 entry
firstname = 'John'
lastname = 'Lee'
In search if any body searches for 'john lee', how to match ?
bcoz
Hello,
I'm working on a project where i require multiple file upload and i am
using sfWidgetFormInputSWFUploadPlugin.
All works well except that after the upload finishes i get an Errors
occured during upload, An HTTP error occured: 401 Unauthorized,
after looking into I saw that in the widget i
Hi!
I'm trying to add new actions to some modules with mixins and the
event dispatcher.
I find the controller.page_not_found notify, but it didn't work.
Someone knows if there is a way to add new actions with some mixin??
--~--~-~--~~~---~--~~
You received this
Hello everyone:
I'm trying to create my first form with symfony 1.2, I am
following the instruction by
http://www.librosweb.es/symfony_formularios/. So I created a
ContactoForm class that extends of sfForms like this one and I placed it at
please healpme i need to install symfony with informix but a cannot
install
--~--~-~--~~~---~--~~
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
I´m new with symfony, and I´m trying to start with Jobeet but I have
an error when trying to insert-sql with doctrine.
I run the command below with this error:
D:\AppServ\www\symfony\sfprojectsymfony doctrine:build-sql
doctrine generating sql for models
While exporting model class
Hi All
If anybody has idea on how Virtual columns functionality works in day
12 of symfony demo setup tutorial(http://www.symfony-project.org/
jobeet/1_2/Doctrine/en/12#chapter_12_sub_virtual_columns). I think I
followed the guide as per described and changing in file 'apps\backend
I created sfGuardAuth folder in my app-name-here/modules here.
I then create the foldesr actions and templates inside
sfGuardAuth.
In actions folder, I created a new actions.class.php and place the
following contents: http://pastebin.ca/1551008
In templates, I created my own signinSuccess.php:
Hi,
Been looking around for answers to this but couldn't find one. Does
anyone know how to get the help text from generator.yml to pull
through to a nested form field? If that's not possible what's the best
way to manually set the help text for a nested form field?
Thanks!
how to display uploaded image in template!
i used img width=200px src=/civil/web/uploads/assets/abc.jpg/
it works but
img width=200px src=var/www/civil/web/uploads/assets/abc.jpg/
this not works!!
need help
new to symfony
--~--~-~--~~~---~--~~
You received
Hi All.
It's my project plan.
I have *league* table.
Each *league* table has many *Week* and also has many *Team* .
*Week* has many *Game* , And each *Game* has two* Team* .
In *Game* table i set two foreign key to *Team* table,But In my *Game* form
It doesn't show two Combo box for my two
When I entered this part (jobeet day 12, section batch_actions)
batch_actions:
_delete: ~
extend: ~
in /jobeet/apps/backend/modules/job/config/generator.yml, i then I see
the browser I do not obtained the extend parameter, why?, this my
action class
Hi every:
I read this great article[1] wrote by Fabien and try to create a link between
frontend and backend applications. For that I modified some parts of the
original code from Fabien and now looks like this:
class frontendConfiguration extends sfApplicationConfiguration {
protected
Hi every:
I'm trying to integrate sfGuard with my LDAP. For that I add this lines to my
app.yml file:
/frontend/config/app.yml
all:
sf_guard_plugin:
check_password_callable: [LDAP, checkLDAPPassword]
Then I create a file called LDAP.class.php and put inside /frontend/lib
directory. The
Hi guys. I got a little question for you, hope anyone can help me. I
got two tables in my model. One is called contenido, the other is
called recurso. They got a many to many association which is made by
the table recurso_contenido. The schema.yml part of these tables is
here:
I have used sfGuard before, but I would like to start taking advantage
of Doctrine. I installed sfDoctrineGuard
http://www.symfony-project.org/plugins/sfDoctrineGuardPlugin/3_0_0 and
followed the README and got a basic setup working. Next I wanted to add
a custom profile. The README docs still
I am trying to create a plugin to extend the admin generator but it
seems difficult to do so. Hereafter what I did:
* Installed sfTaskExtraPlugin
* Used 'symfony generate:plugin myDoctrineGeneratorPlugin' in command
line.
* Copied data/generator folder from the sfDoctrinePlugin and lib/
Hi,
I just started to use Symfony 1.1 under linux box.
I have been following My First Project tutorial [1] and I am stuck in
the middle of it.
First of all, .htaccess were giving out errors, so I renamed it
temporarily. but it wasn't a major problem.
Creating tables from yaml, creating models
Hello,
There's gonna be symfony support in Netbeans 7.0. Now netbeans
developers are gathering requirements and usecases from symfony
developers.
More details here:
http://blogs.sun.com/netbeansphp/entry/evaluating_of_symfony _support
--~--~-~--~~~---~--~~
You
Hello. How can i write this query with Criteria ?
$sql = SELECT Chat.SENDER, Chat.RECIEVER FROM Chat WHERE Chat.OWNER=38 AND
Chat.SENDER NOT IN(14) AND Chat.SENDDT='2008-08-20 10:19:06' AND
Chat.STAT='0' GROUP BY Chat.SENDER
This $sql works. When i try it with Criteria it is not working.
Hi,
i need to create a simple application.
My application has a simple modules that reads and writes on a db
using propel and symfony crud tools.
Now i need to create a flash frontend. I found 2 libraries: AMFPHP and
SABREAMF. There is also a symfony plugin for AMFPHP.
How can i use them?
Do you
All,
Recently there have been a few emails about donating towards a community
token of appreciation for Fabien and Francois. I think this is a great
initiative. An even better way to help the community and core team is to
help them save time day to day. There are many ways to help the core team:
Hi folks,
I have a strange request, and need some help please. I want to add an
xml-rpc interface into my system, and have done this:
In factories.yml, I've added:
xmlrpc:
controller:
class: sfXmlRpcController
sfXmlRpcController.class.php is in my apps/mymodule/lib/ directory
This
Hi all,
my problem is occurring with creating a dropdown box that when
selected, AJAX will place another dropdown box below it filled with
choices according to the value chosen in box 1.
I use the following code to generate the first dropdown box:
?php
echo select_tag('department_choice',
My URL is:
http://localhost/project1/web/admin_dev.php/myPicture/list/propertyId/3
But I can't get any value when I call
$sf_request-getParameter('propertyId') from the template
Any idea?
--~--~-~--~~~---~--~~
You received this message because you are
Hi folks,
Logging is giving me fits, and I don't understand why. FWIW, I've
tried both with and without sfAdvancedLogger, and I can't tell a
difference.
Right now, I'm getting lots of info() logging entries from Symfony. I
want to disable that, so that I only get debugging output. using this
87 matches
Mail list logo