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
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,
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
Hi
sfUnobstrusiveWidgetPlugin
There is a menu created from a yml files with credential and route
On Apr 21, 8:06 pm, Slavka richard@gmail.com wrote:
Hey guys... was just wondering if anyone has created a simple
navigation plugin for symfony?
--
If you want to report a vulnerability
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 j_chave...@hotmail.com wrote:
Hi symfony community!
I have searched on
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
,
Michal
cheers
Massimiliano
On 28 Mar, 22:42, Micha³ Piotrowski mkkp...@gmail.com wrote:
2010/3/28 Antoine S. antoine.spodobal...@gmail.com:
Hi,
You can refine the cache (cache.yml) at any level : application,
module, action, component, partial
see the doc
Can you point
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
Hi,
It's in settings.yml
On Mar 23, 5:40 am, DarrenMr mrdla...@gmail.com 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
Hi,
I am using symfony 1.4 latest release.
All the url have ? at the end.
I am using in the template :
?php echo link_to('mylink', 'myroute'); ?
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
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. antoine.spodobal...@gmail.com
wrote:
Hi,
I am using symfony 1.4 latest release.
All the url have ? at the end.
I am using in the template :
?php echo
helpers in the form method?
Thx
On 4 Mrz., 03:05, Antoine S. antoine.spodobal...@gmail.com wrote:
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
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. antoine.spodobal...@gmail.com
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
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
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
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
refClass in my schema.yml ?
Thanx
Haris
Antoine S. wrote:
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
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,
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) russmon...@gmail.com wrote:
Antoine S. wrote:
I used a lot with propel the possibilty to add a criteria
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
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 rsantel...@gmail.com wrote:
Hi, I'm using the sfguard plugin in my application.
My
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
sebastian.goettsch...@googlemail.com wrote:
Hello,
I'm a bit lost
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
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
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
28 matches
Mail list logo