Hi,
I quiet like to use the dispatcher to send email.
The listener will build the email.
For the layout, I only use partial -renderPartial(), that can act as a
layout because you can
include other partial/component in a partial.
Maybe with sfView or sfPHPView there is a way to render a complete
Hi
Does anyone have an experience to have two different cache on a same
application ?
Maybe one cache manager able to store in two different cache
(sfCache) ?
or two cache manager ?
I am trying to have a normal cache by default, and a second cache when
the client has javascript activated. (in t
Hi
sfUnobstrusiveWidgetPlugin
There is a menu created from a yml files with credential and route
On Apr 21, 8:06 pm, Slavka wrote:
> Hey guys... was just wondering if anyone has created a simple
> navigation plugin for symfony?
>
> --
> If you want to report a vulnerability issue on symfony, ple
Hi,
That's what I do :
First make it work without ajax and use partial in your template.
Example :
action: executeMyForm()
template: myFormSuccess().php // what you don't want to be refreshed
in your ajax call
with a partial: _form.php // the piece of html you actually want to
refresh
then use i
Hi,
that's what I use:
public function executeQuery($sql, $conn = null)
{
if( is_null($conn) )
{
$conn = Doctrine_Manager::connection();
}
try
{
$result = $conn->execute($sql);
}
catch( Exception $e )
{
throw new Exception( $e->getMessage() );
Hi,
in fact you don't need a validator anymore :P
or maybe just for the type, but not for the choices.
and then you can add the object in updateObject(),
and it will be created in save()
On Apr 1, 5:33 am, J_Wesker wrote:
> Hi symfony community!
>
> I have searched on several posts related to
Hi,
Cool Daniel, I am happy that you confirm this choice.
For multi promotion, the weight is a good idea.
I was thinking of a config file, to say if a promotion are combinable
with the other (matrix). But in fact a matrix with weight would be
perfect..
1. First you need to store the cart in the
Hi,
I am currently developing a promotion/voucher/discount system too.
First, I have to calculate this in the shopping cart and not in the
order.
Even if the shopping cart is a reflect of a future order, for me they
are distinct.
I have many parameters in the shopping cart too like the delivery d
t include
> _show.php
>
> I need to change some design concepts and use normal cache.
>
> Regards,
> Michal
>
>
>
> > cheers
> > Massimiliano
>
> > On 28 Mar, 22:42, Micha³ Piotrowski wrote:
> >> 2010/3/28 Antoine S. :
>
> >> >
Hi,
You can refine the cache (cache.yml) at any level : application,
module, action, component, partial
see the doc
On Mar 29, 8:27 am, Michał Piotrowski wrote:
> Hi,
>
> Is it possible to do not cache an action in symfony?
>
> I've got such situation - some pages contains a different content f
Hi,
It's in settings.yml
On Mar 23, 5:40 am, DarrenMr wrote:
> I have this in my config.yml file:
> all:
> .actions:
> error_404_module: dashboard
> error_404_action: notFound
>
> However, even after I have cleared my cache it does not use that file.
> How long does it take to adjust
sorry it seems to be a firefox issue on local.
If there is a best practise, I am still keen to know ..
On Mar 10, 11:26 am, "Antoine S."
wrote:
> Hi,
>
> I am using symfony 1.4 latest release.
>
> All the url have ? at the end.
>
> I am using in the template :
>
Hi,
I am using symfony 1.4 latest release.
All the url have ? at the end.
I am using in the template :
Is there a new way (or best practise) to use link_to and url_for ?
Thanks
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You
What's the problem with accessing helpers in the form method?
>
> Thx
>
> On 4 Mrz., 03:05, "Antoine S." wrote:
>
> > it should be :
> > use_helper('IDontKnowTheName');
>
> > or in settings.yml :
> > standard_helpers: [Par
it should be :
use_helper('IDontKnowTheName');
or in settings.yml :
standard_helpers: [Partial, Cache, I18N, IDontKnowTheName]
to be able to access from a template.
You should not access from a form.
(If you have too .. you could use sfLoader::loadHelpers() to load the
helper)
On Mar
livequery is probably the best choice for public website
On Feb 22, 1:14 pm, "Antoine S."
wrote:
> Hi,
>
> I was wondering waht is the best way to include javascript with or
> without ajax.
> In a normal layout, there is an include of the javascripts file.
> inclu
Hi,
I was wondering waht is the best way to include javascript with or
without ajax.
In a normal layout, there is an include of the javascripts file.
include_javascript()
But I dont want to include them again in the ajax layout.
I use often a single js file with livequery. But I am wondering abou
So, I wanted to write a plugin DoctrineActAsSomething.
The existing plugins don't generate classes (or from the schema.yml)
so my template extends "Doctrine_Record_Generator".
The code in my previous message works and will generate the base class
(etc),
but in the project NOT in the plugin.
The
hi,
I am trying to write a plugin to make a table "actas" Commentable.
so in
class Doctrine_Commentable extends Doctrine_Record_Generator
{
}
I create a table that contain the comments (ORIGINALTABLE_comment), so
I have more than one table, because I have different commentable table
(ex: blog, fo
s only for table columns
> skipping adding widgets for relations. I suppose that is because of the
> missing "refClass" in my schema.yml ?
>
> Thanx
> Haris
>
> Antoine S. wrote:
> > Hi
> > You don't need to define in the generator.yml the type dou
ok it s here
http://www.symfony-project.org/reference/1_4/en/06-Admin-Generator
it just that few functionality dont exist anyore
--
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.co
Thank you,
but I think it s not possible for the generated getter methods.
I think they are just "alias" to the function
_get($fieldName, $load = true);
On Dec 2, 3:30 am, "rooster (Russ)" wrote:
> Antoine S. wrote:
> > I used a lot with propel the poss
I used a lot with propel the possibilty to add a criteria to a
generated function.
Example : a product has categories, it will generate :
public function getProductCategories($criteria = null, $con = null)
{
}
and then I could easily refined with a criteria.
But with doctrine it seems not possi
Hi
You don't need to define in the generator.yml the type doublelist.
If you model is ok,
the form will have a widget : tags_list (widget select many)
example of schema.yml n:m to have a widget categories_list in the
ProductForm :
Category:
columns:
id:
type: integer(4)
primary:
Hi,
in sfGuardSecurityUser the function to get the sfGuardUser object is
getGuardUser()
so :
if($this->getUser()->isAuthenticated()){
$this->getUser()->getGuardUser()->getId()
}
On Nov 27, 4:01 am, Rodrigo wrote:
> Hi, I'm using the sfguard plugin in my application.
> My problem is that af
sfUJS provides widget form, and it's cool.
if you know how to use a widget, that's the same,
with just a transformer javascript in the option.
The transformer will change the render to something nicer, depends of
which widget.
You can then create your own widget, following the same way ..
the doc
Hi,
if your customised form extends sfForm, it should not be a problem,
and include the csrf, and valid it.
Don't forget to display it in the template if you don't use 'echo
$form'
On Nov 10, 9:59 am, Sebastian Göttschkes
wrote:
> Hello,
>
> I'm a bit lost here as I try to create a form manual
Hi,
Does someone have a way to find all the possible options of the admin
generator ?
like : ~, _, =, display, fields, help, date_format .. etc
to use all the possibilities before using component, partial or form.
It seems that with symfony 1.3/1.4 there is not the same option than
the previous v
Hi,
I wrote a function that I use quiet often. It displays the php code to
decompose a form.
It might help with the embed form, the i18n and the hidden field :
class myTools{
public static function getFormFields( $form )
{
self::__getFormFields($form);
}
private static function __g
Hi,
I use the sfUnobstrusiveWidgetPlugin.
There is a config file : config/sfUoAdminMenu.yml
with the routes of the menu and the credentials for each one.
Once the plugin is installed :
$this->widget = new sfUoWidgetAdminMenu(array(
'js_transformer' => 'drop_down'
));
Antoine
doublecli
30 matches
Mail list logo