Hello, everybody!
I've got an internal management system based on symfony1. However, the
client wants to add some major enhancements (so big that they would
require 4 months or so to develop). Is there any way to use both
symfony1 and Symfony2 in the same project?
--
If you want to report a vuln
Duplicating base code is not ideal. It would be better on the long run to
have 2 differents applications, you are not forced to have a dedicaded
subdomain. You can initialize the Frontend and Backend from within a single
index.php by matching url.
On Thu, Jun 2, 2011 at 1:45 PM, keymaster wrote
Hello.
I would like my AJAX site to be usable with Javascript disabled also. That
means most pages can be loaded by AJAX calls and by normal page request
calls in browser. Is there a way to automatically handle AJAX calls in
symfony2 so that on AJAX calls templates are not decorated by the layo
Hi,
Just a hint, are you sure that you not just redirect after sending the
mail, and the mail are held back in you local mail queue?
I just know what i have done that a couple of times.. :)
Best regards,
Michael Holm
On Fri, Jun 3, 2011 at 8:00 AM, Haulyn Jason wrote:
> Hi,
> I want to send
I am confused, after I send the email, I only redirect to dashboard
page. BUT: nothing was pushed to my sendmail queue.
Regards,
Haulyn Jason
Founder, http://domix.in
Rm. 807, Qilu Software Tower, Qilu Software Park
1 Shunhua Rd., High-Tech Development Zone
Jinan, Shandong 250101, P. R. China
T
Symfony1 can be used on top of symfony2, but this required some works and a
good understanding on how frameworks works.
On Fri, Jun 3, 2011 at 9:48 AM, Denis.Gorbachev wrote:
> Hello, everybody!
>
> I've got an internal management system based on symfony1. However, the
> client wants to add some
There is another thing that would be cool that have IDE support for, and
that are annotations. Eclipse PDT has already autocompletion for the "@var"
annotation, but maybe that is extensible to include all annotations such as
@Route, @Template, @Secure, etc.
Another thing that might be helpful, but
> You can initialize the Frontend and Backend from within a single index.php
by matching url.
Thanks for the response, Thomas.
While in principle I understand what you are recommending, I have no clue on
what changes to make to get that setup.
Would you know of any example code somewhere on h
On Fri, Jun 3, 2011 at 11:31 AM, keymaster wrote:
> > You can initialize the Frontend and Backend from within a single
> index.php by matching url.
>
> Thanks for the response, Thomas.
>
> While in principle I understand what you are recommending, I have no clue
> on what changes to make to get t
Hi,
I deployed my symfony 2.0 application to the server, it's simple CRUD
application.
On my dev machine, no matter visit to /app_dev.php/ or /app.php,
everything works well.
On my production machine, I can visit to /app_dev.php/, everything
works well, but when I visit /app.php or /app.php/, I g
OK, I know the problem, mailer_transport="sendmail", I wrote this
line to production config, but not in dev config, I set it to smtp to
dev config.
Sorry for the stupid issue.
Regards,
Haulyn Jason
Founder, http://domix.in
Rm. 807, Qilu Software Tower, Qilu Software Park
1 Shunhua Rd., High-Te
On 03.06.11 11:31, Johannes Schmitt wrote:
There is another thing that would be cool that have IDE support for,
and that are annotations. Eclipse PDT has already autocompletion for
the "@var" annotation, but maybe that is extensible to include all
annotations such as @Route, @Template, @Secure,
Just confirming to see if I understand correctly:
Two app folders - frontApp, backApp.
Single code base.
Single db.
Each userland bundle has AdminFront and AdminBack classes as well
as AdminFrontController and AdminBackController classes.
The AdminBundle config is differen
hi thomas,
> something I have in mind, the only restriction for now is how the Admin
> class are used by the routing and it is not hard to change. But for now I am
> focused on the security layer with ACL.
i played with the adminbundle today (some general follows in a
separate thread). i found no
I rode the following messages
http://groups.google.com/group/jquery4php/browse_thread/thread/d7291256b04885e
, but I do not know if this works for symfony 2 , to beginning the
autoload what I have is in php. I do not know how do it work with
jquery.
--
If you want to report a vulnerability issue
Hello all!
What we have for configuration?
- YAML (default in Symfony standard distribution)
- XML (in my opinion most powerfull option - with validation via DTD &
XSD but more complex to human)
- PHP (ugly but native ))
- Annotations (looks very cool in file but... maybe hard to debug, no
valida
Thanks Mathias, I will try it next week (hopefully :)
--
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 t
Le 03/06/2011 14:56, Dmitry Bykadorov a écrit :
Hello all!
What we have for configuration?
- YAML (default in Symfony standard distribution)
- XML (in my opinion most powerfull option - with validation via DTD&
XSD but more complex to human)
The configuration of bundles are validated whatever f
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
hi thomas,
some feedback and hints on the AdminBundle. (i post this to the list, as
people might stumble over the same details as i did...)
i followed http://rabaix.net/AdminBundle/html/index.html
first: THANKS! this is an awesome tool!
tutorial c
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
this sounds spanish to me :-)
but maybe you want to have a look at https://github.com/sonata-project -
they provide a jquery bundle, and the adminbundle is using it... maybe
you can figure things out from the admin bundle source code...
cheers,david
Thanks, Christophe!
You're right, PHP configuration I've never using.
But for my projects I need some code conventions ) E.g. only YAML or
only Annotations.
Now I'm trying to use XML in my bundles.
p.s. Can anyone give me a link to full default configuration in XML? )
On Jun 3, 5:04 pm, Chris
2 app folders with 1 different configuration for routing and templating.
You can share the Admin class, but this is not a good idea, it would be
better to have 2 dedicated Admin class, behaviors can change a lot between
super admin and simple user.
On Fri, Jun 3, 2011 at 2:12 PM, keymaster wrote
The is a ACL branch which for now allows to select which actions can be done
upon roles. The next step will be to select which fields users can view or
edit.
On Fri, Jun 3, 2011 at 2:46 PM, dbu wrote:
> hi thomas,
>
> > something I have in mind, the only restriction for now is how the Admin
>
try changing
$kernel = new AppKernel('prod', false);
to
$kernel = new AppKernel('prod', true);
in app.php
On Jun 3, 2011, at 1:25 PM, Haulyn Jason wrote:
> Hi,
>
> I deployed my symfony 2.0 application to the server, it's simple CRUD
> application.
>
> On my dev machine, no matter visit t
I was also having this issue, updating to sf2 master cleared it up for
me.
On Jun 2, 10:35 am, keymaster wrote:
> Getting the identical error, also on Sf2 Beta3.
>
> *Fatal error*: Call to a member function clearAll() on a non-object in
> *C:\Program
> Files
> (x86)\Zend\Apache2\htdocs\Symfony\v
Hello,
Is there a way to easily set a value in one template and make it
available in another (both templates are included by the same layout)?
For example, in a page template I want to set a string value
representing the selected menu item and use this value in a mini-
template that contains the
I think you don't need link_to() to create an static link. Use href="#"> directly.
Javi
On 06/03/2011 06:40 AM, Imran wrote:
Hi Folks,
I am new to symfony1.4 and few issues are coming with link_to()
helper.
when i use write as link_to('text', '#), it throws error The route "#"
does not exist
i use form date field like:
// ...
->add('valid_untill', 'date', array(
'label' => 'Valid untill',
'years' => range(date('Y'), date('Y') + 5)
));
// ...
render it like:
{{ form_row(form.valid_untill, { 'date_pattern': '{{ month }}
{{ year }}' }) }}
I
JavaScript? It has nothing to do with my question.
On Jun 3, 8:38 pm, Justin Hilles wrote:
> why not use js?
--
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 "
I went through this *exact* issue and found an answer on the list.
You *MUST* retrieve the "mailer" before creating a new Swift_Message
$mailer = $this->get('mailer');
$message = \Swift_Message::newInstance()->...
Roger
On Jun 3, 9:27 am, Kevin wrote:
> I was also having this issue, updating
Thanks, it works now. What's the difference between the different parameter?
Regards,
Haulyn Jason
Founder, http://domix.in
Rm. 807, Qilu Software Tower, Qilu Software Park
1 Shunhua Rd., High-Tech Development Zone
Jinan, Shandong 250101, P. R. China
Tel: +86 158 5410 3759
Website: http://haulyn
Hi,
I am trying to use DoctrineMongoDBBundle but not able to create
documents using CLI. This is what I did.
- Downloaded symfony beta3
- Downloaded DoctrineMongoDBBundle from GIT
- Downloaded doctrine/common from git
- Downloaded doctrine/dbal from git
- Downloaded doctrine/mongodb from git
- D
Well I seem to have found a framework that might work.
According to the hiphop mailing lists, it looks like code igniter
might work.
I'll be using that it seems.
I am unsubscribing from this list, so if anyone has any questions
regarding hiphop, please go to their mailing list.
On Jun 1, 6:04 pm,
On 3 jun, 08:14, Gareth McCumskey wrote:
> If you are using symfony 1.1 or up (not Symfony 2), then there is a command
> you can give from within the project root to create a schema.yml from the
> existing database:
>
> ./symfony propel:build-sql
>
>
I think regenerating the schema.yml for an exi
Hi
Please try to clear cache, simply remove everything from app/cache
dir. Should help.
Regards,
Tomasz Leśniak
--
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
i am trying to build custom validation in symfony2 for passwords and
username/email unique but i can`t figure out:
how to access passconfirm property?
hot to access the database? from within the validator class
the documentation does not write about this:(
--
If you want to report a vulnerabi
Javier is right but if you had to use link_to
link_to('Link Text", $sf_request->getPath(), array("anchor" => "#"));
I think that works, i like having all my links in symland
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You receiv
why not use js?
--
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
To un
Following guide at http://symfony.com/doc/current/cookbook/doctrine/mongodb.html
I get exception:
InvalidArgumentException: There is no extension able to load the
configuration for "doctrine_mongodb" (in /home/zap/public_html/v2/app/
config/config.yml).
In PR6 which I used for last mongo experime
I am using generator.yml to generate admin side. The code in the cache
is not using Form class ( extended from BaseFormPropel). What I read
in tutorials is that Form class is used and I can use setWidgets to
customize it. Why Symfony is not using Forms generated in lib/form/?
--
If you want to re
Is there a way to access two properties from the same entity that
isValidated like password and passconf without using
CLASS_CONSTRAINT??
my second problem is that i can`t set a new configuration so i can use
entityManager
services:
validator.unique:
class: MyNsp\UserBundle\Valida
With second parameter you decide whether enable debugging or not.
Try to set this parameter back to false, and clear cache. You can
simply delete all files from app/cache directory. Refresh your browser
to see results. Should be ok.
On 4 Cze, 03:42, Haulyn Jason wrote:
> Thanks, it works now. Wha
Hi everyone!
How to uload file to the server using symfony 2.
I want to build a simple gallery bundle where I could upload files,
but images only (jpg | gif | png).
How to do that? how to limit upload files to image files? how to
configure upload dir, the name of uploaded file?
Regards
--
If yo
43 matches
Mail list logo