Asynchronous executing is not possible, as there are no threads in PHP.
However you could create a new shell task in your event listener. This
process will run independant from your current PHP process.
Am 08.04.2010 um 18:50 schrieb Dong YANG:
Hello everyone,
I have a question about
Very nice!
I have seen CodeSwarm already for other projects and it is always
impressive :)
Very interesting to see, how the swarm looks like and behaves during
release times.
I recommend an additional english version of this blog post :)
Frank
Am 03.04.2010 um 20:17 schrieb ruslanix:
G
Have a look at this blog post:
http://www.symfony-project.org/blog/2008/06/09/how-to-create-an-optimized-version-of-your-website-for-the-iphone-in-symfony-1-1
I think you should do the same thing as it is shown in the first
"ProjectConfiguration" listing.
Add your own event listener and fix the
Search your complete project for "sf_web_debug". Maybe the other
developer has disabled the web debug toolbar by hand [1] somewhere
else in the code.
Btw "on/off" in yml files would still work. The parser was replaced in
1.3 imho.
[1] with "sfConfig::set('sf_web_debug', false);"
Am 25.
Mmh, i think the only chance getting this working is the way of
defining a different db connection for all of your custom schema.
So the "propel" connection would only point to the guard schema and
your "project" schema to the rest.
This would only work, when you do not use other plugins, which
First of all you should define the list of your files and folders
correctly. The folder definitions (lib, lib/storage ...) are missing
withing your content tag.
Am 12.03.2010 um 14:02 schrieb Yura Rodchyn:
Hi,
I'm write sfUserOnlinePlugin then put package.xml file into root
plugin director
Hi,
I wrote a complete fb application and had a similar problem. The
problem was that the fb requests lost the session in the sf app all
the time. The fb requests do not support cookies and so the normal
session storage does not work.
In my case, I worked with a special session storage act
Hi,
You may have a look at sfPHPUnit2Plugin:
http://www.symfony-project.org/plugins/sfPHPUnit2Plugin
It's written for sf 1.4.X.
Frank
Am 20.02.2010 um 20:50 schrieb Stéphane:
Hi list,
Does someone use this plugin with symfony 1.4.2 ?
Thanks,
Salut,
Est-ce que quelqu'un utilise ce pl
Is $product in your foreach loop a simple array or a doctrine record?
When it is a doctrine record, this would work too (without doing
further db queries):
Frank
Am 08.02.2010 um 01:24 schrieb HiDDeN:
I have this route:
product:
url: /:slug-:id.html
param: { module: info, ac
Hi,
Here is explained, how you could configure memcache for the view
cache or how you can handle memcache using within a singleton using it
for everything:
http://dev.esl.eu/blog/2009/06/05/memcached-as-singleton-in-symfony/
Frank
Am 08.02.2010 um 05:05 schrieb Joshua:
My end goal here
What should this snippet do?
You do not call any setter of your model.
btw:
'.date('Y').'-'.date('m').'-01' -> date('Y-m').'-01' looks better :P
Am 03.02.2010 um 22:23 schrieb Germana Oliveira:
im trying to make the system to save some data, so i do this:
$audiencia = new Audiencia();
You should have a look at this doc page:
http://www.symfony-project.org/book/1_0/19-Mastering-Symfony-s-Configuration-Files#Symfony%20Settings
The logging in production environment has to be enabled via the
"logging_enabled" flag in the settings.yml first. Otherwise the
logging.yml will be ig
Hi,
I have the same problem. The most tricky part in our case is, that the
new symfony rendered parts have to feel and look like the old rendered
parts.
How did you do that in your cases? Did you manage two parallel code
bases for your css and js which did almost the same thing?
Frank
Hi,
Step 1:
Define a custom route for it , e.g:
user_image:
url: /user/image/:id.jpg
param: { module: userImage, action: show }
Then your suggested call would work quite well:
Do not know exactly if this would work either:
Step 2:
Check if your new route would be rewritten to your inde
... or use an according sf plugin, which includes your requirements
(e.g sfJqueryReloadedPlugin, when you use jQuery as js lib).
Drag&Drop and the rest of the js features aren't anymore parts of the
sf core.
Am 10.01.2010 um 14:42 schrieb Thomas Rabaix:
This feature is deprecated. You must
Hi,
Looks like a SQL Problem. You should get a detailed explained error,
when you try to execute this query directly to your database:
ALTER TABLE
sf_guard_group_permission ADD CONSTRAINT
sf_guard_group_permission_permission_id_sf_guard_permission_id FOREIGN
KEY (permission_id) REFERENCES sf_
You can download the package
(http://plugins.symfony-project.org/get/sfJqueryReloadedPlugin/sfJqueryReloadedPlugin-1.2.4.tgz
) and install the plugin by hand. In this way you bypass the
compatibility check and in most of the cases this workaround will
work, until the plugin get some update.
#x27;sfGuardSecurityUser')
> and
> $this->getAttribute('user_id', null, 'sfGuardSecurityUser')
>
>
>
> On Oct 27, 12:11 am, Frank Stelzer wrote:
>> eureka! :)
>>
>> Am 27.10.2009 um 00:06 schrieb lorenx:
>>
>>
>>
;getAttribute('id', null,
> 'MyCustomUser')) {
>$this->user = MyCustomUserPeer::retrieveByPk($id);
>}
> return $this->user;
>}
> }
>
>
> On Oct 26, 11:57 pm, Frank Stelzer wrote:
>> Yes
>>
>> "A
ustomUser() method;
> it seems that it should return a MyCustomUser instance...
>
>
> On Oct 26, 11:45 pm, Frank Stelzer wrote:
>> You do not have to re-implement those methods, as your model class
>> has
>> it already done.
>>
>> You cann access them via:
You do not have to re-implement those methods, as your model class has
it already done.
You cann access them via:
$this->getUser()->getCustomUser()->getEmail();
or add wrapper methods in your myUser class:
myUser:
---
public function getEmail()
{
return $this->getCustomUser()->getEmail()
> here my problem is that it does not seem possible to extend "my custom
> user class" to sfBasicSecurityUser cause it already extends its base
> class!
> i'm stuck here...
1. Take the myUser class and extend it from sfBasicSecurityUser as it
is by default.
2. Leave your MyCustomUser model clas
Hi,
You have to understand the purposes of the two different user classes:
The "myUser" class handles all security and session related stuff. It
does not know any model specific details, as there might be something
like a username field or an email field in some database table.
The "guard"
Hi,
Include a custom partial to your generator.yml. In this template for
this action you could do whatever you want and create the link for
your popup.
list:
display: [id, , _add_comment]
fields:
add_comment:{ label: Add a comment }
templates/_add
Hi,
In my pretty easy CMS application i have written a own configuration
handler, which is called very early during a request.
This request fetches all cms pages from the database and adds all
according routes to the routing.
In this way you could use the link_to and url_for helpers as you are
Nice to see someone, who uses the sfPhpunitPlugin :)
I'll take the isolate option over to the upcoming release, which has
much more functional testing support, than the 1.0.4 version.
Frank
Am 10.09.2009 um 08:56 schrieb Максим Олейник:
>
> I've got this problem too. But i'm using sfPhpunitP
Mmmh, why not this way?
---
$this->listOfMembersWhoMeetSearchCriteria = array();
$c = new Criteria();
$uvaStatusArray = $request->getParameter('uva_status');
if (is_array($uvaStatusArray)) {
for ($i=0; $i < count($uvaStatusArray); $i++) {
if ($i > 0) {
it isn't that difficult:
'with' => "'selectdate='+ this.value"
Am 07.08.2009 um 08:31 schrieb DEEPAK BHATIA:
>
> Hi,
>
> Thanks for your mail.
>
> I am not able to get some_javascript_value.
>
> Please help me in this regard.
&g
You need the "with" parameter.
http://www.symfony-project.org/book/1_2/11-Ajax-Integration#Basic%20JavaScript%20Helpers
remote_function(array(
'update' => 'common_area',
'url' => 'home/showbooking,
'script' => true,
'with' => "'selectdate='+ some_javascript_value"
You can always call:
$browser->test();
to retrieve the lime_test instance and do everything you are used
to from your unit tests.
Frank
Am 05.08.2009 um 21:52 schrieb Alex Gilbert:
>
> I like using the "todo" method in my unit tests as I think of tests I
> want to write. Is there anythin
I would not share the cache folder of a symfony application. The risk
for dead locks is too big, like you have experienced it.
I would do this:
- define the cache folder to a local and not shared directory like /
tmp/someproject/cache
- purge all your caches when you have deployed something (o
b Eno:
>
> On Mon, 27 Jul 2009, Frank Stelzer wrote:
>
>> Memcached is best installed via PECL, as you already pointed out.
>> When you use symfony > 1.2 you do not need a plugin for it.
>> sfMemcacheCache will do the job build in.
>
> Ive installed the memcac
Memcached is best installed via PECL, as you already pointed out.
When you use symfony > 1.2 you do not need a plugin for it.
sfMemcacheCache will do the job build in.
Am 27.07.2009 um 21:56 schrieb Eno:
>
>
> Anyone using these plugins? If so, do you know which PHP extension
> they
> nee
t;/crb/ysearch_flat.php");
>// Set the responseType
>oDS.responseType = YAHOO.util.XHRDataSource.TYPE_TEXT;
>// Define the schema of the delimited results
>oDS.responseSchema = {
>recordDelim: "\n",
>fieldDelim: "\t"
>};
>
>
>
You need the "script" flag in your remote function call, otherwise you
permit to execute javascript within ajax responses:
http://www.symfony-project.org/book/1_2/11-Ajax-Integration#chapter_11_sub_authorizing_script_execution
Am 24.07.2009 um 07:41 schrieb DEEPAK BHATIA:
>
> Hi,
>
> The code
Aeh, the error message tells you, what you have to do :)
Look in web/frontend_dev.php and recognize the "localhost" restriction.
Modify this restricition to your needs.
Frank
Am 15.07.2009 um 21:49 schrieb miza:
>
> Hi Guys,
>
> I am still trying to follow the first steps into symfony, I am
>
Request attribute?
$sf_request->getAttribute('blah', 'default');
Or do you mean a template value?
- Frank
Am 15.07.2009 um 07:31 schrieb Sumedh:
>
> Hi Friends,
>
> I am using Symfony 1.0
>
> I am setting a request attribute in one partial that is included in
> the layout.php. I am trying to
Hi,
We have a more complicated deployment process.
Our requirements:
- One svn server: S-SVN
- One sync server: SVN-SYNC
- dozens of web servers
* We have for every project a seperat checked out (and "installed")
project on S-SVN.
* This checkout is updated on every release
* This fresh code is
Is it so complicated? :P
Just hit the documentation page: http://www.symfony-project.org/doc/1_2/
One of the first sentences points you to Jobeet:
"24 tutorials of 1 hour each, that's all it takes to build up a
complete and effective application from scratch. Definitely the best
way to become
Hi,
overwrite the "setValue" method and save the old value there:
public function setValue($v)
{
$this->setOldValue($this->getValue());
parent::setValue($v);
}
Frank
Am 09.07.2009 um 15:53 schrieb Tom Haskins-Vaughan:
>
> They way I have it set up at the moment, is overriding the save()
Use symlinks to point from your admin directory to your common web dir.
Am 09.07.2009 um 02:49 schrieb Sid Ferreira:
> Guys, how can I achieve the following:
>
> I have a working frontend in the rootdir. And the backend I want to
> be inside the '/admin' directory. It possible, I don't want to
As i do not like filters, I would do it like this:
- Overwrite sfWebResponse::addStylesheet within an custom response class
- Define this response class in the factories
- configure the real assets name somewhere (maybe in the app.yml)
---
public function addStylesheet($file, $position = '', $
Without any more information, we couldn't help you much.
Which PHP Version do you have?
Am 30.06.2009 um 07:08 schrieb Apul:
>
> extension=php_domxml.dll is already uncommented and enable.
>
> Also, While checking using command prompt, I get a list of enabled
> modules:
>
> C:\xampp\htdocs\sf_sa
Hi,
1. Create for every application an subfolder (web_frontend,
web_backend, web_something ...)
2. place the front controllers there
3. rename them to index.php
4. adept the relativ paths in the front controller to the subfolder
5. let the virtual hosts point to the just created subfolders
6. us
Hi,
Using the sfContext instance in the model layer is a very often
discussed topic in the last days. The latest one is this:
http://groups.google.com/group/symfony-users/browse_thread/thread/75b9b1df4398b195?hl=en
Fetching the context in the model is a very bad practise and you
should find
Hi Chris,
The sfJobQueuePlugin will work for some basic actions, like fetching
rss feeds or sending emails. I tried to ported the plugin to an 1.2
version, but i had to stop my work on it then and could not implement
everything i wanted. But it's pretty easy to create your own "rss
feed" ha
Hi Bernhard,
Yes, i am using sfObjectRoutes.
You opened my eyes! Your trick is very nice.
I really didn't think of the solution passing the sfUser object "back" to
the routing.
I searched for the link between routing and sfContext|sfUser all the time,
without passing "additional" instances around.
Hallo,
i am on the implementation of my own routing classes, where i want to
fetch some objects (i don't use an ORM) in actions.
Now i have a problem, which Fabien has already solved here:
http://www.symfony-project.org/plugins/api/1.0/profile.xml
The API fetches some data, dependant on the auth
This is the stable version: http://svn.symfony-project.com/tags/RELEASE_1_2_7/
If a new 1.2 version is released, you have to change your external
therefore on your own. Just change your external to the newer tag and
you are done.
Am 10.06.2009 um 17:22 schrieb Joan Teixidó:
> Hi,
>
> i us
Hi,
> url: /getarticle_by_id/:id/:page
> param: { module: xxx, action: zzz }
->
> url: /getarticle_by_id/:id/:page
> param: { module: xxx, action: zzz, page: 1 }
This will do it, however the routing will then generate links in the
form: "/getarticle_by_id/123/1", however "/getarticle_by_id/12
When you do not have overwritten the sfGuardFormSignin then your logic
fails due to the post validator of this form.
Look in "sfGuardValidatorUser" and it should open your eyes. This
validator fetches an existing user from the database and returns the
cleaned data, when no user could be foun
4, 2009 at 19:15, Frank Stelzer wrote:
>
>>
>> I prefer memcache too. You can define in your factory.yml that symfony
>> should use memcache for view caching and boom its even faster than
>> normal file caching.
>> With little effort you can use one instance o
I just even got this error message, when i tried to post a comment to
the symfony blog
(http://www.symfony-project.org/blog/2009/05/08/be-part-of-the-symfony-plugins-system
).
After refreshing the page it worked again. Any idea?
Frank
Am 28.05.2009 um 17:00 schrieb symfony.con.spir...@gma
I prefer memcache too. You can define in your factory.yml that symfony
should use memcache for view caching and boom its even faster than
normal file caching.
With little effort you can use one instance of Memcached for view
caching and your custom queries.
Frank
Am 04.06.2009 um 21:00 sc
Ok, then no chance to give more support, when you do not provide more
information about your schema.
You could have a typo somewhere or whatever
Frank
> yes in that exact order.in the same file, but few comments between them
>
> On Thu, Jun 4, 2009 at 02:41, Frank Stelz
Hi,
Is the order of the tables like in your example? Are the tables split
up into different schema files?
Frank
Am 04.06.2009 um 05:56 schrieb Sid Ferreira:
> Hi guys!
> I can't share the content of my schema, but, it happens that it
> simply can't locate one of the tables.
> The structure
This is symfony offtopic.
Check your resulting code:
"complete:function(XMLHttpRequest, textStatus){updateJSON(request,
json);"
That does totally makes no sense.
Try something like
> echo jq_link_to_remote('Refresh the letter', array(
> 'url' => 'friend/test',
> 'dataType' => 'j
Check the write permissions of the /var/lib/php/session folder. I
assume that only the web user can write there.
Am 02.06.2009 um 05:45 schrieb ravi:
>
> here is my code for the symfony task... i want to render the partial
> in symfony generated task... so for that i have included few lines f
Check
- if your .htaccess works
- if the web/sf directory is accessible (often symlinked or copied)
- if other web folders of needed plugins are accessible (php symfony
plugin:publish-assets)
Am 02.06.2009 um 09:25 schrieb Jan Albert La Rosa:
> Also when i click the drop down it should put som
Maybe the route to new "getting stared" tutorial is broken, which is
linked on the installation page.
If you need installation information, you can get them here:
http://www.symfony-project.org/getting-started/1_2/en/
- Frank
Am 31.05.2009 um 13:41 schrieb alvaro:
>
> Hi,
>
> I'm trying to a
Hi,
custom config handlers are not parsed automatically.
You have to include this config somewhere first.
I just tested it and added this in an action:
---
public function preExecute()
{
include(sfContext::getInstance()->getConfigCache()-
>checkConfig('config/my.
Adding javascript events is a much better way and should be prefered.
But talking about the original problem again:
That should do the trick:
---
"javascriptFunction(); return false;") ?>
---
A "href='#'" will be still generated, but because of the "return
false" statement, the browser will
Do not know if i got your idea, but maybe this helps. Save the
original values in the setter of the model. This will only work, if
the model was already hydrated:
private $originalTitle = '';
public function setTitle($v)
{
$this->originalTitle = $v;
return parent::setTitle($v);
}
This happens after the latest routing changes, i think. I still have
to fight against those changes for myself, too :P
Example:
<= sf 1.1(?)
link_to( 'Some cool news', 'news' );
--> would have generate a link to: "news/index" or only "news"
sf 1.2
link_to( 'Some cool news', 'news' );// same
Define your custom error module and log the actions which could not be
reached anymore. Otherwise you have to follow all links of your
functional tests and check if the next pages are returning a 200
response, too.
Am 25.05.2009 um 22:05 schrieb Lawrence:
>
>
> Recently, I was working on
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
> Thanks.
>
> On Mon, May 18, 2009 at 5:28 PM, Alexandru-Emil Lupu > wrote:
> do you have it developed?
> maybe you could upload it as pear package somwhere else...
> alecs
>
>
> On Tue, May 19, 2009 at 12:21 AM, Frank Stelzer
> wrote:
> I wanted to branch this plugi
This is your session id. Define php/apache that your session handling
is "only cookie" based and your done.
Am 21.05.2009 um 17:14 schrieb saturn1...@hotmail.com:
>
> Hello, sometimes i have this king of link in my urls :
>
> www.site.com/page?symfony=d21599d476b727cfb571f10668bcf1b5
>
>
> Ho
Hi,
you have to decorate your form on your own in this case.
More details here:
http://www.symfony-project.org/forms/1_2/en/03-Forms-for-web-Designers#chapter_03_sub_using_the_rendererror_method_on_a_field
- Frank
Am 20.05.2009 um 07:39 schrieb ctrlming:
>
> in the template, I got some questi
The form classes have to be build first.
php symfony propel:build-model
php symfony propel:build-forms
php symfony cc
php symfony propel:generate-module
Am 19.05.2009 um 18:34 schrieb Maras:
>
> i did try to "automatically generate a module for a given model that
> provides basic manipula
I wanted to branch this plugin and make it compatible to 1.2. However
my contribution request is open since days and i do not have commit
permissions :/
Am 18.05.2009 um 22:51 schrieb Alexandru-Emil Lupu:
> HI there!
> do you know a simple forum application compatible with symfony 1.2 ?
> i
Let me see your current used code please. Maybe there is still a
mistake in binding request values to your form.
Am 15.05.2009 um 14:29 schrieb Reynier Perez Mira:
>
>> Your form is invalid, because your bind call is not correct. A
>> missing
>> array_merge call is missing there.
>> Try this
Did you check, if you are using sfContext in your child model classes
on your own?
Something like this here would break your task:
public function save(PropelPDO $con = null)
{
// accessing sfContext here will break task
sfContext::getInstance()->getLogger()->blah();
r
It is a interpreter "problem". " xml version="1.0" encoding="utf-8" >"; ?>
- Frank
Am 15.05.2009 um 22:14 schrieb xhe:
>
> I want to create an atom feed, the first two lines are
>
>
> http://www.w3.org/2005/Atom";>
>
>
> But whenever I browse it, I always got this error
>
> Parse error: synta
Hi,
Your form is invalid, because your bind call is not correct. A missing
array_merge call is missing there.
Try this one:
> protected function processForm(sfWebRequest $request, sfForm $form) {
>$form->bind( array_merge($request->getParameter($form->getName(),
> array() ), $request->ge
Hello,
I want to write an article about best practises for performance,
clustering etc. in symfony. I think there isn't enough information out
there, which is talking about these topics.
You all know the official performance documentation page
(http://www.symfony-project.org/book/1_2/18-Perfo
This listener does not exist for the sfGuardPlugin.
It sounds, that you have defined your own listener without providing
static access to it.
Am 14.05.2009 um 02:26 schrieb g0d br:
> genExtraListeners::listenToPreExecute
--~--~-~--~~~---~--~~
You received thi
Hi,
just a untested try:
$data = $request->getParameter( 'picture' );
$data['filedata'] = $_FILE['Filedata'];
$this->form->bind( $data );
Am 09.05.2009 um 13:10 schrieb SNake!:
>
> Hi guys,
>
> Is there a way to bind a request field to a object field in symfony
> form?
>
> Here is my problem
Hi,
Can you show us the content of your plugin dir? Maybe you didn't
installed the DBFinderPlugin correctly.
Cheers,
Frank
Am 06.05.2009 um 14:11 schrieb maithili.k:
>
> I am getting the error when i run http://localhost/sf_sandbox/web
> Fatal error: Uncaught exception 'InvalidArgumentExceptio
Sure,
//filter:
$this->context->getRequest()->setAttribute( 'foo', 'bar' );
//action:
$request->hasAttribute('foo');
$request->getAttribute('foo');
Do not mix up request attributes with normal request parameters!
Cheers,
Frank
Am 06.05.2009 um 09:00 schrieb Jan De Coster:
> Hi,
>
> Is there
Hi,
the jquery datepicker is a component of jquery ui. You only load the
basic jquery lib in your example and the ui stuff is missing.
Check this page http://jqueryui.com/, click on "build custom download"
and on the next page you see another download button.
Download this complete package and
Hi,
the sfExtraWidgetsPlugin is not bundled with the jquery lib and so it
is not loaded automatically.
Therefore you have to define and load the according jquery and jquery
ui assets.
Example within PHP (but you should better define this assets in the
view.yml):
$response->addStyleSheet( '
Ok ignore it, layer 8 :)
"init-admin" task is your friend and not "generate-admin". I really do
not know, why i typed generate-admin in my shell :)
Am 17.12.2008 um 23:59 schrieb Frank Stelzer:
>
> Hello,
> I have two questions about changing the field type
Hello,
I have two questions about changing the field type in the 1.2 admin
generator:
1.
I am used ( < 1.2) to configure "read only" timestamp fields in the
admin generator like this:
---
edit:
fields:
created_at: { type: input_tag, params: disabled=true }
updat
Mmmh, no one (again) ?
Does nobody else have a problem with the no_script_name settings and
the url_for function in 1.2?
Am 05.12.2008 um 10:19 schrieb Frank Stelzer:
>
> Hello,
> i currently try(!) to upgrade my current 1.1 project to 1.2 (stable).
> I read the changelog, the wh
Hello,
i currently try(!) to upgrade my current 1.1 project to 1.2 (stable).
I read the changelog, the what's new and the upgrade tutorial, but i
can not fix my url_for problem.
Currently i have this setting (standard one):
---
dev:
.settings:
error_reporting:
web_debug:
es already. We even have the problem that sometimes an error
occures while a web server generate its cache files and the web server
is broken then, due to our heavy traffic.
Am 11.11.2008 um 22:41 schrieb Eno:
>
> On Nov 11, 2:49 am, Frank Stelzer <[EMAIL PROTECTED]> wrote:
>
>
Hi all,
we are using one symfony application in a web cluster (dozens of web
servers). All web servers do not share its cache folders, because
sharing would be a bottleneck and would make our application slower
and besides we do not want to use shared folders at all.
However every web server
Hi,
same opinion from my side. We use smarty in the office and we are
faced very often with smarty limitations which are very annoying.
Another thing is the lack of inheritance or customization
possibilities of smarty.
Try to add a custom handler for the compiling which does not use the
pri
I would create a new subdomain and run the new symfony stuff there,
when its only for administration purposes.
Am 20.09.2008 um 22:47 schrieb torso:
>
> Hi
>
> I need help with synchronization. I have a project which is done with
> clear php, with out any framework. Now I have done simple adm
You have to assign all your custom queries to Propel 1.3 syntax.
CreoleStmt:next() for example to PDOStatement::fetch()
Read the documentation about PDO for more information:
http://propel.phpdb.org/trac/wiki/Users/Documentation/1.3/Criteria
http://us.php.net/pdo
Am 24.05.2008 um 09:05 schrieb
Uli,
there is no huge different between interacting with the model layer
in a filter or in a action.
Have a look at this filter for an example:
http://trac.symfony-project.com/browser/plugins/sfGuardPlugin/lib/
sfGuardBasicSecurityFilter.class.php
As you want to do some performance tweaks i
In case you use propel:
Use timestamp instead of datetime. Propel supports date, time and
timestamp as date&column types:
http://propel.phpdb.org/docs/user_guide/chapters/ColumnTypes.html
And it may read:
> start_date:timestamp
You missed the ":"
- Frank
Am 07.11.2007 um 10:25 schrie
{
> $this->setLayout('mylayout');
> }
> }
>
>
> sfDimensionsPlugin changes the lookup paths for all files, not just
> the the
> layout, it is probably over kill for what you are trying to do.
>
> Cheers,
>
> Dustin
>
> On 11/4/07 5:00 PM, "Frank St
Hi,
I have a understanding problem with sfDimensionsPlugin. I want to set
a dimension, within a preExecute action method, to be able to call a
complete different layout.php than the rest does.
Example
my_module1 -> should always be rendered with /app/templates/layout.php
my_module2 -> should
There is a ":" missing
> new_registration: <---
> url: /:sf_culture/signup
> param: { module: user, action: signup }
Am 02.11.2007 um 13:09 schrieb Mohammad Asif Ali:
> new_registration
> url: /:sf_culture/signup
> param: { module: user, action: signup }
--~--~-~--~-
What is the current state of this plugin?
Is there any chance to contribute? I have to implement common shop
functionality within the next days and do not want to reinvent the
wheel.
Please let me know, how you discuss this topic, beside this mailinglist.
- Frank
Am 04.10.2007 um 20:54 sch
>> but many problems with other plugins as well (e.g. the nested set
one)
Propel 1.3 has nested set support natively, so the nested set plugin
is absolete. I use Propel 1.3 in a non-symfony application and it
works very well.
The disadvantage of Propel 1.3 is currently the lack of debug
> var json=transport.responseText.evalJSON(false);
Did you changed this flag to true already?
JS is not evaluated by default after a remote request.
Am 08.10.2007 um 17:08 schrieb [EMAIL PROTECTED]:
>
> Hi,
> I got a problem with prototype Window.
> My goal is to call a PW with a form.
> The fo
I use Propel 1.3 rev701 standalone in an none symfony project and i
like it so much better than 1.2.
However, the nested set support has still some bugs, but the rest
works very fine.
I decided against doctrine because of the lack of stability.
I didn't tested Propel 1.3 with symfony, but i w
1 - 100 of 169 matches
Mail list logo