Not sure what you are doing, (if it's just one variable) using the
session like the guys have described above is probably easiest, but if
you wanted to do anything more complex, you might want to check out
using slots for setting up dynamic areas in your layout which can be
populated by each actio
We usually change the schema and then do a propel build model and
prepare an SQL script that changes the database to
the desired structure. One of the elements I was missing when using
MySQL is a nice schema synchronization tool which allows
the developer to load the schema from the development an
I am a newbie in symfony, recently I am studying symfony by the jobeet
tutorials, but I am used to creating partitioning for large table to
improve performance. wish somebody would help me with this question,
thx a lot.
--~--~-~--~~~---~--~~
You received this messa
Everytime a new request is made with sfTestFunctional, a new
sfEventDispatcher is created.
I'm trying to test that an event is fired when certain data is posted.
here's the test:
$listener = new Listener();
sfContext::getInstance()->getEventDispatcher()->connect('user.register',
array($liste
2009/5/24 chrisyue
> I am a newbie in symfony, recently I am studying symfony by the jobeet
> tutorials, but I am used to creating partitioning for large table to
> improve performance. wish somebody would help me with this question,
> thx a lot.
No ORM I know can do this.
I'd suggest creating a
I have a page which uploads some file. I need to return JSON response
to the page after file is uploaded. I have the next code in action:
$this->getResponse()->setHttpHeader('Content-Type','application/json;
charset=utf-8');
$result = array(
"success" => true,
"picture" => array(
I did some research and it turns out that the master solution in my
earlier response should work. Just make sure that your application
doesn 't use 'unnamed insert/update', always use the column names for
update/insert.
More information on the mysql performance blog:
http://www.mysqlperformance
I needed this in my application and couldn't find an available solution, so
thought it might be useful for others too:
http://snippets.symfony-project.org/snippet/339
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"
Hi there,
I want to put a global (can be used by all modules in one application,
but not belongs to any module) component into a layout.php. Can I do
that?
If I can, where should I put this component file?
Regards,
Jishi
--~--~-~--~~~---~--~~
You received this mes
Thanx for your reply.
So how about creating patition manually, I mean for example I split a
very large user table `my_users` to 100 tables called `my_users_00`,
`my_users_01`, ... `my_users_99`, the last 2 number of the user_id
decide which table it would belong to. I can easily define them in
sc
Hi,
i'm trying to install sfSimpleCMSPlugin in Symfony 1.2, but the
follow error is generated:
You try to install a symfony 1.0
plugin.
Please read the help message of this task to know how to install a
plugin for the current version of symfony.
I've been searching in groups and forums wit
Yes you can, put it in apps/yourapp/templates/_myglobaltemplate.php and
include it in layout.php (or any other view/template) like this:
The important part is the "global" bit.
Also note though that layout.php gets run AFTER your actual view file.
2009/5/25 Stephen
>
>
Oh, I just read your question again, you said component, not partial, sorry.
So the answer is... I'm not sure.
2009/5/25 Nickolas Daskalou
> Yes you can, put it in apps/yourapp/templates/_myglobaltemplate.php and
> include it in layout.php (or any other view/template) like this:
>
>
>
>
Hey,
Thanks very much for your reply. Partial in layout is also what I'm
looking for.
Still waiting for the answer of component.
Regards
On May 25, 1:13 pm, Nickolas Daskalou wrote:
> Oh, I just read your question again, you said component, not partial, sorry.
>
> So the answer is... I'm not
A component does not make sense without any module. It has to execute
some logic and this logic should be placed in some module (otherwise
you should prefer using a partial). When this logic does not match any
other used module, then create a new "internal" module, where you
place your "gl
Hi
how we can send email in a batch script using sendEmail
method.And how we can set request parameter for this.I am using
symfony 1.0.
Thanks,
Kusum
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"symfony use
16 matches
Mail list logo