Hello (i'm french excuse me for my english)
How to get sfFormField in sfForm withtout foreach ?
When I use sfForm, I can get all my widget like that
foreach ($this as $oWidget) {
$oWidget-render()...
}
But i can't to do [B][I]each[/I][/B] or [B][I]while (list(, $oWidget)
=
hello,
I use symfony 1.2.9 with doctrine...
I would like to escape all the special html character that user can
put in form html...
So I add in the section .all .settings of my settings.yml file the
followings lines:
escaping_strategy: both
escaping_method: ESC_ENTITIES
With a form, I
Symfony is a very cool alternative if you want to start coding fast,
not caring about base (if you know what i mean).
--
You received this message because you are subscribed to the Google Groups
symfony users group.
To post to this group, send email to symfony-us...@googlegroups.com.
To
Hello symfony users,
I think I might have found a bug in Symfony, and I require your point
of view before a submit a bug entry.
The problem is about i18n forms in inherited doctrine models.
Let's pretend I've got this schema.yml :
blockquote
Article:
actAs:
Timestampable: ~
I18n:
You can access a field directly via `$form[fieldname]`, if that's
what you're asking.
On Wed, Jan 27, 2010 at 10:19, DoRiaN doria...@gmail.com wrote:
Hello (i'm french excuse me for my english)
How to get sfFormField in sfForm withtout foreach ?
When I use sfForm, I can get all my widget
No, i want loop.
Always I need to break my foreach to start a new input template and
loop on last inputs without name or index.
foreach (...)
... break;
Then I want loop again without foreach (because reset).
each() or while (list(, $oWidget) = each($this)) don't work
On 27 jan, 12:13,
So, if you change content of index.php in your web project directory
to something like ?php echo hello; ? (included my previous
recomendation) and nothing is showed. Problem is in the virtualhost
settings (apache... php...)
If you see hello text. Problem should be in your symfony
application.
The sandbox is a pre-packaged symfony project. With classic Symfony
instalation you have to do some more configuration.
On 26 led, 18:41, Pax95 piotre...@gmail.com wrote:
What are the differences between Sandbox than original Symfony package?
--
You received this message because you are
Because you can create a query/redirect by passing an object e.g.
$this-redirect(array('sf_route' = 'jobeet_edit', 'sf_subject' =
$job));
and the url will be created automaticaly - he knows the slug, the
company_slug etc. - you haven't to create URL by hand, only specify
the route name and the
By the way, it's Symfony, not Symphony.
On Jan 27, 1:37 am, raviu ravi.undupit...@gmail.com wrote:
Hello,
Could you tell us what you use symphony for, and how it has helped.
Just a summary of one or two lines. I'm making up a report and would
like some output from the symphony community.
Hello.
You have to insert the fourth parameter of GMapMarker object
constructor: the marker javascript name:
$marker = new GMapMarker($object-getLatitude(), $object-getLongitude
(), array(), 'marker_'.$object-getId());
otherwise the listener call always the same marker object (the last
one).
ou es ce que je peut trouver la directive de configuration ServerName pour
lui ajouter les parametre du serveur virtuels .
et avant j'ai ouvert le fichier HTTP.CONF et y avai ça
#
# MySQL server administration.
#
Alias /phpMyAdmin /var/www/myadmin
Directory /var/www/myadmin
DirectoryIndex
That's no problem the form framework can solve for you, it's a
programmatic problem.
You can either:
1. Output the fields manually
echo $form['field']
2. Add conditionals in the loop
foreach ($form as $name = $field)
{
if (in_array($name, array('name', 'address')))
{
...
}
else if
Il faut que tu places ce que tu as ajouté dans un fichier vhosts.conf par
exemple, ensuite dans le httpd.conf tu devra rajouter une ligne du genre
Include conf/extra/httpd-vhosts.conf
Tu peux me faire ceci : créer un répertoire ou tu pourras mettre tous tes
vhosts (un vhost par fichier), puis
Hi,
I was wondering if could get help with the following,
I have implemented external content loading using Ajax (see javascript
code below). And now I would like to add multiple container loading
functionality using a Json object code I have (see json object code
below).
Could you please help
So, an idea anyone ?
--
You received this message because you are subscribed to the Google Groups
symfony users group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com.
For more
Thanks, i thought to do that but why there is not solution ?
On 27 jan, 15:40, Bernhard Schussek bschus...@gmail.com wrote:
That's no problem the form framework can solve for you, it's a
programmatic problem.
You can either:
1. Output the fields manually
echo $form['field']
2. Add
Hello all, hope everyone is having a good day. I need to learn the
proper command to migrate my doctrine schema properly, or my classes
along with my schema in a whole.
I have tried
symfony doctrine:migrate
symfony doctrine:generate-migrations-db
However it does not work. This is if I change
Hi all,
I'm working on a quiz module in my Symfony application, so I have a
NoeQuizParticipationForm which is supposed to include all my questions
subforms. Thus, I have a NoeQuizParticipationAnswerForm class which handles the
user's answer to each question, in this class I only have one
We use it for eCommerce management and I personally use it for my
projects as well. When you have common sense and logic packed into a
package its a versatile tool.
On Jan 27, 5:38 am, Davide Borsatto lloy...@gmail.com wrote:
By the way, it's Symfony, not Symphony.
On Jan 27, 1:37 am, raviu
On Tue, Jan 26, 2010 at 9:37 PM, raviu ravi.undupit...@gmail.com wrote:
Hello,
Could you tell us what you use symphony for, and how it has helped.
Just a summary of one or two lines. I'm making up a report and would
like some output from the symphony community.
Thanks for any help.
I have international frontend application and normal backend. I have
model Firm with column: id and model FirmTranslation with column:
offer. In frontend everything is ok but in backend when I use for
example query:
Doctrine_Query::create()-from('Firm')-execute();
I can show all data from model
I was just working on this today. All of this assumes you are using
SwiftMailer. I am using this on symfony 1.4
In my factories.yml (apps/app_name/config/factories.yml) I have:
dev:
mailer:
param:
delivery_strategy: single_address
delivery_address: my_em...@my_domain.com
On
I just wrote the same code with standard php - direct database
access, the request took 0,7 seconds! (same system as used above,
intel cor...@3ghz with 8 gigs ram)
On 27 Jan., 19:58, axel at axel.zu...@gmail.com wrote:
hello list,
symfony seems to be extrem slow - compared to native php
a
Im having issues with an IIS server and symfony 1.0.
I know symfony 1.0 isn't supported anymore, but it wasn't up to me
this decision.
I hope someone have experience about this to share, IF I can't change
the host.
http://www.artenossa.net/index.php/moveis
The specified CGI application
On Wed, 27 Jan 2010, Sid Ferreira wrote:
Im having issues with an IIS server and symfony 1.0.
I know symfony 1.0 isn't supported anymore, but it wasn't up to me
this decision.
I hope someone have experience about this to share, IF I can't change
the host.
On Wed, 27 Jan 2010, axel at wrote:
I just wrote the same code with standard php - direct database
access, the request took 0,7 seconds! (same system as used above,
intel cor...@3ghz with 8 gigs ram)
Err, did really you expect a framework to be faster than straight PHP?
--
--
You
Hi !!
In my project, I have many _from that I have to view withou layout (I
already set the $this-setLayout method at false), and I woul like to
include a specific CSS and a specific JS file.
I tried use_javascript('form') and use_stylesheet('form'), maybe I
passed the wrong parameter...
How can
Hi Ravi,
We use Symfony for everything from our simple Blog sites to Gallery
and Portfolio's. Aswell as the occasional E-Com and other misc web
apps.
It has helped by enabling us to build and deploy all the above quickly
and efficiency with the use of the awesome toolset the Symfony
Framework
Hi,
Cool, thanks for your reply. I will try these methods later.
Have a nice day.
JoJo
2010/1/25 Земсков Юрий y...@zemskov.name
See no difference. Maybe symfony tutorial is a bit outdated. Using pre-
post- methods you can do the same stuff while writing less code.
Just don't
In such a case I'd go for manually creating the neccesary style or
script tag in your _form template.
A bit better version may be to call include_javascripts_for_form() and
include_stylesheets_for_form().
On Wed, Jan 27, 2010 at 22:36, Vincent UNG ung.vinc...@gmail.com wrote:
Hi !!
In my
I did a bit of searching and could not for the life of me find a
Symfony user group in the new york metro area. So I started one. How
many users on this list are interested in meeting every once in a
while to discuss Symfony and related topics?
http://www.meetup.com/symfony-nyc
On Wed, 27 Jan 2010, Jesse wrote:
I did a bit of searching and could not for the life of me find a
Symfony user group in the new york metro area.
There is. Its part of NYPHP:
http://lists.nyphp.org/mailman/listinfo/symfony
I started that group but there's very little traffic so far.
--
Why not upgrade?
On Jan 27, 12:58 pm, Eno symb...@gmail.com wrote:
On Wed, 27 Jan 2010, Sid Ferreira wrote:
Im having issues with an IIS server and symfony 1.0.
I know symfony 1.0 isn't supported anymore, but it wasn't up to me
this decision.
I hope someone have experience about this to
If you mean like dividing your form into different fieldsets/groups
then what you can to is add like a public property in the form
organizing the fields.
someForm extends sfForm {
public $fieldsets = array(
'Profile' = array(
'field_a'
)
)
}
?php foreach($fieldsets['Profile']
I have my external authentication working, but the problem that I am
running into is that there needs to be a user in the sfGuardUser table
that matches the username submit in the login form, otherwise the
login fails.
So when I currently add 'return true;' to the top of the external auth
I didn't expect it to be faster than straight PHP, but it's about 35
times slower!!! do you have any constructive ideas for performance
tuning?
On 27 Jan., 21:59, Eno symb...@gmail.com wrote:
On Wed, 27 Jan 2010, axel at wrote:
I just wrote the same code with standard php - direct database
Dear all,
When a user logins, the controller calls the following function in the
myUser.class. The problem is, if he doesn't logout but then logins in
another computer/browser, the old session does not get killed. I tried to
use setAuthenticated(false) on users who have already authenticated,
On Wed, 27 Jan 2010, axel at wrote:
I didn't expect it to be faster than straight PHP, but it's about 35
times slower!!! do you have any constructive ideas for performance
tuning?
People always make such a simplistic comparisons. There's lots you can do,
like optimize queries, use fumctional
I think this is a bug: http://trac.symfony-project.org/ticket/8194#preview
On 27 Sty, 19:23, dziobacz aaabbbcccda...@gmail.com wrote:
I have international frontend application and normal backend. I have
model Firm with column: id and model FirmTranslation with column:
offer. In frontend
40 matches
Mail list logo